LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-28-2019, 10:19 PM   #1
removed001
Member
 
Registered: Nov 2011
Location: Germany
Distribution: Puppy Linux (my own builds)
Posts: 116

Rep: Reputation: 35
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...
 
Old 03-29-2019, 02:38 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ nice hack.
 
Old 04-01-2019, 05:11 AM   #3
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
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.
 
Old 04-02-2019, 11:57 AM   #4
removed001
Member
 
Registered: Nov 2011
Location: Germany
Distribution: Puppy Linux (my own builds)
Posts: 116

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by Mike_Walsh View Post
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.
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!
 
Old 04-02-2019, 12:54 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by RSH View Post
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...

Last edited by ondoho; 04-02-2019 at 12:55 PM.
 
Old 04-02-2019, 02:48 PM   #6
removed001
Member
 
Registered: Nov 2011
Location: Germany
Distribution: Puppy Linux (my own builds)
Posts: 116

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by ondoho View Post


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...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i add a interface in vlc since i downloaded the vlc from root? rohanshrestha Linux - Newbie 6 09-10-2013 09:03 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
puppy linux and puppy.bat livepie22 Puppy 5 11-09-2006 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration