Alan L Tyree wrote:
It fails with all programs.
The problem is that the DISPLAY variable is not getting set. After
logging into both machines with ssh -X machine_name
-----------------------------
[EMAIL PROTECTED]:~$ echo $DISPLAY
localhost:10.0 ** Ubuntu machine where everything works
-----------------------------
[EMAIL PROTECTED]:~$ echo $DISPLAY
** Xubuntu machine where nothing works
[EMAIL PROTECTED]:~$
------------------------------
The /etc/ssh/sshd_config files are the same in both machines.
I don't know how DISPLAY gets set
If you add -vv to your ssh flags, you'll see something like:
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
/tmp/ssh-2fcsElfWeT/xauthfile generate 127.0.0.1:0.0 MIT-MAGIC-COOKIE-1
untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
/tmp/ssh-2fcsElfWeT/xauthfile list 127.0.0.1:0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
after the connection is authenticated.
Every time I've had a problem like this, it was because xauth wasn't
installed on the server.
--
Pete
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html