Ubuntu: removing guest access and removing remote login

Ubuntu 14.04, 16.04

sudo mkdir -p /etc/lightdm/lightdm.conf.d

sudo nano /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf

and add the lines:

[SeatDefaults] 
allow-guest=false 
greeter-show-remote-login=false

Ubuntu 12.04

sudo nano /etc/lightdm/lightdm.conf

and add the lines as noted above

Categories:

Updated: