Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-10-2004, 09:25 AM   #1
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
X11 Forwarding Issue

I used to continuously use X11, but eventually lost my internet connection. Now I've got DSL and I'm wanting to have GUI access to my machine from work. However, when I connect using either PuTTY or the SSH client I cannot get X11 forwarding to work. Every time I try to open an X window, I get the following error:

Gdk-ERROR **: X connection to localhost:10.0 broken (explicit kill or server shutdown)

The only lead I have is that my machine's name is not localhost. Other than that, the error is completely meaningless to me. Can anyone help me out with this?

Old 11-10-2004, 10:20 AM   #2
Registered: Dec 2002
Location: Russia
Distribution: ASP linux
Posts: 94

Rep: Reputation: 15
If you use PuTTY then you should have X-server for Windows on the client machine for ssh-forwarding to succeed.

localhost is mentioned because ssh transparetly opens port to be forwarded on the target machine, and for this machine it is binded to lo interface (that means that only local programs will be able to connect to this port). $DISPLAY variable is set to look at this port, so all X programs on target machine think that they connect to localhost; and :10.0 is the default shift made by ssh.


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
X11 forwarding BigNate Linux - Software 16 06-21-2011 02:39 AM
X11 Forwarding...insecure? Vgui Linux - Security 4 11-24-2005 06:41 PM
X11 forwarding paul_mat Linux - Newbie 3 12-12-2004 07:30 PM
X11 forwarding JanDeMan Mandriva 1 04-17-2004 10:02 PM
Need Help with X11 forwarding phatboyz Linux - General 3 04-16-2004 04:17 PM

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration