[FreeNX-kNX] Re: Problem with Nx, Fluxbox and suspended sessions

chris at ccburton.com chris at ccburton.com
Thu May 12 13:03:10 UTC 2011


Marco Passerini <marco.passerini at csc.fi> wrote on 12/05/2011 12:50:16:
 
> I removed .Xauthority and now the results are a bit different:
> 
> *** First Session ***
> 
> $xauth list
> myhostname.com/unix:10 MIT-MAGIC-COOKIE-1 **cookie**
> localhost.localdomain:1000 MIT-MAGIC-COOKIE-1 **cookie**
> myhostname.com/unix:1000 MIT-MAGIC-COOKIE-1 **cookie**
> 
> $ls | grep xauth
> .xauthm0c9gu
> 
> $xterm
> [works fine, it opens a new terminal]
> 
> Suspending session...
> 
> *** Restored session ***
> 
> $ls | grep xauth
> [no result!]

What is in your
         $XAUTHORITY
envvar ??

What does
        xauth  -f  ~/.Xauthority list 
give here.

> $xauth list
> xauth: creating new authority file /home/myusername/.xauthm0c9Gu

Hmmm. It thinks the cookie file is:- /home/myusername/.xauthm0c9Gu
 
> $ls -a| grep xauth
> [no result!]
> 
> $echo $SHADOW_XAUTHORITY
> /home/myusername/.nx/C-myhostname.com-1000-**code***/authority
> 
> $cd /home/myusername/.nx/C-myhostname.com-1000-**code***/
> $xauth list
> xauth: creating new authority file /home/myusername/.xauthm0c9Guls

. . . and again . . .

> 
> $ls | grep xauth
> [no result!]
> 
> $ls  /home/myusername| grep xauth
> [no result!]
> 
> $xterm
> Xlib: connection to ":1000.0" refused by server
> Xlib: No protocol specified
> xterm Xt error: Can't open display :1000.0

Reconnect, and look at what
         echo $XAUTHORITY
says the cookie file is called . . . .

.xauthm0c9Gu maybe.

Where is this filename set ??

If this is your cookie file (and it is being removed), it
won't be replaced by FreeNX.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20110512/12dd5fb9/attachment.html>


More information about the FreeNX-kNX mailing list