Re: Problems exporting X Display through ssh.
On Thu, Mar 29, 2001 at 06:51:55PM +0300, Martin Fluch wrote:
| Hello,
|
| I have two unstable boxes connected via ethernet (bilbo and seneca).
|
| When I ssh from seneca to bilbo with
|
| ssh -X bilbo
|
| and start for example xterm I get the result:
|
| mfluch@bilbo:~> xterm
| channel 0: istate 4 != open
| channel 0: ostate 64 != open
| X connection to bilbo:10.0 broken (explicit kill or server shutdown).
| mfluch@bilbo:~>
|
| The other way around (login into seneca from bilbo) works ok, also ssh
| from seneca to seneca.
|
| Login in from bilbo to bilbo gives again the same problem.
|
| Yesterday it still has worked. No strange errormessages in the logs.
|
| Any hints where to start to look for the problem?
Is X forwarding enabled in bilbo's sshd? Does seneca's X server allow
remote connections (check with 'xhost')?
I found out that when using X over ssh, ssh(d) makes a display (:10
and up) on the host machine that the X clients connect to. ssh then
reads from that connection and sends the data over the ssh connection
to the client, who then decrypts it and gives it to the real X server.
When you see connection to bilbo:10.0 broken it means that ssh(d)
dropped the X connection on the host, probably because it can't manage
to forward to the real X server on the client.
-D
Reply to: