Score:0

Always boots to tty1 after uninstalling KDE plasma (Ubuntu 22.04 LTS)

ar flag

I always booted to tty1 after removing KDE plasma on Ubuntu 22.04 LTS, I have logged in to the tty1, but I have no idea what should I do after login to tty1.

Rishon JR avatar
pl flag
Why do you want to ask about "How to use Linux?".(tty1 It is just the Linux terminal). Better to stick to KDE.. do `sudo apt install kde-full`. If you have gnome installed, do `sudo dpkg-reconfigure lightdm` and change to gdm3. If it doesn't appear in the menu try `sudo apt install gdm3`
Score:1
vn flag

So you removed the graphical interface, and now you're booting to a terminal. Which graphical interface would you like at boot? If Gnome is already present, you can run:

sudo dpkg-reconfigure lightdm

If not, you have to reinstall the desktop environment. If you were to switch back to the default Gnome desktop, use this command:

sudo apt install ubuntu-desktop 

If it gives a ubuntu-desktop is already the newest version.... then try with the --reinstall flag.

sudo apt --reinstall install ubuntu-desktop 

Afterwards, it might be a good idea to run the following to clean up:

sudo apt autoremove
Rishon JR avatar
pl flag
Not required... Just have to do `sudo dpkg-reconfigure lightdm` as KDE uses a different suite of applications ( Except LibreOffice and a few more but most of it is the same).
Rishon JR avatar
pl flag
Plus make sure to remove the unused applications. And if The gnome desktop is not even present, then no need of the `--reinstall` flag.
LYTube avatar
ar flag
I tried to run dpkg reconfigure but it says: dpkg-query: package 'lightdm' is not installed and no info ...
Artur Meinild avatar
vn flag
Then try install (possibly `--reinstall`) of `ubuntu-desktop`..
LYTube avatar
ar flag
Sorry i forgot to install them first
Score:0
ss flag

Steps to fix tty1 default booting.

Note: The reason why it boots to tty1 (not GUI) is that there is no GUI in your machine. You need to install ubuntu-desktop.

First Connect to the internet, I use usb tethering

ip adress | grep usb0
sudo dhclient usb0

try to ping, for example, ping www.google.com

Update and install ubuntu-client

sudo apt update && sudo apt install -y ubuntu-desktop
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.