LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   X11 Forwarding Issue (https://www.linuxquestions.org/questions/linux-networking-3/x11-forwarding-issue-253194/)

gauge73 11-10-2004 08:25 AM

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?


TIA :)

shy 11-10-2004 09:20 AM

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.


All times are GMT -5. The time now is 07:46 AM.