Re: Lost SSH X1 Forwarding with Xorg 7.2

2007-07-07 Thread Norbert Papke
On July 5, 2007, Olivier Nicole wrote:
> A nice *feature* that I just noticed, I apologize if it has been
> mentionned earlier.
>
> xorg 7.2 tends to install all the components in /usr/loca insteal of
> the traditional /usr/X11R6.
>
> But sshd is still expecting xauth to be in /usr/X11R6/bin/xauth; so
> sshd_config has to be modified to reflect the fact that xauth new path
> is /usr/local/bin/xauth.
>
> So the default /etc/ssh/sshd_config should be adapted to reflect this
> change...

The default location in /usr/X11R6/bin/xauth should still work with the 
symlink in place.

However, I had a similar problem to yours.  Having tracked 7.2 for some time, 
I had "X11BASE=${LOCALBASE}" in /etc/make.conf.  When building sshd, 
LOCALBASE is not defined and X11BASE ends up being the empty string.  This 
then caused XAUTH_PATH to be set to /bin/xauth which, of course, does not 
exist.  Removing the statement from /etc/make.conf fixed this -- it isn't 
required anymore.

Cheers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Lost SSH X1 Forwarding with Xorg 7.2

2007-07-05 Thread Norberto Meijome
On Thu, 5 Jul 2007 17:00:32 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> A nice *feature* that I just noticed, I apologize if it has been
> mentionned earlier.
> 
> xorg 7.2 tends to install all the components in /usr/loca insteal of
> the traditional /usr/X11R6.
> 
> But sshd is still expecting xauth to be in /usr/X11R6/bin/xauth; so
> sshd_config has to be modified to reflect the fact that xauth new path
> is /usr/local/bin/xauth.
> 
> So the default /etc/ssh/sshd_config should be adapted to reflect this
> change...

Hi Olivier,
I'm running ssh w/XForwarding for some apps between 2 boxen with xorg 7.2 with
no problem at all. I dont recall touching ssh's config - anyway, the setup
procedure for xorg 7.2 should symlink /usr/X11R6 to /usr/local/ ...maybe you
have that missing?

_
{Beto|Norberto|Numard} Meijome

"It's not what you do, it's the love you put into it."
   Mother Theresa.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Lost SSH X1 Forwarding with Xorg 7.2

2007-07-05 Thread Olivier Nicole
Hi,

A nice *feature* that I just noticed, I apologize if it has been
mentionned earlier.

xorg 7.2 tends to install all the components in /usr/loca insteal of
the traditional /usr/X11R6.

But sshd is still expecting xauth to be in /usr/X11R6/bin/xauth; so
sshd_config has to be modified to reflect the fact that xauth new path
is /usr/local/bin/xauth.

So the default /etc/ssh/sshd_config should be adapted to reflect this
change...

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"