On Mon, Mar 05, 2007 at 10:43:30AM +0100, Axel Thimm wrote:
> On Mon, Mar 05, 2007 at 03:53:49AM +0100, Fabian Franz
wrote:
> > > > I do the following in nxnode:
> > > >
> > > > # for example
> > > > display=1000
> > > > cookie=$(mcookie)
> > > > COMMAND_XAUTH=$(which xauth)
> > > > USER_FAKE_HOME=$HOME
> > > > sessid=<some session id>
> > > >
> > > > $COMMAND_XAUTH >/dev/null 2>&1
<<EOF
> > > > add localhost:$display
MIT-MAGIC-COOKIE-1 $cookie
> > > > add unix:$display MIT-MAGIC-COOKIE-1
$cookie
> > > > exit
> > > > EOF
> > > >
> > > > $COMMAND_XAUTH -f
"$USER_FAKE_HOME/.nx/C-$sess_id/authority"
>/dev/null
> > > 2>&1 <<EOF
> > > > add localhost:$display
MIT-MAGIC-COOKIE-1 $cookie
> > > > add unix:$display MIT-MAGIC-COOKIE-1
$cookie
> > > > exit
> > > > EOF
> > > >
> > > > I can't see anything wrong about that
...
> > > >
> > > > But you might want to remove the
>/dev/null 2>&1 from nxnode to see if
> > > xauth gives some error message.
> > Please try to debug via the instructions given
above.
>
> I already had done so, I didn't see any changes in the
logs. But I
> think all the output from nxnode gets lost or the above
code path is
> never reached, because I also added
OK, I placed a wrapper around xauth to check how it's being
called and
what it returns, and found out that it is only once called
as
/usr/bin/xauth -q -
which is probably done indirectly durcing the ssh login.
E.g. freenx
never calls xauth itself (?).
--
Axel.Thimm at ATrpms.net
____________________________________________________________
____
Were you helped on this list with your FreeNX problem?
Then please write up the solution in the FreeNX
Wiki/FAQ:
http://openfacts.berlios.de/index-en.phtml?title=Free
NX_FAQ
Don't forget to check the NX Knowledge Base:
http://www.nomachine.com
/kb/
____________________________________________________________
____
FreeNX-kNX mailing list --- FreeNX-kNX kde.org
http
s://mail.kde.org/mailman/listinfo/freenx-knx
____________________________________________________________
____
|