[FreeNX-kNX] nxagent session gets lost, user gets new session even though one already exists
Freerk Kalsbeek
f.kalsbeek at mindswitch.nl
Mon Jan 19 14:19:33 UTC 2009
I've had a number of similar reports from users. In this case triggered by
not being able to start firefox since it is still running in the not
properly terminated session.
I think I'll be able to test a few things on my wife's Vista laptop. Hope
that this gives some hints.
One story I got from a user is that his session was lost after an automatic
reboot of Vista after installing updates.
Freerk
On Sun, Jan 18, 2009 at 1:34 PM, Mario Becroft <mb at gem.win.co.nz> wrote:
> Update:
>
> Can't repeat the problem on anything but one particular user's
> laptop. Probably has to do with the fact that it is running Windows
> Vista--all the other machines I have access to run Linux. Unfortunately
> I won't have access to this machine again for a week.
>
> I checked the state of things at the point where you have resumed the
> session and it is running fine but no longer listed in nxserver --list.
>
> The session file is moved into /usr/NX/var/db/closed at the time when
> you resumed the session. The only place where this can occur is in the
> session_close() function in nxserver. Also, the /tmp/.nX????.lock file
> is removed. So we can say that when you resume the session (apparently
> successfully), session_close is called.
>
> The only place where this is called is from server_nxnode_start_wait()
> (and when you use --force-terminate, which I have not used). I am not at
> all sure what this function does. Does it invoke the nxagent and then
> remain in this function for the duration of the nxagent process? I don't
> think that is what it does, but if not, then I can't see how
> session_close() can be getting called at the point where you resume the
> session. (Resuming does appear to involve server_nxnode_start_wait(),
> but a different part of it that never calls session_close(), if I am
> reading it right).
>
> Could someone please give me an overview of what this code does?
>
> --
> Mario Becroft <mb at gem.win.co.nz>
> ________________________________________________________________
> Were you helped on this list with your FreeNX problem?
> Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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
> ________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20090119/f5c07ddb/attachment.html>
More information about the FreeNX-kNX
mailing list