How to get my Ubuntu 18.0.4 GUI back from TTY?

Craig Chen
Aug 11, 2018 · 2 min read
What TTY looks like

A month ago, I installed Ubuntu for my computer for the first time. As a novice in Ubuntu, I encountered some issues about managing it. Today, I am going to talk about how to get out from the TTY(TeleTYpewriter).

To be honest, I accidently uninstalled ubuntu-desktop. Therefore, I stucked in TTY for a long-time and I almost tried to re-install Ubuntu.

1. Check your ubuntu-desktop is still installed.

If your ubuntu-desktop is already installed, try the following method.

sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo reboot

Sometimes, we should re-install ubuntu-desktop package to fix some issues.

sudo apt-get remove ubuntu-desktop

Of course, if you are using other GUI, you can install other GUI environment such as Gnome 3, Openbox or other environment.

2. Use Ubuntu TTY shortcut

This is based on Ubuntu 18.0.4. It might have some difference when compares to other Ubuntu version.

If you are already in the TTY environment, you can use the shortcut to get out from TTY.

CTRL + ALT + F1 or F2

F1 is for my locked login screen. F2 is for my unlocked screen.

However, if you’re in the GUI environment and you want to access with TTY, you can try

CTRL + ALT + F3 ~ F6

18.0.4 offers 4 TTY for users to code.

Craig Chen

Written by

Data Scientist

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade