Just in case killing the shell is *correct*, please ensure you don't have any local extensions installed:
cd ~/.local/share/gnome-shell rm -rf extensions and then log in again. Because extensions are the main cause of shell memory leaks, and it looks like there is one: [522352.701692] [ 1850] 1000 1850 1805745 38171 2904064 14008 0 gnome-shell ** Package changed: systemd (Ubuntu) => gnome-shell (Ubuntu) ** Changed in: gnome-shell (Ubuntu) Status: New => Incomplete ** Tags added: gnome-shell-leak -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2077254 Title: GUI is killed and returns back to login screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2077254/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs