Bug 994044 - Kde-Live net installer is interrupted by screenlock
Kde-Live net installer is interrupted by screenlock
: 1118855 (view as bug list)
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Live Medium
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Fabian Vogt
Oliver Kurz
Depends on:
  Show dependency treegraph
Reported: 2016-08-17 07:24 UTC by Oliver Kurz
Modified: 2020-06-04 05:07 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kurz 2016-08-17 07:24:59 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
Comment 1 Dominique Leuenberger 2016-10-10 12:38:05 UTC
Screensaver is being disabled in KDE Live session before starting the installer:

Comment 2 Oliver Kurz 2016-11-13 20:03:30 UTC
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.
Comment 27 Fabian Vogt 2019-08-02 09:35:12 UTC
*** Bug 1118855 has been marked as a duplicate of this bug. ***
Comment 28 Fabian Vogt 2019-08-02 13:04:10 UTC
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 $@"
	dbus-send --session --dest=org.freedesktop.ScreenSaver --type=method_call /org/freedesktop/ScreenSaver org.freedesktop.ScreenSaver.UnInhibit uint32:${reply##* }
	exit $ret