I have been trying to change the image in the log-in page of my Fedora system for a long time now. I always felt that it was a very dull one and wanted to something very interesting there, it can give you a very good first impression. At last i have found the way…

There is actually not much work in setting up this…

First what you have to do is to copy the image that you require to put in the background to the directory /var/lib/gdm. You will be requiring the root access to copy to the final destination.There could be a problem with ownership of the file after you copy it. So change both the group and user of the image as gdm.

sudo cp  /from/required/path/image.jpg  /var/lib/gdm/

next change the ownership of the file

sudo chown gdm:gdm /var/lib/gdm/image.jpg

Next you have to add the user “gdm” to the list of all users who can access the X Server of your system. For that you can:

xhost +SI:localuser:gdm

Then start the gnome control center to cahnge the background as gdm as the user.

sudo -u gdm dbus-launch gnome-control-center

Select the background option. Then select the image from the home folder of the user gdm. Close the gnome-control-center. Then remove gdm from the users list who can access the X Server. You can use the following command for that:

xhost -SI:localuser:gdm

Now just logout from your account and see that the background image has changed…. :)