[FreeNX-kNX] blank screen
Fabian Franz
FabianFranz at gmx.de
Mon Mar 5 02:53:49 UTC 2007
> > 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.
It might also help to just do:
xauth source ~/.nx/C-.../authority
cu
Fabian
More information about the FreeNX-kNX
mailing list