[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    Re: [FreeNX-kNX] Freenx on Fedora 8 (Urgent)
From:       Jeremy Wilkins <wjeremy () shaw ! ca>
Date:       2008-06-05 18:55:19
Message-ID: 17677114.post () talk ! nabble ! com
[Download RAW message or body]


Assuming that this is a port conflict as it seems to be your first possible
solution is to change the base port number in your config node.conf file
from 1000 to 1001 or higher:

enable the line:
DISPLAY_BASE00

and change it to something else to test.  I have had port conflicts with
port 6000 on Debian as well so I had to change it in the default package
install to:
DISPLAY_BASE01

this seems to push the port to 6001 and fix many random failures to connect.

The support forum for (KX)Ubuntu that I maintain is here:
http://ubuntuforums.org/showthread.php?tb0057

Its the top page in Google if you search for: freenx gutsy

There is lots of good support info there.


Alastair Johnson wrote:
> 
> 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­sl&backingstore=1&encryption=1&cacheM&imagesdM&shmem=1&shpix=1&strict=0&com \
> > posite=1&media=0&session=Hagar&type=unix-gnome&geometry80x1050&client=linux&keybo \
> > ard=pc105/us&screeninfo80x1050x24+render&clientproto=2.1.0&user=steve&userip2.168.42.242&uniqueid
> > 
DB30AB924E65400D19886C463578C6&display 00&host7.0.0.1
> > 
> > steve@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@kde.org
> > https://mail.kde.org/mailman/listinfo/freenx-knx
> > ________________________________________________________________
> 
> ________________________________________________________________
> 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@kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
> 
> 

--
View this message in context: \
http://www.nabble.com/Freenx-on-Fedora-8-%28Urgent%29-tp17665233p17677114.html Sent \
from the freenx-knx mailing list archive at Nabble.com.

________________________________________________________________
     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@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic