X11 forwarding to wrong ip

From: Jih-tung Pai (jpai@rocketmail.com)
Date: 03/31/03


From: jpai@rocketmail.com (Jih-tung Pai)
Date: 31 Mar 2003 01:13:56 -0800

Hi,

I hope this is right place to ask this question. I found most X11
forwarding questions asked here.

I have a notebook computer running Mandrake linux. I use it both at
work and at home. At work, I have a work ip address. At home, I have a
small home network connecting a few computers with a home ip address
assigned to the same notebook. At work, it works fine with X11
forwarding from another work machine. However, I have trouble to do
X11 forwarding from another home machine to my notebook. Occasionally,
it will work just fine. Most of the time, when I do "X -indirect
192.168.xx.xx :1", it won't work and the error message will say it
cannot open the display at "my work ip:1". Apparently, X try to use
the display on my work ip. I wonder if I can tell my X that I have now
switched to home ip. I check "hostname -i", "ifconfig" and they all
say I have home ip. X is the only one still hanging on my work ip.
This also happens if I do "ssh home-ip xterm". How should I solve this
problem?

Thanks,

Thanks,

Jih-tung Pai



Relevant Pages

  • Re: x11-forwarding
    ... -Y Enables trusted X11 forwarding. ... Das ist m.E. *keine* korrekte Angabe für DISPLAY (darauf deutet ja auch ... debug1: Authentication succeeded. ... using fake authentication data for X11 forwarding. ...
    (de.comp.sys.mac.misc)
  • Re: [SLE] export DISPLAY and xhost +
    ... >impression that remote X using DISPLAY travels over ssh just because you ... X11 and TCP forwarding ... the connection to the X11 display is auto­ ...
    (SuSE)
  • Re: Matlab 7.5, OS X, Java, and X11 Forwarding
    ... And also consider evaluating Apple Remote Desktop or a VNC such as Vine Server as other methods for forwarding a server's UI to a client. ... It sounds like a problem with X11 forwarding, not the MATLAB ...
    (comp.soft-sys.matlab)
  • SSH not setting DISPLAY variable
    ... I'm having a rather strange problem with OpenSSH forwarding X11 ... On the second computer, "echo $DISPLAY" just gives a blank line, so ... connections - if I connect out from the not-working computer to somewhere ...
    (comp.security.ssh)