On 31/01/07, Alan L Tyree <[EMAIL PROTECTED]> wrote:
On the remote Xubuntu ("Misty"), logged in with ssh -X: [EMAIL PROTECTED]:~$ sudo netstat -tlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:2208 *:* LISTEN 3795/hpiod tcp 0 0 *:sunrpc *:* LISTEN 3062/portmap tcp 0 0 *:x11 *:* LISTEN 3520/X tcp 0 0 localhost:ipp *:* LISTEN 3776/cupsd tcp 0 0 localhost:60924 *:* LISTEN 3804/python tcp6 0 0 *:x11 *:* LISTEN 3520/X tcp60 0 *:ssh *:* LISTEN 4223/sshd
So it looks like the -X request doesn't get handled by sshd on the other side, or at least it doesn't listen on a TCP port for you, so your problem is more foundamental than not having the $DISPLAY set. Run "sshd -ddd" on a seprate port on Misty and try to connect to it ("-p" parameter to ssh client). Be careful to do it that way instead of killing the standard sshd daemon - read sshd(8) about "-d" carefully before doing that. On the Local Debian Sid ("Windy"): That's not relevant, it's the ssh daemn on the other side that's supposed to listen for new X11 connections and pass them locally when they arrive, nothing new should listen on the local host for that (the local side of ssh is just another X11 client in that context). It's digging like this that teaches you the most about Linux/networking/tools/debugging methods, so keep digging. Cheers, --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html