LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2005, 12:21 PM   #1
xanimal
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
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
 
Old 06-10-2005, 12:24 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
use sudo
http://www.courtesan.com/sudo/
 
Old 06-10-2005, 12:28 PM   #3
kiss_linux
Member
 
Registered: Mar 2005
Location: Calgary Canada
Distribution: Mandriva 10 / LE 2005
Posts: 46

Rep: Reputation: 15
OR

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

OR

Kmenu -> Run command -> "kdesu programname"

Last edited by kiss_linux; 06-10-2005 at 12:32 PM.
 
Old 06-10-2005, 12:32 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
Old 06-10-2005, 01:53 PM   #5
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
The syntax on my SUSE 9.3 / KDE 3.2.1 box is...
kdesu -u root -c <program location>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
automatically launching programs during start up nanjil Linux - Newbie 2 08-09-2005 11:17 PM
programs and windows launching on bootup ergo_sum Linux - Newbie 6 05-03-2005 09:18 PM
icewm and launching programs six6 Debian 2 10-21-2004 03:02 AM
Launching Programs From the Command Line Chryzmo Linux - Software 5 03-03-2004 08:00 PM
Mandrake 9.1/KDE launching programs slow ShakyJake Linux - General 11 08-02-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration