Subject: Re: emacs and telnet
To: None <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 01/29/2001 19:10:26
[ On Tuesday, January 30, 2001 at 00:07:40 (+0100), email@example.com wrote: ]
> Subject: Re: emacs and telnet
> no! ssh did not pass DISPLAY because X11 forwarding is turned off in sshd
Hmmm, OK, but you might want to make sure you investigate that fact
thoroughly with "ssh -v" before you go too much futher down what seems
to be the wrong path.
> telnet passes and converts in as i see.
No, telnet does not convert the DISPLAY variable by dropping the
hostname off. I can prove this in any number of ways, including a code
I may have been mistaken about what sshd does to $DISPLAY though. I'd
forgotten that it almost always chooses a new display number, eg:
and it seems to always put the local hostname in (my hostname is just
the basic name without a FQDN).
Make sure you eliminate any effect /etc/profile, ~/.profile, or whatever
other startup scripts there are too. You might find one of them is
affecting the setting of $DISPLAY.
Greg A. Woods
+1 416 218-0098 VE3TCP <firstname.lastname@example.org> <robohack!woods>
Planix, Inc. <email@example.com>; Secrets of the Weird <firstname.lastname@example.org>