I have worked out the problem. I had the UseLogin option set to yes in
sshd_config. When I set it to no the X11 forwarding started to work. I assume the
login shell was doing something to the environment which was causing it to fail but
I can't say for sure. Anyway it is working so I don't care.
John.
Thomas Keller wrote:
> John,
> Are you going through a firewall to get into a network? If you are, make
> sure you have an account on that system where host keys can be stored. I have
> no problems between Solaris (8 and 2.6) and Linux (Redhat 6.2, Best Linux 2000)
> and window machines while internal. I did have the problem through the
> firewall until I had the sysads clear my host keys off that machine.
>
> Tom Keller
> [EMAIL PROTECTED]
>
> At 02:57 PM 09/22/2000 +1000, you wrote:
> >I am having a problem with OpenSSH 2.2.0p1 on both Linux and Solaris.
> >
> >The problem is once I ssh to a host with X11 forwarding enabled I go to
> >start an X app and I get
> >
> >channel 0: istate 4 != open
> >channel 0: ostate 64 != open
> >X connection to oberon.it.swin.edu.au:10.0 broken (explicit kill or
> >server shutdown).
> >
> >I have seen people with the same problem what I really need is a
> >solution. Any help would be much appreciated.
> >
> >John.
> >
> >--
> >Information Technology Innovation Group
> >Swinburne University. Melbourne, Australia
> >http://uranus.it.swin.edu.au/~jn
> >
> >
> (410)312-6937 Office
> (877)459-4087 Beeper
> [EMAIL PROTECTED] email to beeper
--
Information Technology Innovation Group
Swinburne University. Melbourne, Australia
http://uranus.it.swin.edu.au/~jn