LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Launching Programs from KDE as SU (https://www.linuxquestions.org/questions/linux-software-2/launching-programs-from-kde-as-su-332239/)

xanimal 06-10-2005 12:21 PM

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

foo_bar_foo 06-10-2005 12:24 PM

use sudo
http://www.courtesan.com/sudo/

kiss_linux 06-10-2005 12:28 PM

OR

Kmenu -> Run command -> Options -> Run as a different user

OR

Kmenu -> Run command -> "kdesu programname"

reddazz 06-10-2005 12:32 PM

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.

unreal128 06-10-2005 01:53 PM

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.