LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-07-2005, 05:17 AM   #1
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
How to enable root to run graphical application in user log in


hi,

i would to to know how to enable root to run graphical application in user log in?
 
Old 03-07-2005, 06:11 AM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

i don't know if i understood correct.
supposing a terminal environment, you can
Code:
xhost +
export DISPLAY wherever:0.0
now you call from the terminal your application.
or if you mean, with loggin in as root, you should take a look at
Code:
man sudo
i am not sure if i understood well your question..
hope it helps...

regards

slackie1000
 
Old 03-07-2005, 06:20 AM   #3
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Original Poster
Rep: Reputation: 30
sorry for the typo error, what i trying to do is

1. log in as normal user and startx
2. open terminal and su - root
3. run X application e.g xmms

Last edited by xgreen; 03-07-2005 at 06:22 AM.
 
Old 03-07-2005, 06:34 AM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

clear now!
you only need to xhost + && export DISPLAY .
for the correct syntax i suggest a look at the man page of your shell.
ex
Code:
export DISPLAY=YOUR_HOST:0.0
should work for bash.

regards

slackie1000
 
Old 03-07-2005, 06:39 AM   #5
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Original Poster
Rep: Reputation: 30
export DISPLAY=YOUR_HOST:0.0 working fine..

thx
 
  


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
HOWTO Run as root in graphical environment fedix Fedora 7 10-14-2005 02:39 PM
Enable to start graphical root-tools xpucto Linux - Software 1 09-19-2005 12:39 PM
Enable to start graphical root-tools xpucto Fedora 0 09-19-2005 07:51 AM
log in to root in graphical-suse 9.1 master SUSE / openSUSE 7 05-19-2005 11:50 AM
How to Run an Application as root without a log off? shassouneh Linux - Software 16 06-03-2002 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:50 AM.

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
Open Source Consulting | Domain Registration