
Then type username and password one by one to login, and run the previous reset command to restore. If the login screen is broken with error “Oh, no! Something has gone wrong …”, press Ctrl+Alt+F3 (~ F6) ( right Ctrl+F3 ~ F6 for Virtualbox VM) to get into tty console. Or use this command if you’ve move it into your PATH: sudo ubuntu-gdm-set-background -reset The script has a -reset option to restore the original blank background. The last sudo command in previous picture didn’t work, as I navigated to image folder and type file name directly without path.Īnd if you use a remote image without pasting to local disk first, it may break your login screen so you’ll see the error screen as the bottom image shows.
#OPEN TERMINAL UBUNTU LOGIN FULL#
Then, you may use the command at any time at any working directory via (change -image to -color or -gradient accordingly): sudo ubuntu-gdm-set-background -image /PATH/TO/IMAGEĪs far as I know, it will NOT work if you do not type (or drop’n’drop) the FULL path to image. Ubuntu will come to an end when it is dropped from the graphical login screen and into a black and white terminal. If you would like to use the script regularly, run the command below to move to “/usr/local/bin”: sudo mv ~/ubuntu-gdm-set-background /usr/local/bin How Do I Open Terminal Without Logging In Ubuntu Credit: By pressing Ctrl Alt F3 on your keyboard, you can do the same. ubuntu-gdm-set-background -gradient horizontal #aAbBcC #dDeEfFĪs the terminal output indicates, press Ctrl+Alt+F1 (switch back via Ctrl+Alt+F2) to verify the changes or just restart your computer after saving your work. Or set gradient color background via (replace horizontal to vertical as you want): sudo. ubuntu-gdm-set-background -color #aAbBcC Or set another background color via command (replace #aAbBcC to your desired value): sudo.

Tip: instead of typing file path manually, you may just drag & drop image file into terminal to insert its path

OK, now use command to change login screen background image: sudo. Now, paste the command below and hit run to download the script via wget: wget -qO - | tar zx -strip-components=1 ubuntu-gdm-set-background-main/ubuntu-gdm-set-backgroundģ.
