Ubuntu – Getting rid of the libvirt-qemu user in the login screen


I've just installed kvm on my Kubuntu 18.04 and I got a new user listed on my login screen. Apparently, this is an old bug. Some posts here and there suggested that I should create this file:


with this content:


which I did. But it did not fix the issue. The user is still shown on the login screen. One more thing, before I create the file, I had this user listed in my System Settings as an ordinary user. After I created the file, the user is not listed in the User Manager anymore. So the file has done something but all the way through.

Is there anything else I can try?

Best Answer

To hide libvirt-qemu from the login screen:

Run sudo nano /etc/sddm.conf. If your sddm.conf has a section titled [Users], add HideUsers=libvirt-qemu as a separate line to the section. If your sddm.conf is empty or doesn't have the section titled [Users], add


Save /etc/sddm.conf and reboot.

If you want to hide more than one user, separate them with commas without any spaces.

This approach works in Kubuntu 18.04 and in Kubuntu 19.10.

Related Question