LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-31-2011, 03:17 AM   #1
garethnsolomons
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Rep: Reputation: 0
Unhappy Can't Open Display localhost:0.0


I'm trying to connect to my linux server but I'm having some major problems. The server had OEL 5 installed and my local pc is running Windows XP. I'm using PuTTy to connect to the server with Xming running on my loacl machine. I login as root and run the following command -

export DISPLAY={ipaddress}:0.0

I then run xclock and get the following error -

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

Error: Can't open display: {ipaddress}:0.0

The strange thing is that on my bosses pc (who has got almost the exact same setup ie. PuTTy & Xming) is works perfectly.

Please help.

Thanx in advance.
 
Old 03-31-2011, 04:06 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Have you enabled X-forwarding on your server?
You do that in /etc/ssh/sshd_config:
X11Forwarding yes
 
Old 04-01-2011, 12:54 AM   #3
garethnsolomons
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Yep. Like I said, works perfectly on my bosses pc but not on mine.
 
  


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
Can't open display: localhost:0.0 shpatil Linux - Newbie 2 12-01-2010 09:29 AM
[SOLVED] localhost port 25 not open linuxbird Linux - General 4 11-24-2010 10:17 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 02:51 AM
how do I display localhost ip address as a standard user blackdragonblood Linux - Networking 7 03-10-2006 06:02 PM
Could not open localhost in Win98 Frinux Linux - Networking 3 10-28-2002 11:23 AM

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

All times are GMT -5. The time now is 10:14 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
Open Source Consulting | Domain Registration