Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to change my login screen wallpaper to one of my own using ubuntu-tweak. The wallpapers are located in Ubuntu's default wallpaper folder and I have given all users read privileges on them.

Now there isn't even a wallpaper left on the login screen.

share|improve this question
Have a look at my answer Here, and see if it helps. – Mitch Jun 27 '13 at 20:12
I have already tried that and it didn't work. – Joren Jun 27 '13 at 20:30
What version of Ubuntu do you have? I use to have a login screen with the wallpaper of the user but now in Ubuntu 13.04 this function is disabled, at least by default.. – Lucio Jun 27 '13 at 22:13
@Lucio I'm running Ubuntu 13.04. Would there be an alternative option? – Joren Jun 28 '13 at 13:36

14 Answers 14

up vote 20 down vote accepted

By trying the answer of Senio I had no luck. But with little modification I hit the jackpot :

sudo -i
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-user-backgrounds 'true'
gsettings set com.canonical.unity-greeter background 'path-to-image'

path-to-image is actually the path where the image you want as log in screen wallpaper is stored e.g. : /usr/share/backgrounds/x.jpg

I tested it and it's working

I found this page which offers some tips regarding this problem : Ubuntu13.04 LighDM

share|improve this answer
And don't forget to give your wallpaper sufficient permissions ;) – Joren Oct 7 '13 at 15:15
I also confirmed that this works in 13.10 too. – Joren Oct 17 '13 at 21:33
Works in 14.04 as well, thanks! – Greg Kramida Jun 3 '14 at 13:43
This doesn't work on my Ubuntu Studio 15.10 , upgraded with ubuntu-desktop – rubo77 Nov 5 '15 at 11:10
This doesn't seem to work on 16.04 either: Separate wallpaper for login screen and desktop? (16.04 LTS) – JonasCz Jun 27 at 20:28

I believe what you are looking for is:

sudo apt-get install lightdm-gtk-greeter
sudo vim /etc/lightdm/lightdm-gtk-greeter.conf

Change the line:


to whatever you want. Hope this helps

share|improve this answer
Or in one line: sudo su -c 'echo "background=/usr/share/backgrounds/Tranquil_by_Pat_David.jpg">>/etc/lightdm/ligh‌​tdm-gtk-greeter.conf' – rubo77 Nov 5 '15 at 11:05

Hmmm .. I try install dconf-editor to change that background. Open Terminal and type this script ..

sudo apt-get install dconf-editor

Run dconf-editor:

sudo dconf-editor

And show the Window ... Open com > canonical > unity-greeter Then change:

draw-user-backgrounds: 'true'
background: 'path-to-image'
share|improve this answer
This is a good and universal solution -- one probably needs dconf-editor for other stuff anyway. +1 – Priidu Neemre May 28 at 6:25

Cheap and dirty solution: Got to Terminal, then:

sudo nautilus

Then use Nautilus to copy your preferred background to


Then rename the image that is being used to backup-imagenameold.png Then rename your preferred image to the filename of the original background.

I know it's not clean or lean, but it does the job asap ;)

Cheers, Rüssel

share|improve this answer

Canonical added the support for it in Ubuntu 16.04. Take a look at this link ->

share|improve this answer
I believe the OP is referring to the background wallpaper, not the little user picture / avatar. – JonasCz Jun 27 at 20:28

I accidentally have found the solution which works great. It even preserves animation of emerging wallpaper during login screen (which i wanted the most). Step by step what i did:

  1. (lightDM) Change the wallpaper login screen to default. Type in Terminal:

    sudo -i
    xhost +SI:localuser:lightdm
    su lightdm -s /bin/bash
    gsettings set com.canonical.unity-greeter draw-user-backgrounds 'true'
    gsettings set com.canonical.unity-greeter background ''

    This will change logon wallpaper to default. (We need it for animation thing)

  2. Make a startup program named for example 'WallpaperChange', which executes this line:

    gsettings set org.gnome.desktop.background picture-uri \

    During every startup it changes your desktop background on ur_desktop_wallpaper_here.jpg

    Note: Whole path to ur_desktop_wallpaper_here may be changed.

  3. The most important thing. Change your desktop background via GUI in Preferences Options on the wallpaper, which you want to have on logon screen.

  4. Restart your computer.

  5. Uncheck startup program 'WallpaperChange'. You don't need it any more now. During the next change of the wallpaper you will use it again.

I had only tested it on ubuntu 13.04 and found a solution by accident. I cannot provide you a technical answer why it works. It may depend on what you had done with your computer before setting logon wallpaper. I will reinstall ubuntu, try this code again and learn if my solution needs any further editing. (Added 4th line in p.1)


share|improve this answer
I have followed your steps but I am still seeing no wallpaper in my login screen. – Joren Jul 21 '13 at 14:52

Its very simple.

  1. Open a terminal, (become root)

    cd /usr/share/backgrounds/
  2. Copy the picture file to this location

  3. Change the file name to warty-final-ubuntu.png

That will change the login screen :)


Thanks to annamalai.

share|improve this answer
Interestingly this continues to work even for ubuntu 16.04 ... albeit the file must be a png – Scott Stensland Mar 1 at 18:19

I am using Ubuntu 14.04 (all Desktop settings are standard and I am using the standard shell) and I think it is even simpler than all solutions stated above.

The only thing I do, is downloading a picture or getting one of my own photos, fitting with the screen size, click the right mouse button on the downloaded picture and select "Set as background".

This process seems to copy the image into the users Picture/Wallpaper folder and, given the right size of the image, will show this picture also at next login.

share|improve this answer
Works nicely for me on 16.04. It is most appropriate for systems that have a single user. The background is obviously user-specific. – Martin Ewing Jul 18 at 3:09

Simple way, you can change the login background using Nautilus:

  • open Nautilus (in root mode)
  • go to /usr/share/backgrounds
  • cut/move/delete "warty-final-ubuntu.png"
  • then choose the picture you want (.png format)
  • rename it to "warty-final-ubuntu.png"
  • then move it back to /usr/share/backgrounds
share|improve this answer
this was actually the easiest. A lot of the other answers didn't work and were more complex than this – wordsforthewise May 13 at 22:08

I got the simpler way in Ubuntu 14.04 to solve this problem. You just have to change the permissions of image by typing command in terminal as follows.

chmod 644 'path-of-file-to-change-permission'

Replace path-of-file-to-change-permission with the path of your picture.

For example your background images are in /home/Admin/Pictures then type command as follows.

chmod 644 /home/Admin/Pictures/*.jpg

This will work.

share|improve this answer

I was able to change the login screen by accident. It seems to work every time for me. I choose a pic I wanted to use, opened it in Shotwell then Saved it as a PNG format. Then selected that pic as my background. Then I logged out and back in and Bam. The Login screen is the pic I chose.No more ugly orange color. Now, I need to figure out how to remove the grid on the login screen.

share|improve this answer

step 1. Install ubuntu tweak sudo apt-get install ubuntu-tweak

Step 2. Start Ubuntu tweak from commandline: ubuntu-tweak

Step 3. Change the background image Go to Tweaks > Login settings > click to change background image

share|improve this answer
It would be great if you could elaborate your answer a bit and provide more details to each step. How to install Ubuntu Tweak would be nice as well as a few screenshots maybe. – Byte Commander Mar 19 at 14:43
  1. sudo cp your_wallpaper.jpg /usr/share/backgrounds/
  2. sudo chmod 644 /usr/share/backgrounds/your_wallpaper.jpg
  3. sudo nano /usr/share/gnome-background-properties/trusty-wallpapers.xml
  4. Go to the bottom of the file and above the last </wallpapers> tag, copy the text:
</wallpapers> <-- This should be the last line - copy the above text
  1. Save file and exit.
  2. Open System Settings->Appearance->Look tag->Wallpapers from the expanding window. And finally choose your wallpaper which will appear now with the name Name_of_your_wallpaper.
share|improve this answer

In the past this would work for me. Im am not sure if this will work in a unity environment.

Run this.

sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow

Log out, make your changes.
Log back in
Run this.

sudo unlink /usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.