can't start remote X programs

From: Tomasz Chmielewski (tch_at_nospam.unc.edu)
Date: 06/04/05


Date: Sat, 04 Jun 2005 13:48:42 +0200

I have two computers running Linux and openssh-4.1p1.

They are connect to each other through an OpenVPN tunnel.

If I connect from BROKEN to GOOD using ssh -X ..., I can start remote X
programs without problems (for example, xclock).

When I connect from GOOD to BROKEN, I can't start remote X programs:

$ ssh -l user BROKEN -v -X
(...)

$ xclock
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 1535
debug1: channel 1: new [x11]
debug1: confirm x11

And I can wait forever, but xclock is not started on my local machine.
I can't kill it with ctrl+C.

When I do "ps x" on BROKEN, it shows xclock is running.
When I kill it (killall xclock), I can't use the terminal on which I
started anymore.

Has anyone seen this before?

What should I look for?

I noticed that when I try to start "xclock" on BROKEN, there are some
packets going on lo interface (this is captured with iptraf):

localhost:1363 = 10 760 -PA- lo
localhost:6013 = 8 1016 --A- lo

Any ideas?

-- 
Tomek


Relevant Pages

  • Re: kill xterm kills app!
    ... When you kill the xterm or gnome-terminal all the processes with it ... If you do "xclock &" you do nothing special to manage the HUP signal. ... > thing that 'nohup' does when starting it as mentioned in earlier posts. ... > $ disown xclock ...
    (Fedora)
  • Re: x11 apps traffic not encrypted
    ... > and remotely start x11 apps such as xclock. ... > start on port 6000 and i'm under impression that it's not encrypted. ... Normally when using X11 forwarding there ...
    (comp.security.ssh)
  • Re: cant start remote X programs
    ... > And I can wait forever, but xclock is not started on my local machine. ... > When I kill it, I can't use the terminal on which I ... I'll bet if you do a "netstat" on both ends and find you ssh connection ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: Matlab 7.5, OS X, Java, and X11 Forwarding
    ... It sounds like a problem with X11 forwarding, not the MATLAB ... applications such as Xclock, Xcalc, etc., all work fine. ...
    (comp.soft-sys.matlab)
  • Re: Why CLX demos dont work?
    ... something like "xclock -display wangyin:0" to see whether that works. ... It may be that your X11 server is only accepting local connections ...
    (comp.lang.lisp)