Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Autostart as root, how?
Hi,
I use ks3switch to switch between my laptop and TV screens. It needs root permissions to work and I would like to set it up to autostart with root permissions. How would I do that? I'm new to KDE and Linux.
Chees for any help.
This post has been edited 1 times, last edit by "fatski" (Jan 21st 2007, 6:43pm)
RE: Autostart as root, how?
You can use sudo for that. Make sure sudo is configured correctly and modify the *.desktop file in your Autostart folder to run it with sudo.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)
Hi Again,
I've been trying this (bear in mind I'm totally new to Linux). I've edited my sudoers file and if I type
sudo ks3switch
at the terminal it works fine, however when I edit the .desktop file in Autostart to read the same as the above nothing seems to happen either when I start KDE or double click the file. It works OK if I tick the "Run in Terminal box" in advanced options, but I don't really want to have a terminal open up just to get it going, as the whole point of it is to avoid having to go intop a tereminal in the 1st place. Any ideas?
Cheers