I have been using NX earlier today installing savane onto the server.
The installation complete with everything working. I was logged on the NX at that time, but i reboot the server using SSH with putty
After the reboot, the FreeNX server starts to stop me from accessing it.
The error log on the NoMachine Client is as follows:
====================================================================================
NX> 203 NXSSH running with pid: 5940
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.5 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60-SVN OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: root
NX> 102 Password:
NX> 103 Welcome to: XQSVR200611 user: root
NX> 105 listsession --user="root" --status="suspended,running" --geometry="1280x1024x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'root' for reconnect:
Display Type Session ID Options Depth Screen Status Session Name
------- ---------------- -------------------------------- -------- ----- -------------- ----------- ------------------------------
NX> 148 Server capacity: not reached for user: root
NX> 105 startsession --link="lan" --backingstore="1" --nodelay="1" --encryption="1" --cache="32M" --images="64M" --media="0" --session="XQSVR200611" --type="unix-gnome" --geometry="1280x994" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="1280x1024x32+render+fullscreen"
NX> 1000 NXNODE - Version 1.5.0-60-SVN OS (GPL)
NX> 700 Session id: XQSVR200611-1000-1279B1D659A32AEF7AA88D7C50CA5619
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 64b824b7aa9edb0a55c6e220710fba3c
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 64b824b7aa9edb0a55c6e220710fba3c
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 1190: 6719 Terminated sleep $AGENT_STARTUP_TIMEOUT
NX> 1006 Session status: running
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1.
Can't open /var/lib/nxserver/db/running/sessionId{1279B1D659A32AEF7AA88D7C50CA5619}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{1279B1D659A32AEF7AA88D7C50CA5619}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
bye
Killed by signal 15.
====================================================================================
Please advise how should I resolve this problem.
FreeNX - Barring me from accessing remote server.
FreeNX - Barring me from accessing remote server.
I did not have it runnig on CentOS 5, but it seems that you need to cleanup NX (server and client) probably some sessions weren't closed correctly.
Re: FreeNX - Barring me from accessing remote server.
I had this happen to me yesterday --
Here are some things to try / check:
1. updated my client to 2.1.0.17 from www.nomachine.com
2. nxserver --help to get a list of commands. Did a nxserver --restart
3. I cleaned out my ssh folder on my windows box - c:\documents and settings\username\ssh
4. Check the settings for the client and make sure that it is actually set for gnome
5. Also - I noticed that you are logging in as root -- in the sshd_conf file - is root login allowed?
6. Have you created an account in nxserver?
nxserver --adduser username
nxserver --passwd username
Hope this helps...
Here are some things to try / check:
1. updated my client to 2.1.0.17 from www.nomachine.com
2. nxserver --help to get a list of commands. Did a nxserver --restart
3. I cleaned out my ssh folder on my windows box - c:\documents and settings\username\ssh
4. Check the settings for the client and make sure that it is actually set for gnome
5. Also - I noticed that you are logging in as root -- in the sshd_conf file - is root login allowed?
6. Have you created an account in nxserver?
nxserver --adduser username
nxserver --passwd username
Hope this helps...
Re: FreeNX - Barring me from accessing remote server.
Maybe you have some stale NX sessions. Try as root
[code]
# nxserver --cleanup
[/code]
[code]
# nxserver --cleanup
[/code]
Re: FreeNX - Barring me from accessing remote server.
Hi guys.
I am not able to resolve it... with all the methods you guys have suggested.
My NX server is totally broken and i do not know how to return it to what is used to be.
My only resort now for this server is to reformat the server.
I am not able to resolve it... with all the methods you guys have suggested.
My NX server is totally broken and i do not know how to return it to what is used to be.
My only resort now for this server is to reformat the server.