-   Linux - Newbie (
-   -   Console Question (

snocked 01-07-2003 04:44 PM

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

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 05: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 05: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 06:40 PM.