Jugdish

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • AvatarJugdish
    Participant

    Ok, I’ve made progress, but still not working correctly. I upgraded nxserver to the latest version, so it now recognises the DisplayDefault key. I can now remote connect to my server using NoMachine, and I no longer receive the “No available sessions on this server” error message.

    Instead, I am presented with a black screen. This seems to be tied to the XBMC instance running in full screen on DISPLAY :0. If I ssh into the server and kill the XBMC process, suddenly the remote NX window flashes and jumps to DISPLAY :1 where I am greeted with the Xfce4 desktop running there.

    The question is, why is the XBMC process interfering with the NX window if it’s running in DISPLAY :0 and NX is supposed to be connecting to DISPLAY :1 ?

    AvatarJugdish
    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?

    AvatarJugdish
    Participant

    Perfect, those are exactly the kind of links I was after, thanks very much for your help!

    AvatarJugdish
    Participant

    Hi, thanks for your reply. So would this be a second instance of the X server used for DISPLAY :1 ?

    At the moment my machine boots up in console mode, and I have an upstart script which launches XBMC via xinit. So the X server is started just for the XBMC process. To start a DM in DISPLAY :1 would this also be done via xinit, or can I somehow re-use the same X session that was spawned for XBMC?

Viewing 4 posts - 1 through 4 (of 4 total)