On Tue, Jun 29, 2021 at 11:05:39AM -0400, Terry Polzin wrote:
It seems I have to start it manually. It's not part of systemd
systemctl enable xscreensaver Failed to enable unit: Unit file xscreensaver.service does not exist.
Xscreensaver doesn't have a systemd unit, and it certainly shouldn't be run as root.
It has an XDG autostart configuration here: /etc/xdg/autostart/xscreensaver-autostart.desktop
... so if you're using a desktop environment that supports XDG, it should automatically start. If not, then you need to add something to you login startup script to launch it (as your userid) as part of the graphical login. (how you do that depends on what graphical environment you use)
In a modern GNOME environment, you don't use Xscreensaver, so there's no point in it launching. It doesn't support Wayland, (nor does the author seem interested in doing so). In GNOME, GDM does the screen locking, not the user session.