How does Ubuntu replace the login window background

  

Are you tired of the login interface of Ubuntu system, if you use your own image as the Ubuntu login window background, is it interesting? The following small series teaches you how to replace the Ubuntu login window background.

The method described below can be done using the dconf-editor and lightdm user identities. To put it simply, switch to the root user and give the lightdm user access to the x-server. Then use the lightdm user identity, run dconf-editor, and make changes.

After setting up your custom image and rebooting, you should be able to see the image you set each time you start your computer. If the picture you set is a picture that you really like and can give you a lot of memories, you must be very happy every time you start your computer and log in to Ubuntu.

This manual assumes that you have installed dconf-editor on your computer. If not, you can run the following command to install dconf-editor

sudo apt-get install dconf-editor

Next, select the image you want to use as the login background. Then, write down the location of the image and the name of the image, and run the following command to switch to the root user.

sudo –i

Next, run the following command to give lightdm users access to the X-server. Lightdm is a service program that manages the background of the login window, so if you want to change the background image of the login window, you need to modify the lightdm user.

xhost +SI:localuser:lightdm

Next, run the following command to switch to lightdm user

su lightdm -s /bin/bash

Then Run the following command to open dconf-editor

dconf-editor

When the tool opens, browse to com-"canonical-"unity-greeter. Then change the background value to a custom one. You may need to tick off the draw-grid.

Restart the computer

The above is the Ubuntu login screen background replacement method introduced, in fact, there are many modification methods Ubuntu login window background, this article describes only one of them Kind, install the method of this article, you can freely change your favorite pictures.

Copyright © Windows knowledge All Rights Reserved