LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   Patch for VLC to run as root in Puppy (https://www.linuxquestions.org/questions/puppy-71/patch-for-vlc-to-run-as-root-in-puppy-4175651110/)

removed001 03-28-2019 10:19 PM

Patch for VLC to run as root in Puppy
 
Hi.

In my new LazY Puppy Art Studio 64 I have VLC built in which needed some modification, as newer VLC seems refuse to run as root.

So, I patched the VLC binary to make it accept to run as root.

Since I've stumbled over some posts lately over the web on this issue, I thought it could be a good idea to post the code here, to make other Puppy users able to run VLC as root in their different newer Puppies.

Code:

sed -i 's/geteuid/getppid/' /usr/bin/vlc
This has worked for me in my Art Studio 64 as also in BionicDog the 32bit version I'm using sometimes. I received this code snippet some time ago by fredx181, the creator of BionicDog.

Hope this may help anyone...

ondoho 03-29-2019 02:38 AM

^ nice hack. :hattip:

Mike_Walsh 04-01-2019 05:11 AM

Personally, I prefer SMPlayer, but.... That's a nice 'workaround', Lazy. Ver-r-ry neat.

We're some awkward buggers, aren't we, running everything as 'root'? ;)


Mike. :hattip:

removed001 04-02-2019 11:57 AM

Quote:

Originally Posted by Mike_Walsh (Post 5979987)
Personally, I prefer SMPlayer, but.... That's a nice 'workaround', Lazy. Ver-r-ry neat.

We're some awkward buggers, aren't we, running everything as 'root'? ;)


Mike. :hattip:

Hi Mike.

The code snippet I got from murga-forum member fredx181 when I was trying to install VLC into my BionicDog.

And yes, running everything as root rules!

In 2011 I got Kubuntu 11.04 installed on USB flash, and it was just horrible crap to open a terminal and to start the file manager by using sudo, each time I wanted to modify the system. Later I tried to clone the installed Kubuntu to a different USB flash drive to not to repeat all the work done again. But this didn't work, as the cloned version (used dd) now wanted everything to be run by sudo.

I don't understand people fearing to run as root, and I hate people telling others running as root would be most dangerous. Simply I really laugh at them!

Poor and phony Guys! :)

ondoho 04-02-2019 12:54 PM

Quote:

Originally Posted by RSH (Post 5980446)
I don't understand people fearing to run as root, and I hate people telling others running as root would be most dangerous. Simply I really laugh at them!

Poor and phony Guys! :)

:(

https://web.archive.org/web/20160608...hood.com/root/

yes, it's all about power, about rambo, big guns and killing commies. it's about being a man.

me, i'm just poor and phony...

removed001 04-02-2019 02:48 PM

Quote:

Originally Posted by ondoho (Post 5980457)
:(

https://web.archive.org/web/20160608...hood.com/root/

yes, it's all about power, about rambo, big guns and killing commies. it's about being a man.

me, i'm just poor and phony...

No, it's just not about power, not about Rambo, big Guns or killing Communists - at least from my point of view it's not. I honestly disagree with Stalman more often than you may think of.

It's more like this: those whom looking for safety will find shackles, chains and jail bars.

Take a look around you and you'll find them everywhere...


All times are GMT -5. The time now is 09:53 PM.