Black screen on connection to Linux NoMachine Server

Forum / NoMachine for Linux / Black screen on connection to Linux NoMachine Server

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20955
    dttsou
    Participant

    Have just installed NoMachine on Ubuntu 18.04, and connecting to it from Windows 10 client.

    However, when I connect to the Ubuntu machine, the client shows a black screen. Doing a little research, I understand this is due to my Ubuntu machine being headless, and therefore, shutting down all other x-services like gdm, kdm, etc before restarting nxserver.

    This does work to force nxserver to now create its own display, but it doesn’t persist through a reboot (even though I’ve already set the CreateDisplay=1 in the server.cfg file), and everytime I reboot, I have to first ssh into Ubuntu box and manually shutdown the x-services.

    Anyway of doing this so that I can just force the nxserver to always use its own virtual display?

    Many thanks in advance!

    #20972
    kroy
    Contributor

    To disable X server permanently you can execute command sudo systemctl disable gdm3.service (if you have gdm3 of course).

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

This topic was marked as solved, you can't post.