When I try to connect to nxserver-freenx with nxclient, I get: NX> 1000 NXNODE - Version 1.5.0-50-SVN OS (GPL) /usr/NX/bin/nxserver: line 1077: 8035 Terminated sleep $AGENT_STARTUP_TIMEOUT NX> 105 NX> 596 Session startup failed. NX> 1004 Error: NX Agent exited with exit status 1. Can't open /usr/NX/var/db/running/sessionId{0C3FF291A36B37023970C788B1FBB109}: No such file or directory. mv: cannot stat `/usr/NX/var/db/running/sessionId{0C3FF291A36B37023970C788B1FBB109}': No such file or directoryNX> 1006 Session status: closed NX> 700 Session id: system5-1000-0C3FF291A36B37023970C788B1FBB109 NX> 705 Session display: 1000 NX> 703 Session type: unix-application NX> 701 Proxy cookie: 38268a57f5ee673df31af60daf33d0b3 NX> 702 Proxy IP: 192.168.0.2 NX> 706 Agent cookie: 665f605655cabfc171f1801c0d1d9aae NX> 704 Session cache: unix-application NX> 707 SSL tunneling: 0 NX> 1001 Bye.
See the Bug 149298
Unfortunately adding those lines didn't work. Should I have the nxclient USE flag enabled on nxserver-freenx if I'm trying to connect with nxclient?
Hi, No, you only need the 'nxclient' USE flag if you want to have nxclient installed on the same machine as nxserver-freenx. Could you try the nxserver package from the NX overlay instead, please? This contains a number of fixes, and hopefully will fix your problems. Best regards, Stu
I've installed the nx overlay via layman added: net-misc/nxserver-freenx ~* to package.keywords and package.unmask but: emerge -av nxserver-freenx will only re-emerge the currently installed version. I should have mentioned I'm using amd64.
Hi, You need to 'emerge =net-misc/nxserver-freenx-0.5.0-r1' to get the correct version. Best regards, Stu
I installed it and I'm getting this: NX> 203 NXSSH running with pid: 14485 NX> 285 Enabling skip of SSH config files NX> 200 Connected to address: 192.168.0.3 on port: 22 NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey NX> 204 Authentication failed. I'm sure the username/password are correct. I'm using nxclient-1.4.0-r5.
I should also mention that the error on the box where you click "Detail" or "Close" is: Server not installed or NX remote access disabled
It looks like nxserver-freenx was just removed from amd64?
(In reply to comment #6) > I installed it and I'm getting this: > > NX> 203 NXSSH running with pid: 14485 > NX> 285 Enabling skip of SSH config files > NX> 200 Connected to address: 192.168.0.3 on port: 22 > NX> 202 Authenticating user: nx > NX> 208 Using auth method: publickey > NX> 204 Authentication failed. > > I'm sure the username/password are correct. I'm using nxclient-1.4.0-r5. What happened between this 1.5.0-r1 and the previous 1.5.0.2006... version? I just upgraded and got exactly the same error log. The actual error is "Server not installed or NX access disabled". The system was previously working like a charm. I'm using 2.0 client on Damn Small Linux. The 1.5.0-r1 ebuild in overlay and portage tree are the same. I had no time to emerge the overlay version, though. I tested it a bit further. The client succesfully manages to connect to the server using ssh. Then it just dies immediately after doing something. The text in gentoo-wiki suggests running nxagent separately and testing the connection by running X programs remotely using plain X protocol (ssh -X server). Both tests worked. nx-agent showed an empty (black) window and I was able to run software remotely with plain X. I already tried the pam-ssh patch (bug #142694), setting /var/lib/nxserver/ permissions to 777 and copying old setting from /usr/NX/home/nx/.ssh (bug #154562). No luck. I also tried to set up the system from scratch using the nxsetup script, but it was IMO a bit broken. I had to --override everything. It still believed I have something there after cleaning and purging everything! One other error was Error: Could not find 1.5.0 version string in nxagent. NX 1.5.0 backend is needed for this version of FreeNX. Errors occured during config check. Please correct the configuration file. It appeared after selecting N (do you want to abort now) and N (do you want to use your custom key pair).
Had same problem. Can't login when using nxserver-freenx-0.5.0-r1: NX> 202 Authenticating user: nx NX> 208 Using auth method: publickey NX> 204 Authentication failed. Then I noticed that the configuration path had changed: /usr/NX/etc => /etc/nxserver /usr/NX/home/.nx/ssh => /var/lib/nxserver/.nx/ssh So after mergin my old "node.conf" file with the new one and copying my certificates to the new directory I can login again. In my opinion it could be useful to show a message in the ebuild that these paths had changed in that version.
Hi, Just a note that nxserver-freenx doesn't work on amd64 yet. Best regards, Stu
Might the freenx-nxserver from the nx overlay work with amd64?
Changing bug state.
Does anyone have any version of nxserver-freenx working on an amd64 machine yet?
nxserver-freenx appears to work on amd64 with version 0.6.0 from the nx overlay. No keywords required. I'm getting some strange behavior, but it could be a different problem with my system. nxclient connects and starts the session no problem.
Working 100%.