How to run xscreensaver at login screen

Issues related to applications and software problems
Post Reply
ottingers
Posts: 1
Joined: 2018/03/29 18:46:37

How to run xscreensaver at login screen

Post by ottingers » 2018/03/29 18:51:18

0
down vote
favorite
I am running centos 7.3 and have been trying to run xscreensaver from my gdm session, so that the screensaver will run even when nobody is logged in on the console. I have googled so many different ways to get this to work and still have had no luck. I have also tried using the information on the xscreensaver man page "https://linux.die.net/man/1/xscreensaver" but it says to modify gdm config. I have tried modifying /etc/gdm/custom.conf with no luck. I also tried creating an xscreensaver.service with no luck. I was able to place the xscreensaver.desktop shown below in /usr/share/gdm/greeter/autostart. If i run "ps -eafl" I can see xscreensaver -nosplash running as gdm user but nothing happens at the login screen. The man page states "To get gdm to run the BackgroundProgram, you may need to switch it from the "Graphical Greeter" to the "Standard Greeter". Does anyone know how I can accomplish this? Any help with this would be greatly appreciated.

Contents of xscreensaver.desktop:

[Desktop Entry]
Type=Application
Exec=/usr/bin/xscreensaver -nosplash
Hidden=false
Name=XScreenSaver

Post Reply