You are not logged in.
I have DPMS enabled and monitor set to turn off after 2".
When I connect to my desktop with VNC (RealVnc server and viewer from the AUR), the monitor wakes up and never turns off again.
`xset q` returns 'Monitor off' even if it is on.
To fix this I am running `while true; do [[ $(xset q) =~ "Monitor is Off" ]] && xset dpms force off; sleep 60; done` but I would prefer to understand what is going on and how to properly prevent the monitor turning on, at least not without X server knowing it.
Thanks
Offline
Wild guess: "sudo fgconsole" w/ and w/o the VNC connection. I could imagine Xorg isn't the active TTY during a VNC connection.
Offline
It returns 7 in both cases, it seems to be the active TTY with or w/o the VNC connection
Offline
Then realvnc probably just breaks DPMS (either explicitly or implicitly through input events)
Do you get similar effects w/ tigervnc and does the input driver (try installing xf86-input-evdev) have any impact?
Offline
I haven’t tried with other VNC servers or drivers I wanted to avoid this step but i will try thanks
Offline