Hi all,
I wanna start vdr as root with -P'softhddevice -d :0.0 -f -v vdpau -a hw:0,7 -D' at openbox startup on Ubuntu distro.
How can i do that properly please ?
[SOLVED] SoftHdDevice : autostart with openbox
-
-
-
My root don't have .config folder, tried to create one but don't work.
My user's openbox autostart file is running at startup but I can't use sudo to start vdr with root privileges with it. -
Sure ".config" is only valid for the starting user, but I don't see a real reason why you should run VDR as root. I'm using Ubuntu since many years and don't do it. Ok I'm using VDR from my own package archive, starting it with the provided common start scripts.
You forgot to mention with any word, that openbox doesn't run as root in your installation. But think about how should somebody help here, having just a part of the information to get a maybe proper answer ...
In your case you need to write another script, started by autostart, which does run VDR. You need to place VDR in sudoers and VDR itself may complain, that it'll be run as root ...
Regards
fnu -
but I can't use sudo to start vdr with root privileges with it.
You can allow your user to execute a certain script with sudo but without the need to enter a password (so it works in an autostart script):
-
Yeah, visudo was the solution.
Thank you for your answers.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!