LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-30-2004, 03:39 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
X server? $DISPLAY? Now what?


Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

x11drv: Can't open display: :0.0
Please ensure that your X server is running and that $DISPLAY is set correctly.


This is what I get when I try to install some windows software using wine.
What does it mean and how do I fix it?
 
Old 05-30-2004, 03:58 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That means that you're trying to run a program that
requires X as a different user than the one whose
X display you're working on. Quick & dirty solution:

As the owner of the X session: xhost +localhost
As the user who wants to install: export DISPLAY=localhost:0.0


Cheers,
Tink
 
Old 05-30-2004, 04:04 PM   #3
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
Thanks Tink That seems to do the trick *bows for the guru*

That's probably the first answer I've gotten that solved a problem at first try

Last edited by NonSumPisces; 05-30-2004 at 04:05 PM.
 
  


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
X server display settings lm317t Linux - Software 3 09-21-2005 10:05 PM
display server load newuser455 Programming 3 06-21-2005 09:43 PM
FC3 - Which X server / display driver mackayr Fedora 4 02-07-2005 02:27 PM
X-server display timeout? batchman Linux - Software 0 09-30-2004 04:49 PM
X-server display-timeout batchman Linux - Software 0 08-22-2004 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration