Nomachine server error on fresh 12.1x64 install

I’ve never had a problem with nomachine nx server on opensuse before, even on 12.1x64 - usually up and running in minutes. I’ve been googling around the last few hours trying to solve a persistent problem. Tried deleting .Xauthority files, uninstalling and reinstalling, making sure the sshd was pointing on 2223, dropped my firewall, but this error message doesn’t give me much other information. Anyone seen this before? I’m about to try reinstalling OpenSuSE!

May 29 17:19:53 TYAN-III systemd-logind[1411]: New session 3 of user patti.
May 29 17:19:53 TYAN-III systemd-logind[1411]: Removed session 3.
May 29 17:19:53 TYAN-III NXSERVER-3.5.0-11[2658]: Selected node host:localhost with port:2223 ‘main::selectNode’
May 29 17:19:53 TYAN-III NXSERVER-3.5.0-11[2658]: Current selected node: localhost is in status: running ‘main::selectNode’
May 29 17:19:53 TYAN-III NXSERVER-3.5.0-11[2658]: Selected session type: unix-kde allowed in the profile of user: patti ‘NXShell::Static’
May 29 17:19:54 TYAN-III sshd[2705]: Accepted publickey for patti from ::1 port 36669 ssh2
May 29 17:19:54 TYAN-III systemd-logind[1411]: New session 4 of user patti.
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 ERROR: NXNODE Ver. 3.5.0-9 (Error id e6BA038) [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 ERROR: create session: run commands [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 ERROR: execution of last command failed [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 last command: /usr/bin/xauth -v -f /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority source /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/scripts/authority [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 exit value: 1 [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 stdout: Using authority file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 Writing authority file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 stderr: /usr/bin/xauth: file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority does not exist [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 /usr/bin/xauth: /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/scripts/authority:3: bad display name “TYAN-III:1006” in “add” command [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 . [e6BA038] Logger::log nxnode 2963
May 29 17:19:57 TYAN-III NXNODE-3.5.0-9[2709]: ERROR: NX> 596 init: stdin arguments: user=patti,userip=130%2e221%2e56%2e236,uniqueid=6810909A1CD50BDF563795D2BFA48D8B,display=1006,node_number=0,server_name=TYAN%2dIII,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=192%2e168%2e1%2e2,encryption_mode=3,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,encryption=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=Tyan%2dIII,shmem=1,type=unix%2dkde,virtualdesktop=1,screeninfo=1594x1142x32%2brender,keyboard=pc102%2fen_US,geometry=1594x1142,link=wan Logger::log nxnode 2963
May 29 17:19:58 TYAN-III NXNODE-3.5.0-9[2709]: getting agent pid: cannot read pid file ‘/home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/pids/agent’. Exiting. main::get_agent_pid nxnode 9042
May 29 17:19:58 TYAN-III NXNODE-3.5.0-9[2709]: directory ‘/home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B’ moved into ‘/home/patti/.nx/F-C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B’ for investigation Logger::log nxnode 9099
May 29 17:19:58 TYAN-III systemd-logind[1411]: Removed session 4.
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 ERROR: NXNODE Ver. 3.5.0-9 (Error id e6BA038)
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 ERROR: create session: run commands
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 ERROR: execution of last command failed
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 last command: /usr/bin/xauth -v -f /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority source /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/scripts/authority
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 exit value: 1
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 stdout: Using authority file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 Writing authority file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 stderr: /usr/bin/xauth: file /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/authority does not exist
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 /usr/bin/xauth: /home/patti/.nx/C-TYAN-III-1006-6810909A1CD50BDF563795D2BFA48D8B/scripts/authority:3: bad display name “TYAN-III:1006” in “add” command
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NX> 596 init: stdin arguments: user=patti,userip=130%2e221%2e56%2e236,uniqueid=6810909A1CD50BDF563795D2BFA48D8B,display=1006,node_number=0,server_name=TYAN%2dIII,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=192%2e168%2e1%2e2,encryption_mode=3,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,encryption=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=Tyan%2dIII,shmem=1,type=unix%2dkde,virtualdesktop=1,screeninfo=1594x1142x32%2brender,keyboard=pc102%2fen_US,geometry=1594x1142,link=wan
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NXNodeExec::exec(‘startsession’, ‘user=patti&userip=130%2e221%2e56%2e236&uniqueid=6810909A1CD50BDF…’, ‘localhost’, 2223) called at handlers/nxserver.pl line 3582
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NXShell::handler_session_start(’–link=“wan” --backingstore=“1” --encryption=“1” --cache=“16M” -…’) called at NXShell.pm line 373
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NXShell::handle_command(‘startsession’, ‘–link=“wan” --backingstore=“1” --encryption=“1” --cache=“16M” -…’) called at NXShell.pm line 145
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) NXShell::run() called at nxserver.pl line 4497
May 29 17:19:58 TYAN-III NXSERVER-3.5.0-11[2658]: ERROR: (exception id 9E2F5F9E) eval {…} called at nxserver.pl line 4456
May 29 17:19:58 TYAN-III systemd-logind[1411]: Removed session 2.
May 29 17:24:34 TYAN-III su: (to root) patti on /dev/pts/3
May 29 17:24:34 TYAN-III systemd-logind[1411]: New session c3 of user root.
May 29 17:24:34 TYAN-III systemd-logind[1411]: Removed session c3.
May 29 17:24:34 TYAN-III su: (to root) patti on /dev/pts/3
May 29 17:24:34 TYAN-III systemd-logind[1411]: New session c4 of user root.

A dumb question … I see it is complaining about permissions in at least one location. Did you add the user to the group vboxusers (or what ever it is called - I can’t recall at the moment) and then log out of linux (not just Xwindow) and log back in again. Or just restart.

My apologies for this basic question, but I could not tell from your post if this had been done, and I do not know what error messages a failure to do that would generate.

check the ownerships on the files in /usr/NX/etc directory, sometimes they get changed to root but should be owned by nx:nx.
Also if reintalling nx delelete the whole /usr/NX directory . you can also try moving the ~/.nx directory so it gets rebuilt the first time it starts.

The nxserver command can output useful information.
nxserver --list
nxserver --userlisr

It was a fresh install of OpenSuSE12.1 - so I just did what I always do, install, then check to make sure the server was running - and bam this result. On a whim, I uninstalled nomachine and installed FreeNX server - and it seems to work fine. I did have to issue:

> nxsetup --install --setup-nomachine-key --clean --purge

But so far I didn’t have to change any config files to get the remote client to use port 2223 (instead of 22) - although I did install SSHD and told it to listen to 2223. I use that other port to forward between two different machines running nx.

THANK YOU - (hopefully it’s fixed) - I was going to reinstall 12.1 this AM but this saved me.