LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2004, 08:25 AM   #1
gauge73
Member
 
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?


TIA
 
Old 11-10-2004, 09:20 AM   #2
shy
Member
 
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 forwarding BigNate Linux - Software 16 06-21-2011 01:39 AM
X11 Forwarding...insecure? Vgui Linux - Security 4 11-24-2005 05:41 PM
X11 forwarding paul_mat Linux - Newbie 3 12-12-2004 06:30 PM
X11 forwarding JanDeMan Mandriva 1 04-17-2004 09:02 PM
Need Help with X11 forwarding phatboyz Linux - General 3 04-16-2004 03:17 PM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration