NoMachine systems-login Idlehint=no

Forums / NoMachine for Linux / NoMachine systems-login Idlehint=no

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37133
    cocoa117
    Participant

    Has anyone noticed the NX server registered login session but never set Idlehint=yes even I have disconnect from my machine.

    As I showed below, the loginctl showed session c21 is created by service NX.

    My setup is Ubuntu 20.04 Desktop. This is VM running on KVM. It have xorg-video-dummy driver installed as this is headless VM. I have also force it to use Physical X11 session by set config file /user/NX/etc/server.cfg to “CreateDisplay 0”

    Is NoMachine currently do not use systems-login daemon?

     

    loginctl show-session c21

    Id=c21

    User=1000

    Name=Testuser

    Timestamp=Sun 2022-01-23 19:22:19 GMT

    TimestampMonotonic=52121453093

    VTNr=0

    Display=:

    Remote=no

    Service=nx

    Scope=session-c21.scope

    Leader=34736

    Audit=4294967295

    Type=x11

    Class=user

    Active=yes

    State=active

    IdleHint=no

    IdleSinceHint=0

    IdleSinceHintMonotonic=0

    LockedHint=no

    #37743
    kroy
    Contributor

    Hi

    Is NoMachine currently do not use systems-login daemon?

    NoMachine don’t use systems-login daemon.

    If there is a need we could propose some custom script that would set Idlehint=yes, for example with this command:

    dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1/session/c21 "org.freedesktop.login1.Session.SetIdleHint" boolean:true

    (where c21 is ID of your session).

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

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