[FreeNX-kNX] blank screen
Axel Thimm
Axel.Thimm at ATrpms.net
Mon Mar 5 09:43:30 UTC 2007
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.
> >
> > It doesn't. I see somthing else that looks wrong, using "ps e" I see
> > that nxagent has
> >
> > XAUTHORITY=/home/athimm/.nx/.../authority
> >
> > set, which looks OK, but has
> >
> > DISPLAY=nx/nx,options=/home/athimm/.nx/.../options:1000
>
> This is perfectly okay ...
>
> 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
echo XXXXXX
echo XXXXXX >&2
before calling the xauths and grepped ~/.nx and /var/lib/nxserver for
it w/o finding anything.
> It might also help to just do:
>
> xauth source ~/.nx/C-.../authority
>
> cu
>
> Fabian
> ________________________________________________________________
> 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=FreeNX_FAQ
> Don't forget to check the NX Knowledge Base:
> http://www.nomachine.com/kb/
>
> ________________________________________________________________
> FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
--
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/20070305/f198a08c/attachment.sig>
More information about the FreeNX-kNX
mailing list