[FreeNX-kNX] freeNX periodic SSL problem
Siamak Shafiei
siamak.shafiei at vsemi.com
Wed May 23 15:43:42 UTC 2012
This issue happend again, here's a list of related processes running:
user1 364 0.0 0.0 58936 564 ? S 11:21 0:00 tail -n1
-f
/share/home/user1/.nx/C-server1.vsemi.com-1012-2A354EC51D061034A96D44E3E3575FFF/session
user1 365 0.0 0.0 64380 1220 ? S 11:21 0:00
/bin/bash /usr/bin/nxnode --resumesession
nx 24330 0.0 0.0 28392 588 ? Sl May14 0:00
/usr/bin/expect /usr/bin/nxnode-login -- ssh user1 22 /usr/bin/nxnode
--slave
nx 24332 0.0 0.0 56344 2016 pts/67 Ss+ May14 0:00 ssh -2
-x -l user1 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/bin/nxnode
--slave
user1 24838 0.0 0.0 64252 216 ? S May14 0:00
/bin/bash /usr/bin/nxnode --slave
user1 24840 0.0 0.0 64380 964 ? S May14 0:00
/bin/bash /usr/bin/nxnode --startsession
user1 25115 0.0 0.0 64380 352 ? S May14 0:00
/bin/bash /usr/bin/nxnode --startsession
user1 25116 0.0 0.0 64500 644 ? S May14 0:00
/bin/bash /usr/bin/nxnode --startsession
user1 25117 0.0 0.0 64380 432 ? S May14 0:00
/bin/bash /usr/bin/nxnode --startsession
user1 25121 0.0 0.0 202836 20548 ? S May14 7:55
/usr/lib/NX/nxagent -persistent -D -name NX -
user1 at server1.vsemi.com:1012- server1 (GPL Edition) -option
/share/home/user1/.nx/C-server1.vsemi.com-1012-2A354EC51D061034A96D44E3E3575FFF/options
-nolisten tcp :1012
nx 28872 0.0 0.0 28392 1824 ? Sl 11:17 0:00
/usr/bin/expect /usr/bin/nxnode-login -- ssh user1 22 /usr/bin/nxnode
--slave
nx 28874 0.0 0.0 56344 3148 pts/238 Ss+ 11:17 0:00 ssh -2
-x -l user1 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/bin/nxnode
--slave
user1 29402 0.0 0.0 64252 804 ? S 11:17 0:00
/bin/bash /usr/bin/nxnode --slave
user1 29404 0.0 0.0 64380 1728 ? S 11:17 0:00
/bin/bash /usr/bin/nxnode --resumesession
user1 29654 0.0 0.0 58936 568 ? S 11:17 0:00 tail -n1
-f
/share/home/user1/.nx/C-server1.vsemi.com-1012-2A354EC51D061034A96D44E3E3575FFF/session
user1 29655 0.0 0.0 64380 1220 ? S 11:17 0:00
/bin/bash /usr/bin/nxnode --resumesession
nx 30333 0.0 0.0 28392 1828 ? Sl 11:18 0:00
/usr/bin/expect /usr/bin/nxnode-login -- ssh user1 22 /usr/bin/nxnode
--slave
nx 30335 0.0 0.0 56344 3148 pts/245 Ss+ 11:18 0:00 ssh -2
-x -l user1 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/bin/nxnode
--slave
user1 30871 0.0 0.0 64252 808 ? S 11:18 0:00
/bin/bash /usr/bin/nxnode --slave
user1 30873 0.0 0.0 64380 1728 ? S 11:18 0:00
/bin/bash /usr/bin/nxnode --resumesession
user1 31122 0.0 0.0 58936 564 ? S 11:18 0:00 tail -n1
-f
/share/home/user1/.nx/C-server1.vsemi.com-1012-2A354EC51D061034A96D44E3E3575FFF/session
user1 31123 0.0 0.0 64380 1220 ? S 11:18 0:00
/bin/bash /usr/bin/nxnode --resumesession
nx 31971 0.0 0.0 28392 1828 ? Sl 11:20 0:00
/usr/bin/expect /usr/bin/nxnode-login -- ssh user1 22 /usr/bin/nxnode
--slave
nx 31973 0.0 0.0 56344 3148 pts/246 Ss+ 11:20 0:00 ssh -2
-x -l user1 127.0.0.1 -o NumberOfPasswordPrompts 1 -p 22 /usr/bin/nxnode
--slave
user1 32553 0.0 0.0 64252 808 ? S 11:21 0:00
/bin/bash /usr/bin/nxnode --slave
user1 32556 0.0 0.0 64380 1728 ? S 11:21 0:00
/bin/bash /usr/bin/nxnode --resumesession
Regards,
Siamak Shafiei
On Tue, May 22, 2012 at 2:10 PM, Siamak Shafiei <siamak.shafiei at vsemi.com>wrote:
> 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/20120523/3570eabc/attachment.html>
More information about the FreeNX-kNX
mailing list