Kodi Community Forum
dpms issue - kodi started using startx - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: dpms issue - kodi started using startx (/showthread.php?tid=372557)



dpms issue - kodi started using startx - milomak - 2023-03-16

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?


RE: dpms issue - kodi started using startx - milomak - 2023-03-17

tried

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

startx was having none of it


RE: dpms issue - kodi started using startx - milomak - 2023-03-19

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


RE: dpms issue - kodi started using startx - milomak - 2023-04-06

so i found the workaround seems to set the screensaver to dim