Lock screen / phone stopped working

I have no idea what triggered the following, so it doesn’t make sense for me to use the bug report template.

Suddenly, my XA2 (with 4.0.1 installed at the time) stopped to show the lock screen. The setting still shows that the phone should lock immediately. I can’t lock the screen regardless whether using the hardware button or using the lock on the pulley from the main screen. If I use either, the screen goes dark as expected and I can’t interact with the screen anymore (so that’s good), but as soon as I hit the hardware button again, I’m right back where I was before – either in an app or on the main screen.

The phone is behaving as if the lock screen app has completely vanished from my system (btw: I assume it’s a dedicated app that I could just as well call from the terminal to maybe trigger some logs / error message, but I don’t know the name of the app, any hints?)

On a side note and maybe unrelated, maybe not, I lost a lot of app icons on the main screen after rebooting.

Upgrading the phone to 4.1.0 did not fix anything for me, I still can’t trigger the lock.

Does anybody have any hints what else I could look at?

Just some more infos: I also tried changing the verficiation code, in the hope that this might revive the lockscreen. It didn’t change anything though.

Any ideas how to trigger the lockscreen from the CLI?

Hello
Maybe you can try reinstall lipstick:
devel-su pkcon --allow-reinstall lipstick-jolla-home-qt5

Good idea, but this also still didn’t change anything. Restarting lipstick via the CLI does trigger the lock screen once – only that the device is still not locked, so I can just swipe to access the home screen.

Some logs obtained via journalctl | grep lipstick below (truncated to the time when I restarted lipstick). I don’t know enough to say if the D-bus related warning is related or not, but otherwise I don’t see anything that looks suspicious to my innocent eye.

Jun 28 10:17:20 XperiaXA2 systemd[4819]: Stopping The lipstick security prompt UI...
Jun 28 10:17:20 XperiaXA2 systemd[4819]: Stopped The lipstick security prompt UI.
Jun 28 10:17:20 XperiaXA2 systemd[4819]: Stopping The lipstick UI...
Jun 28 10:17:20 XperiaXA2 lipstick[5213]: [W] unknown:64 - file:///usr/share/lipstick-jolla-home-qt5/main.qml:64: TypeError: Cannot read property 'switcherLayer' of null
Jun 28 10:17:20 XperiaXA2 lipstick[5213]: [W] unknown:35 - file:///usr/share/lipstick-jolla-home-qt5/eventsview/EventsWindow.qml:35: TypeError: Cannot read property 'lockScreenLayer' of null
Jun 28 10:17:20 XperiaXA2 lipstick[5213]: [W] unknown:35 - file:///usr/share/lipstick-jolla-home-qt5/eventsview/EventsWindow.qml:35: TypeError: Cannot read property 'lockScreenLayer' of null
Jun 28 10:17:20 XperiaXA2 lipstick[5213]: [D] unknown:0 - Destroyed Bluetooth system agent
Jun 28 10:17:20 XperiaXA2 systemd[4819]: Stopped The lipstick UI.
Jun 28 10:17:20 XperiaXA2 systemd[4819]: Starting The lipstick UI...
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: == hwcomposer module ==
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Address: 0xef1a9004
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Module API Version: 3
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * HAL API Version: 0
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Identifier: hwcomposer
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Name: QTI Hardware Composer Module
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Author: CodeAurora Forum
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: == hwcomposer module ==
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: library "libsdmextension.so" not found
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: library "libsdm-color.so" not found
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: library "libsdm-disp-vndapis.so" not found
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: == hwcomposer device ==
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Version: 2000001 (interpreted as 2000001)
Jun 28 10:17:21 XperiaXA2 lipstick[9799]:  * Module: 0xef1a9004
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: == hwcomposer device ==
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [D] unknown:0 - onHotplugReceived(0, 0, connected, primary)
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [D] unknown:0 - EGLFS: Screen Info
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [D] unknown:0 -  - Physical size: QSizeF(64.0935, 115.019)
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [D] unknown:0 -  - Screen size: QSize(1080, 1920)
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [D] unknown:0 -  - Screen depth: 32
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [W] unknown:0 - QEglScreen 0x305730
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [W] unknown:0 - Notifications restored: 24
Jun 28 10:17:21 XperiaXA2 lipstick[9799]: [W] unknown:0 - Unable to register D-Bus service org.nemomobile.lipstick: Connection ":1.152" is not allowed to own the service "org.nemomobile.lipstick" due to security policies in the configuration file
Jun 28 10:17:24 XperiaXA2 lipstick[9799]: [W] unknown:105 - file:///usr/share/lipstick-jolla-home-qt5/layers/Layer.qml:105:25: Unable to assign [undefined] to float
Jun 28 10:17:24 XperiaXA2 lipstick[9799]: [D] unknown:0 - Registered VoiceCallAgent /com/jolla/Voicecall
Jun 28 10:17:26 XperiaXA2 lipstick[9799]: [D] onStatusChanged:45 - WeatherModel - could not obtain weather data Freiburg im Breisgau 102925177
Jun 28 10:17:26 XperiaXA2 lipstick[9799]: [D] onStatusChanged:100 - WeatherForecastModel - could not obtain forecast weather data Freiburg im Breisgau 102925177
Jun 28 10:17:27 XperiaXA2 mce[2265]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.152 owner=:1.152 pid=9799 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:keym
Jun 28 10:17:27 XperiaXA2 lipstick[9799]: [D] onStatusChanged:45 - WeatherModel - could not obtain weather data Freiburg im Breisgau 102925177
Jun 28 10:17:27 XperiaXA2 dbus-daemon[4848]: dbus-daemon[4848]: [session uid=100000 pid=4848] Activating via systemd: service name='org.maliit.server' unit='maliit-server.service' requested by ':1.73' (uid=100000 pid=9799 comm="/usr/bin/lipstick -plugin evdevtouch -plugin evdev")
Jun 28 10:17:27 XperiaXA2 lipstick[9799]: [W] unknown:68 - file:///usr/lib/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jun 28 10:17:27 XperiaXA2 lipstick[9799]: [W] unknown:68 - file:///usr/lib/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jun 28 10:17:27 XperiaXA2 lipstick[9799]: [W] unknown:68 - file:///usr/lib/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jun 28 10:17:27 XperiaXA2 lipstick[9799]: [W] unknown:68 - file:///usr/lib/qt5/qml/Sailfish/Silica/BackgroundItem.qml:68:5: QML : Binding loop detected for property "width"
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - QEglWindow 0xe514b8: 0x4a54a0 0x0
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - Couldn't cache to  "/home/nemo/.cache/org.nemomobile/thumbnails/61/6170418f1fa396f33486160f9230b77b6f0a9761-512"
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - QFSFileEngine::open: No file name specified
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - QFSFileEngine::open: No file name specified
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:264 - file:///usr/share/lipstick-jolla-home-qt5/launcher/LauncherGrid.qml:264:9: QML LauncherIcon: Failed to get image from provider: image://theme/harbour-phototools
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - QFSFileEngine::open: No file name specified
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:0 - QFSFileEngine::open: No file name specified
Jun 28 10:17:28 XperiaXA2 lipstick[9799]: [W] unknown:264 - file:///usr/share/lipstick-jolla-home-qt5/launcher/LauncherGrid.qml:264:9: QML LauncherIcon: Failed to get image from provider: image://theme/sailfishos-browser-searchengines
Jun 28 10:17:29 XperiaXA2 systemd[4819]: Started The lipstick UI.
Jun 28 10:17:29 XperiaXA2 systemd[4819]: Started The lipstick security prompt UI.
Jun 28 10:17:29 XperiaXA2 lipstick[9799]: [D] unknown:0 - Registered Bluetooth OBEX agent: "/com/jolla/obexservice/agent"
Jun 28 10:17:29 XperiaXA2 lipstick[9799]: [W] unknown:308 - file:///usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml:308:21: QML BusyIndicator: Binding loop detected for property "running"
Jun 28 10:17:29 XperiaXA2 polkitd(authority=local)[3018]: Registered Authentication Agent for unix-session:c1 (system bus name :1.157 [/usr/libexec/lipstick-security-ui], object path /org/sailfishos/Lipstick/SecurityUi/PolkitAgent, locale de_DE.utf8)
Jun 28 10:17:29 XperiaXA2 dbus-daemon[4848]: dbus-daemon[4848]: [session uid=100000 pid=4848] Activating service name='org.nemomobile.calendardataservice' requested by ':1.73' (uid=100000 pid=9799 comm="/usr/bin/lipstick -plugin evdevtouch -plugin evdev")
Jun 28 10:17:29 XperiaXA2 dbus-daemon[4848]: dbus-daemon[4848]: [session uid=100000 pid=4848] Activating service name='com.jolla.settings.system.flashlight' requested by ':1.73' (uid=100000 pid=9799 comm="/usr/bin/lipstick -plugin evdevtouch -plugin evdev")
Jun 28 10:17:29 XperiaXA2 lipstick[9799]: [W] unknown:308 - file:///usr/lib/qt5/qml/Sailfish/Weather/WeatherBanner.qml:308:21: QML BusyIndicator: Binding loop detected for property "running"
Jun 28 10:17:33 XperiaXA2 mce[2265]: tklock.c: tklock_dbus_notification_end_cb(): notification end from name=:1.152 owner=:1.152 pid=9799 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:keym
Jun 28 10:17:38 XperiaXA2 lipstick[9799]: [D] unknown:0 - sleepDisplay
Jun 28 10:17:40 XperiaXA2 lipstick[9799]: [D] unknown:0 - unsleepDisplay
Jun 28 10:17:45 XperiaXA2 mce[2265]: modules/display.c: mdy_dbus_schedule_display_state_req(): display OFF request from name=:1.152 owner=:1.152 pid=9799 uid=100000 gid=996 priv=1 cmd=/usr/bin/lipstick -plugin evdevtouch -plugin evdevkeyboard:keym
Jun 28 10:17:46 XperiaXA2 lipstick[9799]: [D] unknown:0 - sleepDisplay
Jun 28 10:17:51 XperiaXA2 lipstick[9799]: [D] unknown:0 - unsleepDisplay