Re: ssh x11 forwarding on etch
Ron Peterson wrote:
> Debian Etch
>
> I just discovered that I had to add the following to my
> /etc/ssh/ssh_config in order for X11 tunnelling to work when I logged
> into remote systems.
Have you tinkered with your X11 configuration? Testing? Backports?
> Host *
> XAuthLocation /usr/bin/xauth
That should not be needed on Etch.
> According to the installed man page for ssh_config:
>
> XAuthLocation
> Specifies the full pathname of the xauth(1) program. The default is
> /usr/bin/X11/xauth
Check /usr/bin/X11 and find that it is a symlink to '.'.
ls -ldog /usr/bin/X11
lrwxrwxrwx 1 1 2007-04-22 10:04 /usr/bin/X11 -> .
In Etch that is a transition symlink such that these things will work
regardless of the move. Both locations exist.
ls -ldog /usr/bin/X11/xauth
-rwxr-xr-x 1 30868 2007-01-12 10:28 /usr/bin/X11/xauth
> If the xbase-clients package is going to put xauth in a non-default
> location, shouldn't the ssh package be updated to reflect that?
The default location for all of the X applications has moved. The
*old* default location was /usr/bin/X11 but the *new* default location
is now /usr/bin/. This is a transition and packages will be updated
to the new location. But it takes time.
> Anyway, maybe posting this will save someone else some aggravation. I'm
> wondering why this doesn't appear to be affecting more people.
It is not affecting anyone running Etch because this is not a problem
in Etch. I am guessing that you have somehow done something to the
/usr/bin/X11 symlink on your system. That symlink is installed by the
'x11-common' package. In Etch the version of x11-common is 7.1.0-16.
But perhaps you have pulled forward partially to Sid?
$ dpkg -l x11-common
ii x11-common 7.1.0-16 X Window System (X.Org) infrastructure
$ apt-cache policy x11-common
x11-common:
Installed: 1:7.1.0-16
Candidate: 1:7.1.0-16
Version table:
*** 1:7.1.0-16 0
500 http://http.us.debian.org etch/main Packages
100 /var/lib/dpkg/status
What version is it on your system?
Bob
Reply to: