[FreeNX-kNX] blank screen

Axel Thimm Axel.Thimm at ATrpms.net
Tue Mar 6 21:45:06 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20070306/b8620b49/attachment.sig>


More information about the FreeNX-kNX mailing list