GNOME ScreenSaver service running twice causing duplicate dbus signals
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-settings-daemon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The GNOME ScreenSaver service appears to be running in duplicate, causing multiple dbus signals to be sent for the same screensaver events. One instance is properly identified as running under gnome-shell (sender :1.91), while another instance (sender :1.35) is running from an unknown source.
Steps to reproduce:
- Start a normal GNOME session
- Monitor screensaver dbus signals using: dbus-monitor "interface=
- Lock the screen or wait for screensaver to activate
Current behavior:
- Two separate ScreenSaver services are active simultaneously
- Both services respond to screensaver events
- Both services send duplicate dbus signals for:
- ActiveChanged (true/false)
- WakeUpScreen
- One service is properly identified (sender :1.91, PID 5175, gnome-shell)
- The other service (sender :1.35) appears as unknown in busctl
System logs:
```
$ journalctl -b | grep -i saver
dic 27 09:19:07 Han systemd[4827]: Starting org.gnome.
dic 27 09:19:07 Han systemd[4827]: Started org.gnome.
```
Expected behavior:
Only one instance of the ScreenSaver service should be running and handling screensaver events.
Additional Information:
- The duplicate service interferes with normal screensaver operation
- The unknown sender (:1.35) doesn't appear in busctl listing, suggesting a potential issue with service registration or cleanup
Environment:
- Ubuntu 24.10
- GNOME 47
- Wayland session
Some tests done:
```
$ journalctl -b | grep -i saver
dic 27 09:18:50 Han /usr/libexec/
dic 27 09:18:50 Han /usr/libexec/
dic 27 09:19:07 Han systemd[4827]: Starting org.gnome.
dic 27 09:19:07 Han systemd[4827]: Started org.gnome.
dic 27 09:19:07 Han systemd[4827]: Reached target org.gnome.
dic 27 09:19:10 Han dbus-daemon[4876]: [session uid=1000 pid=4876] Activating service name='org.
dic 27 09:19:10 Han dbus-daemon[4876]: [session uid=1000 pid=4876] Successfully activated service 'org.gnome.
$ dbus-monitor "interface=
signal time=1735300811
string ":1.325"
signal time=1735300811
string ":1.325"
method call time=1735300846
method call time=1735300846
signal time=1735300848
boolean true
signal time=1735300848
boolean true
signal time=1735300880
signal time=1735300880
signal time=1735300883
boolean false
signal time=1735300883
boolean false
$ busctl | grep 1.91
:1.91 5175 gnome-shell [username] :1.91 user@1000.service - -
$ busctl | grep 1.35
(none)
```
ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: gnome-settings-
ProcVersionSign
Uname: Linux 6.11.0-13-generic x86_64
ApportVersion: 2.30.0-0ubuntu4
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 27 16:31:26 2024
InstallationDate: Installed on 2023-06-04 (572 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
SourcePackage: gnome-settings-
UpgradeStatus: Upgraded to oracular on 2024-12-17 (10 days ago)
More info: gsd-screensaver -proxy gnome-shell/ org.gnome. ScreenSaver
```
$ ps -ef | grep -i saver
user 5469 4827 0 09:19 ? 00:00:00 /usr/libexec/
user 6289 4827 0 09:19 ? 00:00:00 /usr/bin/gjs -m /usr/share/
```