This is a discussion on RE: X11 Forwarding - openssh ; Thanks for the reply Marshall. As far as I can tell, at least according to what I have read, there shouldn't be any need to set DISPLAY manually. It seems it should be set automatically based on the setting/value for ...
Thanks for the reply Marshall.
As far as I can tell, at least according to what I have read, there
shouldn't be any need to set DISPLAY manually. It seems it should be
set automatically based on the setting/value for X11DisplayOffset (I
think sshd does the dirty work upon login). If this is not the case,
then I must have misunderstood.
From: McDougall, Marshall (FSH) [mailto:MarMcDouga@gov.mb.ca]=20
Sent: Tuesday, April 19, 2005 10:24 AM
To: Christ, Bryan
Subject: RE: X11 Forwarding
You need to set it. Depending on your OS, you can readily script it to
automatically set it when you login. For example, in my RH servers I
put the following in /etc/bashrc:
XX=3D`who am i | sed -ne 's/.*(//;s/).*$/:0/p'` test "x$XX" !=3D x &&
From: Christ, Bryan [mailto:firstname.lastname@example.org]
Sent: Monday, April 18, 2005 9:46 AM
Subject: X11 Forwarding
Does anyone know why my DISPLAY variable is not getting set? I have
tried looking at the debug messages from
ssh -vv -X user@host
but I haven't seen anything suspicious. xauth is installed in the normal
location and seems to run correctly (although I'm really not familiar
with it). In my sshd_config file, the relevant options are set as:
I've spent quite a bit of time googling on this problem and haven't come
up with anything yet. I suspect that it might have something to do with
installing XFree86 on Slackware 9.0 after initial OS installation (using
installpkg *.tgz on the relevant packages). I'm really at a loss for
where to turn.
Server is OpenSSH 3.5p1, OpenSSL 0.9.7a
Client is OpenSSH 4.0p1, OpenSSL 0.9.7f=20
Thanks in advance!