I thought I might write this down for everyone as this is one of the first things I ever do with a clean installation of Fedora.
If you’re like me, as much as you like the Fedora wallpapers in the default spins, you might like to change the default to add that personal touch.
Follow the below steps to change the default login screen wallpaper to a different image of your choosing.
So we are on the same page, this article will show you how to change the default login wallpaper.
See the before and after screen shots below.
Before, the default Fedora wallpaper
and here is our end result, a custom image of our choosing as the wallpaper
Step 1. Select your image.
I just grabbed a high resolution image of an Audi R8 which is my wallpaper at Login at the moment. File name Audi-R8.jpg
Step 2. Copy the selected image to /var/lib/gdm/
sudo cp /path/to/Audi-R8.jpg /var/lib/gdm
Step 3. Open gnome-control-center as the GDM user
As the gdm user by default does not allow a login, you will need to enable it temporarily.
You can do this with the command xhost +SI:localuser:gdm
[mac@Hulk ~]$ xhost +SI:localuser:gdm localuser:gdm being added to access control list [mac@Hulk ~]$ sudo -u gdm dbus-launch gnome-control-center
Step 4. Select Background, and chose your image.
Here you will see the normal Background wallpaper window, however this is from the viewpoint of the gdm user so don’t be alarmed if your regular wallpapers don’t appear.
Click the gdm folder on the left, and select your image that you copied above. As I copied my image to /var/lib/gdm, it will appear as the only file in the window. “/var/lib/gdm” is the home directory of the gdm system user.
Select the image, and click Open. When done, you can close the Background window.
See screen shot
That’s all done. Now you should log out and verify that your wallpaper has changed.
Step 5. Remove security access to gdm user
In step 3 we allowed the gdm user to allow login. Now we need to revoke this access as we do not want unwanted access to that service.
Lock down the gdm user with the following command
[mac@Hulk ~]$ xhost -SI:localuser:gdm localuser:gdm being removed from access control list [mac@Hulk ~]$
Note: You will notice that the screen size of my images above are not quite normal resolution. This is solely because I am writing this article using a Spice client to my test system. Your login window will appear in the native resolution of your own display.