Bugzilla – Bug 994044
Kde-Live net installer is interrupted by screenlock
Last modified: 2020-06-04 05:07:43 UTC
## observation While conducting an installation from the NET installer on Kde-Live the plasma screenlock kicks in which is especially annoying since the installer will vanish silently in the background upon completion because of boo#993885. ## steps to reproduce * start Kde-Live * call installation from within plasma session * wait * observe screenlock kicks in after some time ## expected result when installer is running the screenlock should never kick in. Alternative: screenlock disabled for the whole live medium which might be an easier approach. ## workaround probably the following should disable the screenlock for the active session ``` setterm blank 0 setterm powerdown 0 xset s 0 0 ```
Screensaver is being disabled in KDE Live session before starting the installer: https://github.com/os-autoinst/os-autoinst-distri-opensuse/commit/4286263e7519938eec1a513950148c3c18ec1532
I'm sorry but I don't see this as fixed when we just apply a workaround in the tests, especially as long as boo#993885 is around: The screenlock might lock the screen, installation finishes and quits silently in the background without rebooting, user unlocks screenlock and is back to the clean plasma desktop with no trace of an installation conducted. I guess it should be possible to disable the screenlock completely in the live medium. IIRC fvogt mentioned something like he could put the according instructions into the configuration files of the medium. Assigning to him therefore.
*** Bug 1118855 has been marked as a duplicate of this bug. ***
I tried using the fdo inhibition, but does not work on Plasma as the inhibition is cancelled when the source service (in this case dbus-send) disappears. So it seems to be impossible to do it this way. Code, for completeness: reply="$(dbus-send --session --dest=org.freedesktop.ScreenSaver --print-reply=literal /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.Inhibit string:installation string:Installation)" xdg-su -c "$0 $@" ret=$? dbus-send --session --dest=org.freedesktop.ScreenSaver --type=method_call /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.UnInhibit uint32:${reply##* } exit $ret