Get the App
SLTechnology News&Howtos  ›  Servers  › 

How does Ubuntu replace the login window background with its own picture?

Shulou Source: shulou.com Published: 2022-06-01 13:11:42 10月02日 Update

This article mainly introduces "Ubuntu how to replace the login window background with their own pictures". In daily operation, I believe many people have doubts about how Ubuntu replaces the login window background with their own pictures. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "how Ubuntu replaces the login window background with their own pictures". Next, please follow the editor to study!

Are you tired of seeing the login interface of the Ubuntu system? wouldn't it be interesting to use your own picture as the background of the Ubuntu login window? The following editor will teach you how to replace the background of the Ubuntu login window.

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

After setting up the custom image and rebooting, you should be able to see the picture you set up every time you start the computer. If you set up a picture that you like very much and bring you a lot of memories, you will 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 picture you want to use as the login background. Then, write down the location of the picture and its name, and run the following command to switch to the root user.

Sudo-I

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

Xhost + SI:localuser:lightdm

Next, run the following command to switch to the lightdm user

Su lightdm-s / bin/bash

Then, run the following command to turn on dconf-editor

Dconf-editor

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

Restart the computer

At this point, the study on "how Ubuntu replaces the background of the login window with its own picture" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Picture background user login run command computer learning login method switch more permissions identity help practical interesting next location name Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Information Redmi Shulou Technology Shulou Tech Info