Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the login screen, I see Guest Session and Remote Login.

I don't want these option, How can i remove them from my system and login screen both.

share|improve this question
See this answer whats missing from that answer would be changing 'greeter-show-remote-login=false' – damien Aug 31 '13 at 6:51
up vote 5 down vote accepted

For Guest Session:

For Remote Login:

  1. Open a terminal.

  2. Run the following commands:

    sudo -i                           # to have root privileges
    gedit /etc/lightdm/lightdm.conf   # to edit /etc/lightdm/lightdm.conf file
  3. Add this line to the end of the file:

  4. Save the file and close it.

  5. Restart lightdm service (from tty1 with sudo service lightdm restart) or restart computer.

share|improve this answer
What if he would not be using lightdm or using some other display manager? like gdm or xdm? – Saurav Kumar Aug 31 '13 at 7:14
@SauravKumar Then you could use Ask Question button and specify your problems. For example: How to remove Guest Session and Remote Login when I use gdm or xdm? The OP said that he uses Ubuntu 13.04 and the default X display manager for Ubuntu 13.04 is lightdm. – Radu Rădeanu Aug 31 '13 at 7:25
Thanks for your suggestion. :) If you don't mind will give a minute and visit this link:… Actually I have posted question, but it didn't catch any visit. I think you would know.. – Saurav Kumar Aug 31 '13 at 7:26
does greeter-show-remote-login=fasle disables remote login or just does not display remote login. My purpose is to disable remote login completly. – Hrithik Roshan Aug 31 '13 at 9:13
@HrithikRoshan It does both of them. – Radu Rădeanu Aug 31 '13 at 9:47

For remote login, uninstall:


This will prevent to be prompted to keep/replace your tweaked /etc/lightdm/lightdm.conf when an update to the remote-login-service will be plublished.... because this way, you won't [need to] edit it to make the option disappear from the greeter.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.