[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X Forwarding via SSH



Jeffrey W. Baker wrote:

On Sat, 2002-04-06 at 17:40, Kent West wrote:

So, for some reason, it seems that my Sid box that I'm ssh'ing into isn't setting my DISPLAY. Why not?


On the box you are SSHing to, check /etc/ssh/sshd_config for lines like:

X11Forwarding yes
X11DisplayOffset 10

And on the machine you are SSHing from, check /etc/ssh/ssh_config for

ForwardX11 yes

Check ssh(1) and sshd(8).  Now, about the stupid mismatch between these
two directives, I guess you should mail todd@openbsd.org

-jwb

Well, that's interesting.

I made both setting as you indicated above; now when I ssh into westek, I get this:

--------------
westek[westk]:/home/westk> echo $DISPLAY
westek:10.0

--------------
westek[westk]:/home/westk> gqview &
[1] 10168

--------------
westek[westk]:/home/westk>
Gtk-WARNING **: cannot open display: westek:10.0

[1]+  Exit 1                  gqview


So, progress has been made. My DISPLAY env. var. is now being set. But it still doesn't work.

But what I find interesting is that from what I've understood from everything I've read (including the man page for ssh), the command line option -X overrides the config files. But this experiment seems to indicate that to not be the case.




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



Reply to: