How to Stop a Persistent Session on Ubuntu When You Can't Login
Ever installed Google Chrome Remote Desktop or other software that launches a session and you can't login. Even after rebooting?
If you run into the error: “Session Already Running” Force Stop to Login. You will find that you can click on Force Stop and Reboot the machine 50 times, but the session won’t stop and it won’t die…foreever.
In order to fix this problem. You have to drop to a terminal mode and fix the problem using the CLI (Command Line Interface):
(Ubuntu Keyboard: This will flip you into Terminal mode)
FN + CTRL Key + ALT Key and F3
ps -ef | grep [name]
Find the last thing that you installed and remove it (we will use chrome-remote-desktop as an example)
sudo apt-get remove chrome-remote-desktop
FN + CTRL Key + ALT Key and F1 on the keyboard and then login.
Done!
Possible “Battlestations” item! I suggest knowing how to fix a broken GUI on Linux when your trying to login!