Connecting to console oddity?

Forum / NoMachine for Linux / Connecting to console oddity?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22097
    Jethro_uk
    Participant

    v6.6.8 Running on Debian 9.

    I have run the sudo ./nxserver –useredit <USER> –trusted physical command, to allow that user to login directly to the console.

    It worked.

    But then, after a reboot, it didn’t – and created a virtual desktop for me to log into (for some reason it gets obsessed with colour profiles, which is how I know).

    Simply restarting the nxserver.service seems to “fix” it, and the next connection goes to the console (I have the machine across the room to check 🙂 Bug? Bad config? Misunderstanding? That’s what I’m asking!

     

    #22154
    Mth
    Contributor

    Hello.

    From what I understand here, the problem is with NoMachine creating a virtual desktop on the machine that should have its own Xserver running, but since it is after operating system restart, the Xserver may be starting after the nxserver.service, so your first connection is either before the running Xserver detection, or the nxserver configuration is set to start the virtual desktop automatically.

    Please check the server.cfg file for CreateDisplay key and make sure it is commented or set to 0.

    This will ensure that NoMachine will not create the virtual session automatically in the case Xserver is not available at the time of startup.

    After this change the only way the virtual session could be created is when attaching to the machine
    while the Xserver is unavailable. Then there will be a prompt in the player application to make a choice of creating one or not.

    Please also note that if the Xserver is not running at the time of nxserver service startup, there would be a growing delay for the check if one is actually running, so if the Xserver is started a few minutes after the nxserver service it may be recommended to restart the nxserver.service to make the check immediately.

    /mth

    #22181
    Jethro_uk
    Participant

    Touch wood, that’s done the trick …

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

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