LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2005, 03:01 AM   #1
atifrafi
LQ Newbie
 
Registered: Jun 2005
Location: Pakistan
Posts: 1

Rep: Reputation: 0
xhost+ Unable to open Display


I am using Red Hat Enterprise Linux 4.0 and I have ran the following command successfully:

export DISPLAY=localhost:0.0

but after this, when I ran the xhost +, it gave the following error:

====================================================

_X11TransSocketINETConnect() can't get address for localhost:6000: Temporary fai
lure in name resolution
xhost: unable to open display "localhost:0.0"

====================================================

Please help.

Regards
 
Old 06-26-2005, 12:22 PM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
When this happens to me, it'¡s because i'm not using the account of the user logged in the X session. I mean: Sometimes, I log into my KDE session with my mortal user, I open the terminal, su to root, and then if I try to xhost+ a host, it could fail. If it does, I open another terminal, and from my mortal user, I do the xhost+ and it normally works. Hope that works for you too.
 
  


Reply



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
unable to open display mrhldjc Fedora 1 04-04-2005 06:29 AM
xhost: unable to open display d_kote23 Fedora 1 06-03-2004 08:40 AM
xhost: unable to open display aqoliveira Linux - Networking 4 12-12-2003 04:36 PM
Startx unable to open display? PF_The_Wall Linux - Software 1 11-22-2003 01:03 PM
criticial: unable to open display graffitici Linux - Software 1 11-19-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration