Re: DISPLAY variable not set in ssh session



On Tue, Feb 26, 2008 at 07:40:56PM -0500, Rick Thomas wrote:
Package: xterm

On Feb 26, 2008, at 2:57 PM, Tzafrir Cohen wrote:

On Tue, Feb 26, 2008 at 05:00:13AM -0500, Rick Thomas wrote:
I just installed Lenny on a G4 Mac. I installed the "ssh" package on
it. I can "ssh" to it just fine. But I can't get X11 forwarding to
work. When I use "ssh -X" or "ssh -Y" (either option) the connection
is made, but the DISPLAY variable is not being set.

Anybody know why?

No. But using ssh -v might give some clues. One extra potential
reason:
the target box does not have (the utility) xauth on it.


That was it. I did
aptitude install xauth
and everything was fine.

It looks like the xterm package needs to depend on the xauth package --
or at least recommend it.

What package should a bug report for this go to?

Please don't. xterm works perfectly ok without it.

--
Chris.
======


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Will installing libc6-i686 on my i586 crunch my installation?
    ... except ssh - and I can live with the ... fact that my package system is broken now. ... when I e.g. try to install ssh with "apt-get ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Enabling SFTP under Debian 4.0r0
    ... The 'ssh' package is a metapackage and contains nothing other than the ... openssh-client and openssh-server packages. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Help: Can not login at local tty!!
    ... ssh is fine. ... So what do you mean by "sth"? ... I find no package with that ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: DISPLAY variable not set in ssh session
    ... the target box does not have xauth on it. ... It looks like the xterm package needs to depend on the xauth package -- ... please suggest a better place to send the bug report? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: DISPLAY variable not set in ssh session
    ... the target box does not have xauth on it. ... It looks like the xterm package needs to depend on the xauth package -- or at least recommend it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)