Unix

How-to fix: Ubuntu GUI login unable to type in password

Symptoms:

Suddenly today, while connect through RDP to the Ubuntu GNOME desktop, found that it’s unable to key in the passwords. Mouse can click to the buttons and keyboard can control the Alt+w or Alt+u. Just not the password.

Solution:

login with a ssh terminal, find out the desktop session “nautilus-desktop” and its parent “gnome-session-binary”, kill it.

(base) tonielook@user-WS-C621E-SAGE-Series:~$ ps -ef|grep desktop
tonielo+ 10456 10018  1 16:14 ?        00:00:01 nautilus-desktop
...
(base) tonielook@user-WS-C621E-SAGE-Series:~$ ps -ef|grep 10018
tonielo+ 10018 10017  0 16:14 ?        00:00:00 /usr/lib/gnome-session/gnome-session-binary
tonielo+ 10456 10018  1 16:14 ?        00:00:01 nautilus-desktop
...
(base) tonielook@user-WS-C621E-SAGE-Series:~$ kill -9 10018

Try login GUI again, problem fixed!