2

When I try to boot my machine, this is the output:

Ubuntu 22.04.1 LTS <my_name>-pc tty1
<my_name>-pc login:

The whole screen is black. If I login in then it's like I'm in a huge terminal because I can run command in.

1 Answers1

5

Answering my own question.

To anyone that is having the same problem as me, and is not really technical (like me), here's what solved it for me.

What I was seeing was tty (“teletypewriter”), which is a text-only terminal commonly used as a way to get access to the computer to fix things. I was put into this "environment" because I somehow (after an update) managed to uninstall my desktop.

My advice is:

  1. Log in into tty with your username and password.
  2. Check if you have the ubuntu-desktop package installed. I did this by typing sudo apt remove ubuntu-desktop, which returned something like package not found.
  3. If you find out that the package is missing, run sudo apt install ubuntu-desktop. After the installation, my desktop opened automatically and everything was fine.

Hope this helps somebody!