connection dies when X11 forwarded app exists

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jun 19 20:11:53 EST 2000


I have encountered a problem using Openssh-2.1.1p1 on Solaris 2.6

I connect to a remote box with

localbox> ssh -X remotebox
remotebox> nedit&

nedit show up fine
I quit nedit ... 

And now the connection to remotehost dies as well ...

running ssh with -v shows the following

[...]
debug: Requesting pty.
debug: Requesting X11 forwarding with authentication spoofing.
debug: Requesting shell.
debug: Entering interactive session.
[...]
debug: Received X11 open request.
debug: fd 7 setting O_NONBLOCK
debug: channel 0: new [X11 connection from remotehost port 50931]
[...]
debug: channel 0: send data len 32
debug: channel 0: send data len 32
debug: channel 0: send data len 32
debug: channel 0: send data len 512
debug: channel 0: send data len 512
[...]
debug: channel 0: rcvd ieof
debug: channel 0: output open -> drain
debug: channel 0: obuf empty
debug: channel 0: output drain -> closed
debug: channel 0: send oclose
debug: channel 0: close_write
debug: channel 0: send data len 384
debug: channel 0: send data len 96
debug: channel 0: read<=0 rfd 7 len 0
debug: channel 0: read failed
debug: channel 0: input open -> drain
debug: channel 0: close_read
debug: channel 0: input: no drain shortcut
debug: channel 0: ibuf empty
debug: channel 0: input drain -> wait_oclose
debug: channel 0: send ieof
Connection to tardis closed by remote host.
Connection to tardis closed.
debug: Transferred: stdin 20, stdout 1224, stderr 75 bytes in 17.0 seconds
debug: Bytes per second: stdin 1.2, stdout 72.2, stderr 4.4
debug: Exit status -1
debug: writing PRNG seed to file /home/oetiker/.ssh/prng_seed
[...]

I found that the problem seems to be restricted to Motif apps ...
it does not happen with Xt, Qt or GTK apps

cheers
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker






More information about the openssh-unix-dev mailing list