Subject: Re: emacs and telnet
To: None <wojtek@wojtek.from.pl>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 01/29/2001 19:10:26
[ On Tuesday, January 30, 2001 at 00:07:40 (+0100), wojtek@wojtek.from.pl 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
walkthrough.
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:
most:10.0
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 <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>