Saturday, November 15, 2008

Running X programs as root

NOTE: if you read the tutorial and are still experiencing difficulties and would like help, you are asked to start a new topic on the forums.
Please do NOT reply to this thread to ask a technical question. Replies to THIS thread should be corrections and enhancements on the tutorial/howto only.
Thanks in advance for your co-operation.
LinuxForums.org

------------------------------------------

I am sure there are many who have this same problem. Not being able to run X programs as root because you don't have authority to use X server.
There are always many suggestions regarding the xhost + commands but there is an easier way to get around this (works every time for me)
Run the program as your normal user like so
 
Code:
su "-c <program>"
You then give root password and away you go

No comments: