[FreeNX-kNX] freeNX periodic SSL problem

Siamak Shafiei siamak.shafiei at vsemi.com
Tue May 22 18:10:09 UTC 2012


Hi Chris,

This session is of "Status" Running, not suspended.
> When you see this issue you are reporting,
> have you "disconnected" manually, are you purposefully re-connecting to a
> running session or did your session just disconnect without user
> intervantion ??


The status is sometimes suspended as well. Disconnection from the session
could be either with or without user intervention and this problem could
appear nonetheless.

Not sure why you highlight this.
> It just means an encrypted link is selected (--encryption="1")


You are right, I thought it means SSL tunneling returned a 1 (error
status). Please disregard the highlighted SSL line.

Try waiting 5 mins & re-connecting a few times before giving up.


I once tried reconnecting for 30 minutes with no success.

If that doen't work look at the contents of the session file


I always look at the content of the session file, and also try changing the
status from 'Suspended' to 'Running' or vice versa. I have also done diffs
between session file of working sessions and the problematic session, I see
no unexpected differences (just the values of startTime, sessionId,
creationTime and shadowcookie).

and
> what's still running for user "XXXX"
> e.g.
>  ps -ef | egrep "^XXXX.*nx[a-z]{3,}"
> as a start . . . .


I did check if nxagent is still running, but I didn't check other nx
related processes. I'll make sure to check that next time.

If you run "top", is any process running away with the CPU ??


Don't know, I'll have to check next time.

By the way, here's some lines from nxserver.log for another lost session
(this one was suspended):

NX> 105 hello NXCLIENT - Version 3.2.0
NX> 134 Accepted protocol: 3.2.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: user1
NX> 102 Password:
NX> 103 Welcome to: server1 user: user1
NX> 105 listsession --user="user1" --status="suspended,running"
--geometry="1920x1080x32+render" --type="unix-kde"
NX> 127 Sessions list of user 'user1' for reconnect:

Display Type             Session ID                       Options  Depth
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----
-------------- ----------- ------------------------------
1007    unix-kde         18893A29659C27A431817FC555F3ECE2 -RD--PSA    24
1914x1012      Suspended   server1


NX> 148 Server capacity: not reached for user: user1
NX> 105 restoresession  --link="adsl" --backingstore="1" --encryption="1"
--cache="128M" --images="512M" --shmem="1" --shpix="1" --strict="0"
--composite="1" --media="0" --session="server1" --type="unix-kde"
--geometry="1914x1012" --client="winnt" --keyboard="pc102/en_US"
--id="18893A29659C27A431817FC555F3ECE2" --resize="1"

NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 700 Session id: server1-1007-18893A29659C27A431817FC555F3ECE2
NX> 705 Session display: 1007
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 19aee97dd3107baf6174b10c274f207e
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 19aee97dd3107baf6174b10c274f207e
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
NX> 1004 Error: Session did not start.
NX> 596 Session resume failed.
NX> 999 Bye
Info: Closing connection to slave with pid 26167.
1001 Bye.

Thanks for your response,

Siamak Shafiei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20120522/83f867e3/attachment.html>


More information about the FreeNX-kNX mailing list