HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Problem with Starting FreeNX. Followed Guide. Centos. Dont think GNOME is running. (

crewxp 13th August 2007 21:29

Problem with Starting FreeNX. Followed Guide. Centos. Dont think GNOME is running.
Problem with Starting FreeNX. Followed Guide. Centos. Dont think GNOME is running.
Hey, using a guide found at:

I installed freenx and the client on the server, then downloaded the client on my windows pc.

The Server is running CentOs 5.0, cpanel 11, and I also had GNOME installed.

The problem is, I don't think GNOME is setup, or running.

When Connecting I get this:


NX> 203 NXSSH running with pid: 5812
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: on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 1.5.0-60 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 login
NX> 101 User: crewxp
NX> 102 Password:
NX> 103 Welcome to: user: crewxp
NX> 105 listsession --user="crewxp" --status="suspended,running" --geometry="3840x2400x32+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'crewxp' for reconnect:

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

NX> 148 Server capacity: not reached for user: crewxp
NX> 105 startsession --link="adsl" --backingstore="1" --cache="16M" --images="64M" --media="0" --session="" --type="unix-gnome" --geometry="3840x2400" --fullscreen="1" --kbtype="pc102/en_US" --screeninfo="3840x2400x32+render+fullscreen"

NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id:
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 3d231db82ebaad182c25969704ceaf15
NX> 702 Proxy IP:
NX> 706 Agent cookie: 3d231db82ebaad182c25969704ceaf15
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1009 Session status: starting
NX> 710 Session status: running
NX> 1002 Commit
NX> 105 /usr/bin/nxserver: line 1190: 31685 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{ABB92BE2A15206F134F0AB649A63DF70}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId{ABB92BE2A15206F134F0AB649A63DF70}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
Killed by signal 15.
Hopefully this will be my last obstacle with installing freenx

falko 14th August 2007 14:54

Can you log in to the desktop directly on the CentOS system?

crewxp 14th August 2007 19:21

no I'm not able to, as its a headless sever that's hosted in a datacenter. I just have access via ssh. That's one of the reasons we need freenx enabled.


till 14th August 2007 20:10

Maybe the directory where the nxserver stores its sessions is not there or it is not writable for the nxserver process. Please post the output of:

ls -la /var/lib/nxserver/db/running/

crewxp 14th August 2007 21:28

[root@10 ~]# ls -la /var/lib/nxserver/db/running/
total 8
drwx------ 2 nx root 4096 Aug 14 12:08 .
drwx------ 5 nx root 4096 Aug 14 01:40 ..
[root@10 ~]#

is there any way I can give you access to my server, so you can check it out for yourself? I've worked 2 days on it so far, still no luck.

Thanks :D

pcf2k 21st February 2008 03:07

Hi, I have the same problem. Did you find how to setup correctly ? Thanks

All times are GMT +2. The time now is 14:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.