When I boot up my computer, I only want to see one login option. Nobody will be using my computer as a guest, and I have no need for remote login. It’s just one of those things that I like having cleaned up and looking crisp. Removing the Guest and Remote Login options is easy. All that’s needed is editing the config file for LightDM, Ubuntu’s display manager.
Simply undoing the changes to the file will revert back to original behavior. However to be on the safe side, you could make a backup like so:
1 |
sudo cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.backup |
Here’s how to remove both items from Ubuntu startup:
- Open the file: sudo nano /etc/lightdm/lightdm.conf
- Change the line allow-guest=true to allow-guest=false
- Add this line at the end: greeter-show-remote-login=false
- Save the file and reboot to see your newly unblemished login screen.
In the end your file should look like this:
1 2 3 4 5 |
[SeatDefaults] user-session=ubuntu greeter-session=unity-greeter allow-guest=false greeter-show-remote-login=false |
Don’t forget to leave a blank line at the end! If you have any questions or something went wrong please don’t hesitate to ask!
There is 1 comment on this post