Re: More x11 Tiger woes
Re: More x11 Tiger woes
- Subject: Re: More x11 Tiger woes
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 14 Oct 2005 13:56:59 -0400
On 10/14/05,
Sean Davis <
email@hidden> wrote:
I, like many others, have been having problems with ssh tunneling. I
recently upgraded from x11 1.0 and 10.3.9 to x11 1.1 on 10.4.2. Since then,
I have lots of interactions like the ones below. I tried to uninstall x11
1.1 by moving /usr/X11R6 and /etc/X11 out of the way and deleting the
x11.app and to then reinstall x11 1.0, but I can't do so, as the installer
complains that newer software is already installed on the machine. Somewhat
frustrating! Any thoughts?
holmes:~ sdavis$ ssh -X watson
Password:
Last login: Fri Oct 14 13:03:20 2005 from salman.nhgri.ni
Welcome to Darwin!
[watson:~] sdavis% xterm
xterm Xt error: Can't open display:
It looks like X11 forwarding isn't enabled on watson - if it were,
DISPLAY would have been set for you to something like localhost:10,
which is the local endpoint of the ssh tunnel. If watson has it
turned off, it doesn't matter whether you enable it on the holmes end,
or whether you use -X or -Y to do so; those options are only requests,
which watson can refuse.
Check the /etc/sshd_config file on watson and make sure it has an uncommented line of this form:
X11Forwarding yes
If it doesn't, then make it so it does, and then restart sshd (which
you can do by toggling the SSH checkbox in the Sharing pane of System
Preferences). Then try again and things should work.
If X11Forwarding is already enabled, then it's possible something in
your shell config on watson is unsetting $DISPLAY before you get to
your shell prompt; you could try manually setting it to localhost:10
instead of holmes:0 and see if that works (but it could need to be :11
or :12 instead of :10, etc. Trial and error).
[watson:~] sdavis% setenv DISPLAY holmes:0.0
That's definitely not what you want - that will try to display directly
on holmes without going through the SSH tunnel at all. If that
works, then you have a very insecure setup on holmes. :)
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden