I'm annoyed by the 'lock screen' wallpaper of KALI SANA 2.0. This is the default 'lock screen' wallpaper:

enter image description here

I have seen many tutorials on how to change the 'login screen' wallpaper/background but didn't find any about changing the 'lock screen' wallpaper/background picture.

Is there anyone that can guide me through the process of changing the 'lock screen' wallpaper in KALI Sana 2.0?

  • 2
    Does that use the Gnome desktop environment? Sep 12, 2015 at 3:24
  • Go to System Settings > Personal > Background. You have to options there (and you can't miss them): Background and Lock Screen. Sep 12, 2015 at 10:02
  • Please check the comments on the answer below.
    – dryleaf
    Sep 12, 2015 at 10:05
  • @don_crissti please check the comments on the answer below
    – dryleaf
    Sep 12, 2015 at 10:05
  • 1
    Well, per the docs that's how you do it. Now, if you're using a distro that has the habit of customizing/patching/modifying upstream code I don't know what to advise. Sep 12, 2015 at 10:16

4 Answers 4


Try this. Make a file called /usr/share/images/desktop-base/lockscreen.xml, somewhat like this:

      <size width="1920" height="1080">/path/to/wallpaper.jpg</size>

Then link the file like so: ln -sfv /usr/share/images/desktop-base/lockscreen.xml /etc/alternatives/desktop-background.xml

As root, run this: /etc/init.d/gdm3 restart or just reboot. That should do it. That was the process in older versions of Gnome, so as long as it hasn't changed, you should be good to go.

  • I've just tried that out and it doesn't work.
    – dryleaf
    Sep 12, 2015 at 3:42
  • @dryleaf, what version of Gnome does that have? Sep 12, 2015 at 3:46
  • Gnome Shell 3.14.2
    – dryleaf
    Sep 12, 2015 at 3:49
  • @dryleaf do you have a valid path pointing to your wallpaper? Maybe you could provide that file? Sep 12, 2015 at 3:51
  • 1
    Did you check the background menu? Looks like that has a lock screen option in that version of Gnome. Sep 12, 2015 at 3:58

I also struggled with this for a little while, but what worked for me was annoyingly simple (and it also works for a custom desktop image):

  • have your file in a file-explorer window ready to click on.
  • right-click on the desktop and select Change Desktop Background
  • select the lock-screen to customise (or the desktop) for a list of pictures available
  • drag the image from the file-explorer window and drop it into to list of pictures shown in the last step (the cursor should change to have a small + visible
  • the new picture appears in the list and can be selected

As root:
nano /etc/alternatives/gdm3.css

When the file opens:
control w Type: lockDialogGroup Press: Enter

To find:
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }

Change the lines into:
#lockDialogGroup {
background: #2c001e url(file:///SOMEPATHTOSOMEFILE);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }

Restart and that should do it!

  • 1
    I appreciate you reaching out in 2018 but the distribution has changed a lot since 2015 and lots of bugs have been fixed. (Now already using Kali Rolling Kernel 4.18.0, GNOME 3.30.1)
    – dryleaf
    Nov 17, 2018 at 19:57
  • 1
    You're welcome. I used info known to work as of today on gdm3, that is why I just thought why not. Have a great day! :) Nov 17, 2018 at 20:01

My laptops runs Kali Linux with the Gnome DE. Here's how I just changed the lockscreen & login screen backgrounds:

  1. open terminal, type in su root then your password,

  2. type in, cd /usr/share/images/desktop-base then press enter.

  3. type ls and find the png file that says kali wallpaper that fits your screen size and type in mv filename.png filename.png.bak to make a backup file.

  4. Then type ls to see changed results then put your desired image in that folder, then label it with the same name as original ending with .png ext.

  5. then lock the screen, and see results.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .