Enter into terminal:
Code: Select all
sed -i 's/geteuid/getppid/' /usr/bin/vlc
Mine does run as root after executing this action.
Don't know, probably your VLC is under a different path?
Moderator: fredx181
Code: Select all
sed -i 's/geteuid/getppid/' /usr/bin/vlc
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
That is not correct , if that were the case then quick-remaster wouldn't do a good job.backi wrote:(after each Quick-Remaster it will be gone....and you have to "sed -i 's/geteuid/getppid/' /usr/bin/vlc
vlc"--- again and save it.)
I got this command from fredx181 who has posted here already.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
Ah, OK, looks like you have done a setup where it could happen, but don't fully understand.EDIT:
Was not completely wrong......
Just a guess.fredx181 wrote: ↑Sun Sep 13, 2020 4:55 pm Hi backi,
Ah, OK, looks like you have done a setup where it could happen, but don't fully understand.EDIT:
Was not completely wrong......
I tried to reproduce, starting BionicDog with vlc.squashfs in casper/base
Ran "sed -i 's/geteuid/getppid/' /usr/bin/vlc" and ran quick-remastergui (latest version 1.2.3, you used that too ?) with checked "Disable extra squashfs modules in casper by renaming to .bak" you did that too ? (probably not, and that might explain the different result)
Then at reboot vlc.squashfs is renamed to vlc.squashfs.bak, so disabled and 01-filesystem.squashfs is containing the vlc binaries and vlc runs at root.
Perhaps you did different, can you say how ?
Fred
fredx181 wrote:
Hi Dan, works well using sed:
http://murga-linux.com/puppy/viewtopic. ... 748#992748
Fred
Thanks.
I was able to use this to create an .squashfs file by creating it using apt2sfs, running the script command at your link to patch /usr/bin/vlc, and then using edit-sfs to cut and paste the patched /usr/bin/vlc file into the .squashfs file.
No...no.. did not check "Disable extra squashfs modules in casper by renaming to .bak".Ran "sed -i 's/geteuid/getppid/' /usr/bin/vlc" and ran quick-remastergui (latest version 1.2.3, you used that too ?) with checked "Disable extra squashfs modules in casper by renaming to .bak" you did that too ? (probably not, and that might explain the different result).
You could do it in one step using repo2sfs.Thanks.
I was able to use this to create an .squashfs file by creating it using apt2sfs, running the script command at your link to patch /usr/bin/vlc, and then using edit-sfs to cut and paste the patched /usr/bin/vlc file into the .squashfs file.