Easy GDM login screen change

AID: 9070
  • Status: Published

2100 points

  • ByJohnnyCanuck
  • TypeTips/Tricks
  • Posted on2012-01-03 at 13:42:59
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it.

If you've already tried to change it you've probably discovered that none of the old methods work.  That is because Debian 6 is no longer using GDM2 but is now using GDM3.

First you need an image that is 1024 x 768.  Load this image into inkscape.  We need to use inkscape here because the image must be saved as type image-name.svg (scalable vector graphics).  Once you have the image loaded into inkscape save it as login-background.svg.  Exit inkscape.  Now open up a root terminal and launch nautilus.  We need to do this from a root terminal because we want nautilus to have root priviledges.  Using nautilus, navigate to the place where you saved the login-background.svg image and copy it.  Now navigate to the folder user/share/images/desktop-base and save the image there.  You will be asked if you want to overwrite/replace the existing image – say yes.  Reboot the computer and your GDM login screen should now be the image you created.

If you want to try another method you can open a root terminal and navigate to etc/gdm3.  In there you will find a file called greeter.gconf.defaults.  Open this file with your favourite editor (I use leafpad instead of nano because nano doesn't support the mouse).  You will need to edit the line containing this

#/desktop/gnome/background/picture_filename      /usr/share/images/desktop-base/login-background.svg

so that it is now this, breaking the line into 2 lines so the second part is uncommented

#/desktop/gnome/background/picture_filename
/usr/share/images/desktop-base/login-background.svg

You can now edit the second line to point to an image of your choosing.  You should be able to use .jpg and .png images as well as .svg images if you go this route.
Asked On
2012-01-03 at 13:42:59ID9070
Tags
Topic

Debian Linux

Views
1522

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Debian Linux Experts

  1. _jesper_

    2,800

    0 points yesterday

    Profile
    Rank: Sage
  2. JohnnyCanuck

    2,100

    0 points yesterday

    Profile
    Rank: Wizard
  3. monas

    1,500

    0 points yesterday

    Profile
  4. xterm

    1,000

    0 points yesterday

    Profile
    Rank: Sage

Hall Of Fame