How to keep the NoMachine server from suspending while client is connected

Forum / NoMachine for Linux / How to keep the NoMachine server from suspending while client is connected

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #43303
    DoctorDan
    Participant

    Is there a way for NoMachine to  keep server from suspending while client is connected?

    If not there needs to be. During a long pause at the client, the server decides to sleep. NoMachine keeps showing the pre-sleep screen but it is dead.

    The only was to reconnect is to physically touch the server’s keyboard – not always possible.

    Thank you

    #43346
    Britgirl
    Participant

    Hi,

    The first thing is to understand if we’re speaking of machine sleep (stand-by) or display sleep. With display sleep, we don’t want to prevent the display from sleeping, but it has to be possible to wake up the display as soon as there is an event (keys or clicks) in the NoMachine session.

    Machine sleep is another story and depends on the system settings.

    What do you mean when you write ‘nomachine shows it’s dead’. What is the pre-sleep screen? Can you show us a screenshot?

    What is the OS of the remote machine. You posted in Linux so I assume the server side is Linux, but what distro is it?

    Does the machine have a physical monitor attached?

    The only was to reconnect is to physically touch the server’s keyboard – not always possible.

    Not always possible -> I am assuming that you mean that you can’t be physically in front of the server every time it happens in order to touch the server’s keyboard? And you confirm that touching the keyboard or moving the mouse in the session window from the client side has no effect whatsoever?

    #43578
    DoctorDan
    Participant

    a) machine sleep (stand-by) or display sleep. It’s hard to say, not beig able to see the screen but I don’t think the machine slept and I don’t know what the primary screen did but I still had th remnants of the desktop visible in my client.

    b) What do you mean when you write ‘nomachine shows it’s dead’. – I can’t remember

    c) Fedora 37

    d) Does the machine has a physical monitor attached? – yes

    e) I am assuming that you mean that you can’t be physically in front of the server every time it happens in order to touch the server’s keyboard? – yes

    f) And you confirm that touching the keyboard or moving the mouse in the session window from the client side has no effect whatsoever? – yes

    #44384
    Britgirl
    Participant

    a) machine sleep (stand-by) or display sleep. It’s hard to say

    Knowing this, though, is important. You could try to see if disabling the automatic suspension and leaving only the “Display sleep” enabled helps or changes anything. Configuring your OS that way should permit the display to wake up when an event is received from the Player.

    #44390
    DoctorDan
    Participant

    This was display sleep, not machine suspend

    #44586
    Britgirl
    Participant

    Please tell us 1) the desktop environment running there and 2) whether the display server is Wayland or X.org.

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

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.