I'm running Ubuntu 24.04 LTS on a 2020 MacBook Air with an Intel i3 1000ng4, using the ISO from t2linux.org. It came with GNOME by default, but I decided to try out XFCE as another desktop environment. After installing XFCE, I rebooted and logged in to check it out, but I wasn't a fan, so I switched back to GNOME by selecting the desktop option before logging in. I later uninstalled XFCE with `sudo apt-get purge xubuntu-desktop` and `sudo apt autoremove`, and everything seemed fine. However, when I powered off and turned my laptop back on, it booted into a tty1 terminal instead of the usual desktop. I managed to get the desktop back with `startx`, but it's not quite right. All my applications and wallpaper are there, but it still shows the XFCE default apps and the Xubuntu logo at boot. When I check my desktop environment with `echo $XDG_CURRENT_DESKTOP`, it says GNOME, but it feels off—like I can't open more than one app at a time, and it's limiting my CPU usage to about 15%. What should I do to fix this?
2 Answers
It sounds like your system is a bit confused after the XFCE installation. First, you might want to try reinstalling GNOME again to ensure all necessary packages are intact. You can run `sudo apt-get install --reinstall ubuntu-desktop`. After that, check your display manager settings; it’s possible the session type got mixed up. Also, make sure there are no conflicting services running that could be affecting performance.
You mentioned not having a Timeshift snapshot, which is unfortunate because a rollback would have been the simplest fix. Since you don't have that, another option is to create a new user account to see if the issue persists there. If everything works fine in the new account, there might be something in your original user profile causing the problem.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures