After I started up my computer, having updated the last time I used it, going past the log in screen just shows the lock-screen background for a little bit, before a black screen with just a cursor. The Lock Screen still works if I shut the laptop lid or leave the computer enough, but the screen doesn’t seem to turn off properly when shutting the lid and most keyboard shortcuts don’t work, though I can still go to tty.
I tried updating. I tried reinstalling Cinnamon. That didn’t work, but installing lxde and selecting that at login worked, but Cinnamon still doesn’t.
I eventually found out that right clicking the black screen Cinnamon desktop still works, and I can get windows such as the terminal like that, but the windows won’t move or resize.
Probably just going to do a new install.
Go to a TTY by pressing Ctrl + Alt + F3. Replace F3 with F4, F5, F6 etc if you are already on that TTY. Once you are in TTY, login with your user and its password. Then run
cinnamon --replace
. If it runs without any problems, the problem might be related to your display manager. If it doesn’t start, you should see the errors.Is prints “
Window manager warning: Unsupported session type
”.This seems to be an error that traced back to Mutter, since Muffin (CInnamon’s window manager) is a fork of it I believe they are related. Maybe an upgrade solve this? The post says you are on 21.3, so while on TTY, do an upgrade to see if that works.
sudo apt dist-upgrade
Didn’t work.
You already tried reinstalling CInnamon but can you try it by purging this time, if you already didn’t do it like that?
Then reboot.
E: Unable to locate package cinnamon-settings
Did the reinstall with the rest of them after running purge.
Rebooted and got the same result when trying to run Cinnamon.
My command last time was
sudo apt install --reinstall cinnamon
, so this was my first time “purging”.Purge is used when you want something to be deleted completely, and autoremove is used to clean the rest of the unused dependencies. If those didn’t fix the issue, this could be about your user or user’s home directory. Though the errors indicate a session problem.
You can try to reset all Cinnamon configuration.
dconf reset -f /org/cinnamon/
That will delete everything you changed on Cinnamon so you may want to backup your settings.Backup
dconf dump /org/cinnamon/ > cinnamon-settings-backup
Restore
dconf load /org/cinnamon/ < cinnamon-settings-backup
If that still doesn’t work, can you try to add a new user to see if that user can login to Cinnamon?
sudo add newuser