Launching Programs from KDE as SU
I am trying to figure out how to lauch a program from a KDE menu, that lauches the program as su/root. Basically the problem I am running into is that Qjackctl when lauched as a regular user, errors when trying to start jackd. However if you lauch it from konsole as su or log in as root, it runs it perfectly and starts jackd with no problem.
I am running Slackware 10.0 with slapt-get. As soon as I did the dist-upgrade this problem started. Any help?? Steve |
use sudo
http://www.courtesan.com/sudo/ |
OR
Kmenu -> Run command -> Options -> Run as a different user OR Kmenu -> Run command -> "kdesu programname" |
Use the "kdesu" command when you create your launcher. Instead of putting the command as just "qjackctl" in your launcher, you woud use the command "kdesu qjackctl". Before the application runs, the user will be asked for the root password and when it been correctly entered, the app will run.
|
The syntax on my SUSE 9.3 / KDE 3.2.1 box is...
kdesu -u root -c <program location> |
All times are GMT -5. The time now is 12:14 AM. |