LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-07-2003, 04:44 PM   #1
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
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.
 
Old 01-07-2003, 05:27 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
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.
 
Old 01-07-2003, 05:29 PM   #3
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Original Poster
Rep: Reputation: 30
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.
 
  


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
ati driver question and console question kholdstayr Slackware 2 07-18-2005 04:30 PM
question about console wukilla Slackware 2 12-12-2003 03:31 PM
Console question. Need help. slamp Linux - Software 3 11-20-2003 04:51 PM
console question jayakrishnan Linux - General 2 07-19-2003 12:01 PM
Simple console question FredrikN Linux - General 3 10-21-2002 03:29 PM


All times are GMT -5. The time now is 10:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration