← Back to team overview

freenx-team team mailing list archive

Re: Can not resume session

 

--
Zaar



On Thu, Jan 22, 2009 at 6:23 PM, Marcelo Boveto Shima
<marceloshima@xxxxxxxxx> wrote:
> At nxserver:
>
>         # now start the node
>         sleep $AGENT_STARTUP_TIMEOUT &
>         SERVER_WAIT_PID=$!
>         ( server_nxnode_start_wait --"$ACTION"session $USER "$FULL_PARAMS" )
> &
>         SERVER_PID=$!
>         disown $SERVER_PID
>
>         wait $SERVER_WAIT_PID
>
>         if [ $? -eq 0 ]
>         then
>                 # Something went wrong ...
>                 [ "$ACTION" = "start" ] && session_fail $uniqueid
>                 echo_x "NX> 1004 Error: Session did not start."
>                 echo_x "NX> 596 Session $ACTION failed."
>                 echo_x "NX> 999 Bye"
>                 # FIXME: Send node signal to terminate
>                 exit 1
>         fi
>
> This error is too generic.
> Maybe you the files at /home/USER/.nx/[C|T|F]-HOSTNAME-SESSIONID/
> could help.
I've entered dir that belongs to this session - nothing significant
there; session file is empty. How can I debug what going on in
(server_nxnode_start_wait --"$ACTION"session $USER "$FULL_PARAMS")?

>
> On Thu, Jan 22, 2009 at 12:49 PM, Hai Zaar <haizaar@xxxxxxxxxxx> wrote:
>>
>> --
>> Zaar
>>
>>
>>
>> On Thu, Jan 22, 2009 at 3:33 PM, Marcelo Boveto Shima
>> <marceloshima@xxxxxxxxx> wrote:
>> > Who often this problem happens?
>> > I never close my session, and never had this problem.
>> For my user - almost never (once in a month or so). However it
>> happened again now, and may be we can debug the problem somehow. Any
>> ideas?
>>
>> >
>> > On Thu, Jan 22, 2009 at 6:37 AM, Hai Zaar <haizaar@xxxxxxxxx> wrote:
>> >>
>> >> Server OS: Debian lenny amd64.
>> >> freenx version: 0.7.3+svn612-0freenxteam4 (rebuilt for on Debian)
>> >>
>> >> Problem: can not resume session. The session is usually suspended and
>> >> restored from my laptop, and I did suspend/restore it several times
>> >> (this specific session) before I got to these errors:
>> >>
>> >> -- NX SERVER START: -c /usr/lib/nxserver - ORIG_COMMAND=
>> >> -- NX SERVER START:  - ORIG_COMMAND=
>> >> Info: Using fds #4 and #3 for communication with nxnode.
>> >> HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
>> >> 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: haizaar
>> >> NX> 102 Password:
>> >> Info: Auth method: ssh haizaar@127.0.0.1's password:
>> >> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
>> >> NX> 716 Slave mode started successfully.
>> >> nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using
>> >> backend: 3.2.0)
>> >> nxnode_reader: NX> 716 finished
>> >> nxnode_reader: NX> 1001 Bye.
>> >>
>> >> NX> 103 Welcome to: fornovia user: haizaar
>> >> NX> 105 listsession --user="haizaar" --status="suspended,running"
>> >> --geometry="1280x800x24+render" --type="unix-kde"
>> >> NX> 127 Sessions list of user 'haizaar' for reconnect:
>> >>
>> >> Display Type             Session ID                       Options
>> >> Depth Screen         Status      Session Name
>> >> ------- ---------------- -------------------------------- --------
>> >> ----- -------------- ----------- ------------------------------
>> >> 1060    unix-kde         41EB1F337B810DF41016CAD87C218F35 -RD--PSA
>> >> 24 1920x1149      Suspended   Fornovia-LAN
>> >>
>> >>
>> >> NX> 148 Server capacity: not reached for user: haizaar
>> >> NX> 105 restoresession  --link="wan" --backingstore="1"
>> >> --encryption="1" --cache="32M" --images="64M" --defer="0" --shmem="1"
>> >> --shpix="1" --strict="0" --composite="1" --media="0"
>> >> --imagecompressionmethod="2" --render="1" --session="Fornovia-LAN"
>> >> --type="unix-kde" --geometry="1280x749" --client="linux"
>> >> --keyboard="pc102/ru" --id="41EB1F337B810DF41016CAD87C218F35"
>> >>
>> >> Info: Using /etc/nxserver/nxacl to change session parameters or deny
>> >> session.
>> >> nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using
>> >> backend: 3.2.0)
>> >> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
>> >> server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL,
>> >> using backend: 3.2.0)
>> >> nxnode_reader: NX> 700 Session id:
>> >> fornovia-1060-41EB1F337B810DF41016CAD87C218F35
>> >> NX> 700 Session id: fornovia-1060-41EB1F337B810DF41016CAD87C218F35
>> >> nxnode_reader: NX> 705 Session display: 1060
>> >> nxnode_reader: NX> 703 Session type: unix-kde
>> >> server_nxnode_echo: NX> 700 Session id:
>> >> fornovia-1060-41EB1F337B810DF41016CAD87C218F35
>> >> nxnode_reader: NX> 701 Proxy cookie: 6ac8cb675b382fbbb9086509922ba23f
>> >> nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
>> >> nxnode_reader: NX> 706 Agent cookie: 6ac8cb675b382fbbb9086509922ba23f
>> >> nxnode_reader: NX> 704 Session cache: unix-kde
>> >> nxnode_reader: NX> 707 SSL tunneling: 1
>> >> NX> 705 Session display: 1060
>> >> NX> 703 Session type: unix-kde
>> >> NX> 701 Proxy cookie: 6ac8cb675b382fbbb9086509922ba23f
>> >> NX> 702 Proxy IP: 127.0.0.1
>> >> NX> 706 Agent cookie: 6ac8cb675b382fbbb9086509922ba23f
>> >> NX> 704 Session cache: unix-kde
>> >> NX> 707 SSL tunneling: 1
>> >> server_nxnode_echo: NX> 705 Session display: 1060
>> >> server_nxnode_echo: NX> 703 Session type: unix-kde
>> >> server_nxnode_echo: NX> 701 Proxy cookie:
>> >> 6ac8cb675b382fbbb9086509922ba23f
>> >> server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
>> >> server_nxnode_echo: NX> 706 Agent cookie:
>> >> 6ac8cb675b382fbbb9086509922ba23f
>> >> server_nxnode_echo: NX> 704 Session cache: unix-kde
>> >> server_nxnode_echo: NX> 707 SSL tunneling: 1
>> >> NX> 1004 Error: Session did not start.
>> >> Info: Closing connection to slave with pid 32517.
>> >> nxnode_reader: 1001 Bye.
>> >> 1001 Bye.
>> >>
>> >> --
>> >> Zaar
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~freenx-team
>> >> Post to     : freenx-team@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~freenx-team
>> >> More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~freenx-team
>> > Post to     : freenx-team@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~freenx-team
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>> >
>
>



References