[FreeNX-kNX] Freenx on Fedora 8 (Urgent)

Alastair Johnson alastair at solutiontrax.com
Thu Jun 5 10:41:06 UTC 2008


I have had no trouble with either the Fedora 8 or CentOS 5 packages on 
their respective OS versions, but I've not tried F8 on CentOS or vice 
versa. Rest assured they can work.

The 'Address already in use', on the rare occasions I've seen it, has 
usually been due to having 2 client sessions connecting to different 
servers trying to use the same display number. If this is the case then 
it's possible to set a different starting display on one of the servers.

If you only had one client session it is possible some other process was 
using the port. Check on both the client and the server.

Steve Bergman wrote:
> First, I apologize for the "urgent" tag on this.  I prefer not to use 
> it, but if there was ever a time to use it, I think this is it.  I'm at 
> wit's end.
> 
> I am desperately trying to get nx running on Fedora 8 and have about 8 
> hours before my 70 users expect me to have it working.  The packages 
> which get installed when I "yum update freenx" are these:
> 
> freenx-server-0.7.2-8.fc8
> nx-2.1.0-22.fc7
> 
> When I try to connect (I'm using the 3.2.0-9 nomachine client) it gets 
> to "Downloading session information" and then gives me a "connection 
> error" dialog. I am listing the contents of that dialog, the contents of 
> the file it says to look at, and the contents of the nxserver.log file.  
> 
> I should say that I was using the CentOS 5 packages and they were 
> working well until it just mysteriously broke over the weekend.  I'm 
> switching to the F8 packages because I assume people would be better 
> able to help if I am using the F8 packages.
> 
> This part jumps out at me:
> 
> Error: Call to bind failed for TCP port 6000. Error is 98 'Address 
> already in use'.
> 
> ==========================
> Details dialog:
> 
> NX> 203 NXSSH running with pid: 11020
> 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.218.2 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 2.1.0-72 OS (GPL, using backend: 2.1.0)
> NX> 105 hello NXCLIENT - Version 2.1.0
> NX> 134 Accepted protocol: 2.1.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: steve
> NX> 102 Password:
> NX> 103 Welcome to: hagar.localdomain user: steve
> NX> 105 listsession --user="steve" --status="suspended,running" 
> --geometry="1680x1050x24+render" --type="unix-gnome"
> NX> 127 Sessions list of user 'steve' for reconnect:
> 
> Display Type             Session ID                       Options  Depth 
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- ----- 
> -------------- ----------- ------------------------------
> 
> 
> NX> 148 Server capacity: not reached for user: steve
> NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" 
> --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" 
> --composite="1" --media="0" --session="Hagar" --type="unix-gnome" 
> --geometry="1680x1050" --client="linux" --keyboard="pc105/us" 
> --screeninfo="1680x1050x24+render"
> 
> NX> 1000 NXNODE - Version 2.1.0-72 OS (GPL, using backend: 2.1.0)
> NX> 700 Session id: hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6
> NX> 705 Session display: 2000
> NX> 703 Session type: unix-gnome
> NX> 701 Proxy cookie: 0cccf97e0801c602012713a9ff052bb0
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 0cccf97e0801c602012713a9ff052bb0
> NX> 704 Session cache: unix-gnome
> NX> 707 SSL tunneling: 1
> NX> 105 NX> 596 Session startup failed.
> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
> SESSION_LOG_CLEAN=0 in node.conf and investigate 
> "/home/steve/.nx/F-C-hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6/session". 
> You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode 
> --agent to test the basic functionality. Session log follows:
> NX> 1009 Session status: starting
> /usr/libexec/nx/nxserver: line 1368: 27336 Terminated              sleep 
> $AGENT_STARTUP_TIMEOUT
> Can't open 
> /var/lib/nxserver/db/running/sessionId{0DDB30AB924E65400D19886C463578C6}: 
> No such file or directory.
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> mv: cannot stat 
> `/var/lib/nxserver/db/running/sessionId{0DDB30AB924E65400D19886C463578C6}': 
> No such file or directory
> NX> 280 Exiting on signal: 15
> 
> ==========================================================================
> Contents of the "session" file:
> 
> NXAGENT - Version 2.1.0
> 
> Copyright (C) 2001, 2006 NoMachine.
> See http://www.nomachine.com/ for more information.
> 
> Info: Agent running with pid '27607'.
> Session: Starting session at 'Tue Jun  3 21:12:45 2008'.
> Loop: WARNING! Ignoring unknown option 'menu' with value '1'.
> Warning: Ignoring unknown option 'menu' with value '1'.
> Info: Proxy running in server mode with pid '27607'.
> Error: Call to bind failed for TCP port 6000. Error is 98 'Address 
> already in use'.
> 
> Fatal server error:
> Error: Unable to open display 
> 'nx/nx,options=/home/steve/.nx/C-hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6/options:2000'.
> 
> ==========================================================================
> Contents of the nxserver.log file:
> 
> -- NX SERVER START:  - ORIG_COMMAND=
> HELLO NXSERVER - Version 2.1.0-72 OS (GPL, using backend: 2.1.0)
> NX> 105 hello NXCLIENT - Version 2.1.0
> NX> 134 Accepted protocol: 2.1.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: steve
> NX> 102 Password:
> Info: Auth method: passdb ssh
> NX> 103 Welcome to: hagar.localdomain user: steve
> NX> 105 listsession --user="steve" --status="suspended,running" 
> --geometry="1680x1050x24+render" --type="unix-gnome"
> NX> 127 Sessions list of user 'steve' for reconnect:
> 
> Display Type             Session ID                       Options  Depth 
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- ----- 
> -------------- ----------- ------------------------------
> 
> 
> NX> 148 Server capacity: not reached for user: steve
> NX> 105 startsession  --link="adsl" --backingstore="1" --encryption="1" 
> --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" 
> --composite="1" --media="0" --session="Hagar" --type="unix-gnome" 
> --geometry="1680x1050" --client="linux" --keyboard="pc105/us" 
> --screeninfo="1680x1050x24+render"
> 
> &link=adsl&backingstore=1&encryption=1&cache=16M&images=64M&shmem=1&shpix=1&strict=0&composite=1&media=0&session=Hagar&type=unix-gnome&geometry=1680x1050&client=linux&keyboard=pc105/us&screeninfo=1680x1050x24+render&clientproto=2.1.0&user=steve&userip=192.168.42.242&uniqueid=0DDB30AB924E65400D19886C463578C6&display=2000&host=127.0.0.1 
> 
> steve at 127.0.0.1's password:
> NX> 1000 NXNODE - Version 2.1.0-72 OS (GPL, using backend: 2.1.0)
> server_nxnode_echo: NX> 1000 NXNODE - Version 2.1.0-72 OS (GPL, using 
> backend: 2.1.0)
> NX> 700 Session id: hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6
> NX> 705 Session display: 2000
> NX> 703 Session type: unix-gnome
> NX> 701 Proxy cookie: 0cccf97e0801c602012713a9ff052bb0
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 0cccf97e0801c602012713a9ff052bb0
> NX> 704 Session cache: unix-gnome
> NX> 707 SSL tunneling: 1
> server_nxnode_echo: NX> 700 Session id: 
> hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6
> server_nxnode_echo: NX> 705 Session display: 2000
> server_nxnode_echo: NX> 703 Session type: unix-gnome
> server_nxnode_echo: NX> 701 Proxy cookie: 0cccf97e0801c602012713a9ff052bb0
> server_nxnode_echo: NX> 702 Proxy IP: 127.0.0.1
> server_nxnode_echo: NX> 706 Agent cookie: 0cccf97e0801c602012713a9ff052bb0
> server_nxnode_echo: NX> 704 Session cache: unix-gnome
> server_nxnode_echo: NX> 707 SSL tunneling: 1
> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
> SESSION_LOG_CLEAN=0 in node.conf and investigate 
> "/home/steve/.nx/F-C-hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6/session". 
> You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode 
> --agent to test the basic functionality. Session log follows:
> NX> 1009 Session status: starting
> 
> NXAGENT - Version 2.1.0
> 
> Copyright (C) 2001, 2006 NoMachine.
> See http://www.nomachine.com/ for more information.
> 
> Info: Agent running with pid '27607'.
> Session: Starting session at 'Tue Jun  3 21:12:45 2008'.
> Loop: WARNING! Ignoring unknown option 'menu' with value '1'.
> Warning: Ignoring unknown option 'menu' with value '1'.
> Info: Proxy running in server mode with pid '27607'.
> Error: Call to bind failed for TCP port 6000. Error is 98 'Address 
> already in use'.
> 
> Fatal server error:
> Error: Unable to open display 
> 'nx/nx,options=/home/steve/.nx/C-hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6/options:2000'.
> 
> NX> 1006 Session status: closed
> NX> 105 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/steve/.nx/F-C-hagar.localdomain-2000-0DDB30AB924E65400D19886C463578C6/session". 
> You might also want to try: ssh -X myserver; /usr/libexec/nx/nxnode 
> --agent to test the basic functionality. Session log follows:
> server_nxnode_echo: NX> 1009 Session status: starting
> session_close 0DDB30AB924E65400D19886C463578C6
> server_nxnode_echo: NX> 1006 Session status: closed
> NX> 1001 Bye.
> server_nxnode_echo: NX> 1001 Bye.
> 
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________




More information about the FreeNX-kNX mailing list