LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Console Question (http://www.linuxquestions.org/questions/linux-newbie-8/console-question-40626/)

snocked 01-07-2003 03:44 PM

Console Question
 
Why is it that when I type xmms in super user console I get this error:

Password:
linux:/home/snocked # xmms
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

** CRITICAL **: Unable to open display
linux:/home/snocked #

It works fine and loads xmms in bash.

stickman 01-07-2003 04:27 PM

I'm assuming that you initially logged into X as a non-root user and then su'd to root. If this is the case, root does not have permission to write to the X display. To fix, use "xhost + localhost" before you su.

snocked 01-07-2003 04:29 PM

Yes, I was logged into snocked, me, which isn't root, and opened the super user mode konsole. Thanks for the help. I wanted to make sure nothing was wrong.


All times are GMT -5. The time now is 01:53 AM.