I've been using elementary OS for a year now and haven't had problems previously. One day, however, I rebooted and found the system was dysfunctional in many parts but some parts still working, and being a noob I can't figure out where to start debugging.
- wifi finds networks and tries to connect, but stuck in "wi-fi connecting".
- trying to open some applications fail(e.g. Firefox, Spotify, VSCode) in the sense that the application doesn't open but checking with htop (which I'm able to do) the processes seem to be there.
- opening some other applications work (e.g. the system's graphical file explorer, calculator, Epiphany, and interestingly, Thunderbird [which is not installed with the system iirc])
- With terminal, I'm able to navigate the filesystem, use top/htop (as mentioned), use neofetch (image below), but e.g. issuing a command
sudo rebootwill leave the process running, and ctrl+C doesn't have an effect.
I tried to use Gnome instead of Pantheon (as seen in the neofetch output) but I saw no difference. My question is, what are some possible approaches for debugging this problem?