Kodi Community Forum

Full Version: dpms issue - kodi started using startx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
debian sid and kodi v20.1

so i don't use a display manager nor a desktop environment. i am running debian and start kodi using
 
Code:
[ "$(tty)" = "/dev/tty1" ] && exec startx /usr/bin/kodi

the screensaver is disabled in the settings but when no video is playing for some time, the screen blanks and i need to use the keyboard to start it up again.

the solutions using xset do not work (ran the below from tty2)
Code:
$ xset q
xset:  unable to open display ""

any suggestions what other tools i could use?
tried

/etc/X11/xorg.conf.d/monitor.conf
Code:
Section "Monitor"
    Option            "DPMS"                 "false"

startx was having none of it
to show it is a kodi issue, if i leave it on tty2, even after an hour when i turn the tv on, the terminal displays and doesn't need me to press a button the keyboard
so i found the workaround seems to set the screensaver to dim