[PC-BSD Dev] ssh + X forwading

Johann Hugo jhugo at meraka.csir.co.za
Tue Sep 22 12:49:05 PDT 2009


On Tuesday 22 September 2009, Jeremy C. Reed wrote:
> On Tue, 22 Sep 2009, Johann Hugo wrote:
> > Getting X forwarding to work with ssh on PCBSD.
> >
> > sshd is hardcoded to look for xauth in /usr/local/bin/xauth
> >
> > [jhugo at pcbsd]/home/jhugo(59)% strings /usr/sbin/sshd | grep xauth
> > /usr/local/bin/xauth
> >
> > This worked for me:
> > ln -s /usr/PCBSD/local/bin/xauth /usr/local/bin/xauth
> > ln -s /usr/PCBSD/local/lib/libXmuu.so.1 /usr/local/lib/libXmuu.so.1
>
> Instead (for xauth), you should be able to define XAuthLocation in your
> sshd_config file (and restart named).
This works for me

>
> As for libXmuu, what was your problem? It has wrong RPATH in use?
but ssh -vX still complains about  libXmuu.

/libexec/ld-elf.so.1: Shared object "libXmuu.so.1" not found, required 
by "xauth"

Johann

>
>   Jeremy C. Reed
>
> echo V nz pb-nhgubevat n CP-OFQ obbx. | \
>  tr "OPQVCFnoptuvxzabegh" "BCDIPSabcghikmnortu"




More information about the Dev mailing list