I've installed Mate on top of Unity in Ubuntu 16.04. In my process list, gnome-screensaver
appears persistently:
UID PID PPID C STIME TTY TIME CMD
username 8434 1 0 09:47 ? 00:00:00 /usr/bin/gnome-screensaver --no-daemon
I can kill it successfully, but it will always reappear after the next time the lockscreen is activated (when I close and reopen the laptop).
Its PPID is always 1, which is systemd. grep shows no files within the /etc/systemd/
directory that contain "gnome" or "screensaver". I can't figure out why it keeps restarting. How do I stop it?
Edit:
dpkg -L gnome-screensaver | grep service
shows the file /usr/share/dbus-1/services/org.gnome.ScreenSaver.service
with contents
[D-BUS Service]
Name=org.gnome.ScreenSaver
Exec=/usr/bin/gnome-screensaver --no-daemon
This looks like how the process is being restarted. I guess that somewhere is a file or setting that tells systemd "in response to X signal from dbus, start this service," with X being something related to closing and reopening the laptop. Is this correct, and is there a way to identify that file or setting?