[FreeNX-kNX] nxtunnel-0.2 not working (but finding xauth now)

Fabian Franz FabianFranz at gmx.de
Sun Sep 19 17:28:39 UTC 2004


Am Sonntag, 19. September 2004 19:17 schrieb Neal H. Walfield:
> > > It seems that nxtunnel is not finding xauth on remotenx.
> > >
> > > (You have
> > > also uncovered a small bug here as well in the nxtunnel script:
> > > nxtunnel runs with set -e and checking for a program is not protected
> > > by a || true.  I have fix this in my local copy.)  Try running:
> > >
> > >   ssh remotenx which xauth
> >
> > OK, that's it. It gives
> >
> >    no xauth in (/usr/bin:/bin:/usr/sbin:/sbin)
> >
> > For the time being, I created a quick'n' dirty symlink /usr/bin/xauth -->
> > /usr/X11R6/bin/xauth.
>
> I am not sure what the right solution is here.  I feel that this is a
> broken configuration and ought to respond fix your .bashrc.  I could
> append some common paths to the X11 binaries to PATH but it won't work
> for all scenarios and then where does it stop?  Maybe you can provide
> a convincing argument one way or the other (or come up with a better
> solution).

I had "fixed"  that by doing: 

set +e
. /etc/profile, 
set -

but it seems quite unnecessary. Could it be that our shell script is not 
running in a "login"-environment?

cu

Fabian




More information about the FreeNX-kNX mailing list