Alan Wilter Sousa da Silva wrote: > Hi Arnold, > > I'm going to a conclusion like you pointed. I found out that when > ssh as root X11 export worked, so it seemed to be a question of > permission. > > So I'm trying to set what you said by I have to doubts: > How can I find which <port> to use? > How can I restart the server (which server?) that read > /etc/hosts.allow? > > Thank you very much for yor attention. > > Alan > > On Fri, 19 Oct 2001, Arnold Troeger wrote: > > > Michael Osten wrote: > > > > > On Thu, 18 Oct 2001 16:34:22 -0200 (BRST) > > > Alan Wilter Sousa da Silva <[EMAIL PROTECTED]> wrote: > > > > > > > Hi People, > > > > > > > > We use MDK and RedHat here. If I ssh to a RedHat machine I can > > > > export xterm for example, but if I ssh to a MDK machine I got this > > > > error: > > > > channel 0: istate 4 != open > > > > channel 0: ostate 64 != open > > > > X connection to my.MDk.linuxbox:10.0 broken (explicit kill or server > > > > shutdown). > > > > > > > > Any idea? > > > > > > > > Thanks in advance. > > > > > > Are you ssh'ing as one user, and then su'ing to a diffrent user? > > > > > > -- > > > Michael Osten > > > Reefedge Inc. > > > > > > -----BEGIN PGP PUBLIC KEY BLOCK----- > > > Version: GnuPG v1.0.6 (GNU/Linux) > > > Comment: For info see http://www.gnupg.org > > > > > > mQGhBDuxPdYRBADzFXgIcmDpZXOxYeplGQQdv1HONlLFxis5YiR2R7dQ6KAmZG/X > > > 5xcXPcbrstXPuUJz4DPVaWTF59e1oXFuBFX/BSeyat45diu/cUZVLHjsEDqdodiG > > > BPfsTNtaW3ZP245ZZVr3m4jedssXuboKNOlLX166N0aWqXGo3ncGXnR7dwCg6978 > > > ZnAbBmOZg8zD+3Z9alWwa0MD/A2IlkVNg0K19jJuRvGOd3neXjESqQ/84d6NvGEG > > > yKaTUMzESZEuF4hPynpSFkUPLSE+1tZ4hqkIzP2IYrD74ObZnkKVtcjNNB4GAdk/ > > > kYsuEo6TNQC7xuTky3Slc/sXQL5YFFYeIO3Wdt0+L/E1vU3YVfPDhcnMe6lalGQH > > > 5YwfA/dfU8o2x7JsS0eF3YiQhXQ2kHYfCTkmyD5QZZosHdmUmPGaMyTXvancHbNl > > > cLDe9ZQubYSQQTBTmDBF8MfRmxInGTGn6jnVOc8dYVfkG7mVeQqI0hwYpAVj4TLp > > > IMLddL0N1HBDI1R5h9xtXMGsj8rh85ZHAdhjWmXfRky4XQuqtCNNaWNoYWVsIE9z > > > dGVuIDxtb3N0ZW5AcmVlZmVkZ2UuY29tPohXBBMRAgAXBQI7sT3WBQsHCgMEAxUD > > > AgMWAgECF4AACgkQK9WwSrQMCYkpEgCg6g1gvlGn0E2FcQrPpP0+IP5FGzMAoNKB > > > n2q/sJf35ugdDSef/uD+vYNVuQENBDuxPdgQBADG+SfLco3vL583je7Bz+n82X6w > > > cgeS6tm4EqGb6NXcEa+FvniBefBueRssBzaEqhluUV9rzn5W+N7nf7VGoLI2oGhg > > > ZFhVdNqR8SNofZue8lEqWMkIMdFlXRqojlzbejOXa54WVXEfSZybsuitKsfoDREO > > > QDKa7MTPtnwEedaJIwADBgQAgcZ5nFJoZhGHfnqsz4LHjldFnr5PaeEiWYrYjBcz > > > drLLaLf2EI5oAnMwDIN3apXb2MRMp1gD93kWcbY6DsVQMgGIXvNYjHR8mwuH/6l5 > > > VNGVQOdiouXf1LqXjFlO+Ld0PqvDyILZPktDz8vd+rnhzv3u8GZduMytuJvPN9hQ > > > L+WIRgQYEQIABgUCO7E92AAKCRAr1bBKtAwJiWnbAJ4wHX/ejEwC3VLJjFZyg+SN > > > ORdi/QCfbY1VFUL0hTZtCdpXQ/W7rMxRq/s= > > > =mqPG > > > -----END PGP PUBLIC KEY BLOCK----- > > > > > > ------------------------------------------------------------------------ > > > Part 1.2Type: application/pgp-signature > > > > I've been dealing with this problem as well. Have a look at > > /etc/hosts.allow. Check to see that the following two lines are present > > sshd : ALL : ALLOW > > sshdfwd-X11 : ALL : ALLOW > > sshdfwd-<port> : ALL : ALLOW > > > > If they're not there then try adding them. Worked for me. > > > > Best regards, > > > > Arnold > > > > -- > > Arnold Troeger Unocal Thailand > > Phone: 011-66-2-545-5456 5th Floor, Tower 3, SCB Park Plaza > > FAX: 011-66-2-545-5374 19 Ratchadapisek Road, Chatuchak > > Email: [EMAIL PROTECTED] Bangkok 10900, Thailand > > ------------------------------------------------------------------------ > > "Microsoft Windows: for when your machine is just too fast" > > "Microsoft: Writing viruses has never been easier!" > > "Microsoft: The company that made email dangerous" > > > > > > > > > > > > -- > ----------------------- > Alan Wilter S. da Silva > ----------------------- > Laboratório de Física Biológica > Instituto de Biofísica Carlos Chagas Filho > Universidade do Brasil/UFRJ > Rio de Janeiro, Brasil > > ------------------------------------------------------------------------ > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
In regards to the second bit: you just need to restart the sshd server on your machine. I've seen several other suggestions on the list as well. IIRC the ssh and sshd config files that ship with Mandrake all enable X forwarding. You should check that though. Arnold -- Arnold Troeger Unocal Thailand Phone: 011-66-2-545-5456 5th Floor, Tower 3, SCB Park Plaza FAX: 011-66-2-545-5374 19 Ratchadapisek Road, Chatuchak Email: [EMAIL PROTECTED] Bangkok 10900, Thailand ------------------------------------------------------------------------ "Microsoft Windows: for when your machine is just too fast" "Microsoft: Writing viruses has never been easier!" "Microsoft: The company that made email dangerous"
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com