Introduction: Beautify Raspberry Pi Login Screen

Picture of Beautify Raspberry Pi Login Screen

Introduction

The login screen that greets the user can be modified to make it more interesting and colourful. The login sccreen and greeter means the same thing in this instructable.

Scope

This instructable will show how to:

  • Change image on greeter
  • Add text messages

Prerequisite

Raspberry Pi running Raspbian OS

Raspbian OS is configured to operate in multi-user mode

Warning

If your configuration file is incorrectly modified, your Raspberry Pi will not display the login screen and since the no one can login without the greeter/login screen, the Raspberry PI will not function. If this happens, use another machine to rectify any mistake by mounting the Raspberry Pi's SD card onto that machine and correcting the configuration file. This instructable is not for the faint-hearted

Reference

Arcticdog’s Kennel blog was of great help to me. It is a good idea to read it.

Step 1: Install XML Editor (Optional)

The greeter configuration file is in XML format. Hence, it is useful to use a XML editor to make changes and will help in avoiding mistakes.

Open terminal emulator on Raspberry Pi

sudo apt-get update 
sudo apt-get install geany

Step 2: Add Text Message to the Greeter/login Screen

Picture of Add Text Message to the Greeter/login Screen

Open terminal emulator on Raspberry Pi

make backup of /usr/share/lightdm-gtk-greeter/greeter.ui

sudo cp /usr/share/lightdm-gtk-greeter/greeter.ui /usr/share/lightdm-gtk-greeter/greeter.ui.backup
sudo vi /usr/share/lightdm-gtk-greeter/greeter.ui or sudo geany /usr/share/lightdm-gtk-greeter/greeter.ui 

Add text to the layout of the greeter. My text message is "STOP. IDENTIFY YOURSELF":

Change the position property of the rest of the child objects.

Read the greeter.ui file and screenshot that I uploaded for further details.

Step 3: Change Image on the Greeter

Picture of Change Image on the Greeter

Open terminal emulator in Raspberry Pi

Copy or download the image file Stop_hand.png to Raspberry Pi:

sudo wget https://www.instructables.com/files/deriv/FF5/R126/I78VRD04/FF5R126I78VRD04.SQUARE3.jpg" -O /usr/share/icons/hicolor/64x64/devices/Stop_hand.jpg

Specify the name of the image file in greeter.ui

sudo vi /usr/share/lightdm-gtk-greeter/greeter.ui or sudo geany /usr/share/lightdm-gtk-greeter/greeter.ui 

Change "Computer" to name of the new icon without the file extension:

Stop_hand

Save the file

Step 4: Test

Picture of Test

Reboot the Raspberry Pi

sudo reboot 

Raspberry Pi will display the new look of the greeter/login screen as shown.

Comments

bowmanr (author)2016-02-01

<quote>If your configuration file is incorrectly modified, your Raspberry Pi will not display the login screen and since the no one can login without the greeter/login screen, the Raspberry PI will not function. If this happens, use another machine to rectify any mistake by mounting the Raspberry Pi's SD card onto that machine and correcting the configuration file.</quote>

Just a little tip: User ALT+CTRL+F5 (or F2 through 6) to gain access to a terminal prompt within which you can edit /etc/lightdm/lightdm.conf to correct the problem configuration.

Also, from the terminal, you can run ...

$ startx

... as normal to start the UI.

HTH

tomatoskins (author)2015-03-16

I love learning new things about the Raspberry Pi! Thanks for sharing!

About This Instructable

7,589views

28favorites

Bio: Systems Administrator and Software Programmer.
More by mirza irwan osman:Install Modem USB Device in Raspberry PiMake the Volume Knob of Sound Blaster X-Fi Surround 5.1 Pro Sound Card Work in Raspberry PiCreate a Volume Control for USB Sound Card in Raspberry Pi
Add instructable to: