Reply To: Configure NX to connect to desktop manager in display :1?

Forum / NoMachine for Linux / Configure NX to connect to desktop manager in display :1? / Reply To: Configure NX to connect to desktop manager in display :1?

#4225
Jugdish
Participant

Hi, I’ve followed the instructions given, but I receive this error when trying to connect from another machine:

<No available sessions on this server>
The server was unable to make the local display available or access to the local display is disabled.

I have started a second X server on display :1 and I am running Xfce4 window manager on that display. When I hit Ctrl+Alt+F8 on the server, I see Xfce4 running fine.

I’ve also updated /usr/NX/etc/node.cfg to add the following line at the bottom:

DisplayDefault :1

(I should note that “DisplayDefault” was not among any of the keys listed in that file, and as far as I can tell is completely undocumented.)

I then restarted nxserver. So now here are all the relevant processes currently running:

1204 ? Ss 0:00 xinit startxfce4 — :1 vt8
1210 tty8 Ss+ 0:25 X :1 vt8
1549 ? S 0:00 xterm -geometry +1+1 -n login startxfce4
1556 pts/1 Ss+ 0:00 /bin/sh /etc/xdg/xfce4/xinitrc — /etc/X11/xinit/xserverrc
1577 pts/1 Sl+ 0:00 xfce4-session
1617 pts/1 S+ 0:00 xfwm4
2026 ? Sl 0:01 /usr/NX/bin/nxserver.bin root 1543 –startup
2047 ? Sl 0:00 /usr/NX/bin/nxd
2567 ? Sl 0:03 /usr/NX/bin/nxserver.bin -c /etc/NX/nxserver –login -H 6
25414 ? Sl 0:00 /usr/NX/bin/nxserver.bin –localsession

…and yet I cannot connect from another machine. Any ideas?