[FreeNX-kNX] Session Startup Failed

Mathias L. Baumann anonym001 at supradigital.org
Mon May 18 18:21:59 UTC 2009


Hello,

I recently installed the freenx package of my distribution Arch Linux on  
my desktop and the nxclient package on my laptop.
After following the HowTo to configure it, I tried to access the server  
 from my laptop with nxclient.
This worked up to the point where it said

    Session Startup Failed

I tried playing with the init commands, as in, I tried: xterm, ion3,  
default and so on.



After that i turned on debugging.. well I just show you the logs:
Oh yes: the client is 32Bit, the server 64Bit...


File session:

xrdb: No such file or directory
xrdb: Can't open display ':1000'
xterm Xt error: Can't open display: :1000


nxserver.log:

-- NX SERVER START: -c /opt/NX/bin/nxserver - ORIG_COMMAND=
-- NX SERVER START:  - ORIG_COMMAND=
Info: Using fds #4 and #3 for communication with nxnode.
HELLO NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.3.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: marenz
NX> 102 Password:
Info: Auth method: ssh marenz at 127.0.0.1's password:
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
NX> 716 Slave mode started successfully.
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend:  
3.3.0)
nxnode_reader: NX> 716 finished
nxnode_reader: NX> 1001 Bye.

NX> 103 Welcome to: rebooc user: marenz
NX> 105 listsession --user="marenz" --status="suspended,running"  
--geometry="1400x1050x16+render+fullscreen" --type="unix-application"
NX> 127 Sessions list of user 'marenz' for reconnect:

Display Type             Session ID                       Options  Depth  
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- -----  
-------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: marenz
NX> 105 startsession  --virtualdesktop="1" --application="xterm"  
--link="adsl" --backingstore="1" --encryption="1" --cache="16M"  
--images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1"  
--media="0" --session="marenz" --type="unix-application"  
--geometry="1400x1050" --fullscreen="1" --client="linux"  
--keyboard="pc102/de" --screeninfo="1400x1050x16+render+fullscreen"

&virtualdesktop=1&application=xterm&link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=marenz&type=unix-application&geometry=1400x1050&fullscreen=1&client=linux&keyboard=pc102/de&screeninfo=1400x1050x16+render+fullscreen&clientproto=3.2.0&user=marenz&userip=217.86.78.21&uniqueid=843C16197B67CC451B5019FF540D30A0&display=1000&host=127.0.0.1
nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend:  
3.3.0)
NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using backend: 3.3.0)
server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-73 OS (GPL, using  
backend: 3.3.0)
nxnode_reader: /opt/NX/bin/nxnode: line 393: 17336 Segmentation fault       
PATH="$PATH_BIN:$PATH" $PATH_BIN/nxagent $P $R -name "NX -  
$user@$SERVER_NAME:$display - $session (GPL Edition)" -option  
"$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP  
$AGENT_EXTRA_OPTIONS_X :$display 2>&3
/opt/NX/bin/nxnode: line 393: 17336 Segmentation fault       
PATH="$PATH_BIN:$PATH" $PATH_BIN/nxagent $P $R -name "NX -  
$user@$SERVER_NAME:$display - $session (GPL Edition)" -option  
"$USER_FAKE_HOME/.nx/C-$sess_id/options" $K $G $B $FP  
$AGENT_EXTRA_OPTIONS_X :$display 2>&3
nxnode_reader: /opt/NX/bin/nxnode: line 393: 17337 Segmentation fault       
mkdir -p "$USER_FAKE_HOME/.nx/C-$sess_id/pids/"
/opt/NX/bin/nxnode: line 393: 17337 Segmentation fault      mkdir -p  
"$USER_FAKE_HOME/.nx/C-$sess_id/pids/"
nxnode_reader: /opt/NX/bin/nxnode: line 552:  
/home/marenz/.nx/C-rebooc-1000-843C16197B67CC451B5019FF540D30A0/pids/agent:  
No such file or directory
/opt/NX/bin/nxnode: line 552:  
/home/marenz/.nx/C-rebooc-1000-843C16197B67CC451B5019FF540D30A0/pids/agent:  
No such file or directory
nxnode_reader: NX> 1004 Error: NX Agent exited with exit status 1. To  
troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate  
"/home/marenz/.nx/F-C-rebooc-1000-843C16197B67CC451B5019FF540D30A0/session".  
You might also want to try: ssh -X myserver; /opt/NX/bin/nxnode --agent to  
test the basic functionality. Session log follows:
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set  
SESSION_LOG_CLEAN=0 in node.conf and investigate  
"/home/marenz/.nx/F-C-rebooc-1000-843C16197B67CC451B5019FF540D30A0/session".  
You might also want to try: ssh -X myserver; /opt/NX/bin/nxnode --agent to  
test the basic functionality. Session log follows:
NX> 105 nxnode_reader: /opt/NX/bin/nxnode: line 393: 17342 Segmentation  
fault      cat "$USER_FAKE_HOME/.nx/C-$sess_id/session" 1>&2
/opt/NX/bin/nxnode: line 393: 17342 Segmentation fault      cat  
"$USER_FAKE_HOME/.nx/C-$sess_id/session" 1>&2
nxnode_reader: NX> 700 Session id:  
rebooc-1000-843C16197B67CC451B5019FF540D30A0
nxnode_reader: NX> 705 Session display: 1000
nxnode_reader: NX> 703 Session type: unix-application
nxnode_reader: NX> 701 Proxy cookie: b85b6b43924d783285ef6c69b9385818
nxnode_reader: NX> 702 Proxy IP: 127.0.0.1
nxnode_reader: NX> 706 Agent cookie: b85b6b43924d783285ef6c69b9385818
nxnode_reader: NX> 704 Session cache: unix-application
nxnode_reader: NX> 707 SSL tunneling: 1
NX> 700 Session id: rebooc-1000-843C16197B67CC451B5019FF540D30A0
NX> 705 Session display: 1000
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: b85b6b43924d783285ef6c69b9385818
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: b85b6b43924d783285ef6c69b9385818
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1
nxnode_reader: NX> 1006 Session status: closed
NX> 1006 Session status: closed
nxnode_reader: /opt/NX/bin/nxnode: line 393: 17349 Segmentation fault       
rm -f "$USER_FAKE_HOME/.nx/C-$sess_id/pids/agent"
/opt/NX/bin/nxnode: line 393: 17349 Segmentation fault      rm -f  
"$USER_FAKE_HOME/.nx/C-$sess_id/pids/agent"
server_nxnode_echo: NX> 596 Session startup failed.
NX> 596 Session startup failed.
server_nxnode_echo: NX> 1004 Error: NX Agent exited with exit status 1. To  
troubleshoot set SESSION_LOG_CLEAN=0 in node.conf and investigate  
"/home/marenz/.nx/F-C-rebooc-1000-843C16197B67CC451B5019FF540D30A0/session".  
You might also want to try: ssh -X myserver; /opt/NX/bin/nxnode --agent to  
test the basic functionality. Session log follows:
server_nxnode_echo: NX> 700 Session id:  
rebooc-1000-843C16197B67CC451B5019FF540D30A0
server_nxnode_echo: NX> 705 Session display: 1000
server_nxnode_echo: NX> 703 Session type: unix-application
server_nxnode_echo: NX> 701 Proxy cookie: b85b6b43924d783285ef6c69b9385818
server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
server_nxnode_echo: NX> 706 Agent cookie: b85b6b43924d783285ef6c69b9385818
server_nxnode_echo: NX> 704 Session cache: unix-application
server_nxnode_echo: NX> 707 SSL tunneling: 1
session_close 843C16197B67CC451B5019FF540D30A0
server_nxnode_echo: NX> 1006 Session status: closed
nxnode_reader: /opt/NX/bin/nxnode: line 113: 17367 Segmentation fault       
rm -f /tmp/.X$NODE_DISPLAY-lock
/opt/NX/bin/nxnode: line 113: 17367 Segmentation fault      rm -f  
/tmp/.X$NODE_DISPLAY-lock
nxnode_reader: /opt/NX/bin/nxnode: line 113: 17368 Segmentation fault       
rm -f /tmp/.X11-unix/X$NODE_DISPLAY
/opt/NX/bin/nxnode: line 113: 17368 Segmentation fault      rm -f  
/tmp/.X11-unix/X$NODE_DISPLAY
nxnode_reader: /opt/NX/bin/nxnode: line 113: 17369 Segmentation fault       
$COMMAND_XAUTH -v source "$USER_FAKE_HOME/.nx/C-$1/scripts/authority" >  
/dev/null 2>&1
/opt/NX/bin/nxnode: line 113: 17369 Segmentation fault      $COMMAND_XAUTH  
-v source "$USER_FAKE_HOME/.nx/C-$1/scripts/authority" > /dev/null 2>&1
nxnode_reader: /opt/NX/bin/nxnode: line 113: 17370 Segmentation fault       
mv "$USER_FAKE_HOME/.nx/C-$1/" "$USER_FAKE_HOME/.nx/F-C-$1"
/opt/NX/bin/nxnode: line 113: 17370 Segmentation fault      mv  
"$USER_FAKE_HOME/.nx/C-$1/" "$USER_FAKE_HOME/.nx/F-C-$1"
nxnode_reader: /opt/NX/bin/nxnode: line 393: 17371 Segmentation fault       
rm -f /tmp/.X$display-lock
/opt/NX/bin/nxnode: line 393: 17371 Segmentation fault      rm -f  
/tmp/.X$display-lock
nxnode_reader: /opt/NX/bin/nxnode: line 393: 17372 Segmentation fault       
rm -f /tmp/.X11-unix/X$display
/opt/NX/bin/nxnode: line 393: 17372 Segmentation fault      rm -f  
/tmp/.X11-unix/X$display
nxnode_reader: NX> 1001 Bye.
NX> 1001 Bye.
server_nxnode_echo: NX> 1001 Bye.
Info: Closing connection to slave with pid 16810.
Info: Closing connection to slave with pid 16810.





I noted the segfault of common comands like mv, rm, mkdir in the log, so i  
tried to put own commands in the nxnode scriipt to get more information.
But no matter which command i put in (whoami, pwd, ls,touch) they all  
segfaulted. However, doing the same in nxserver did work.

I appretiate any help :)


--Marenz



More information about the FreeNX-kNX mailing list