This question already has an answer here:
- How do I disable the guest session? 12 answers
I recently installed Ubuntu 14.04 LTS it works fine but I want to remove the guest account login.
|
This question already has an answer here:
I recently installed Ubuntu 14.04 LTS it works fine but I want to remove the guest account login. |
|||||||||
marked as duplicate by Florian Diesch, Eric Carvalho, Warren Hill, user.dz, Mitch♦ Jun 30 '14 at 10:18This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
|||||||||
|
|||||||||
|
Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
Add the following line, save and then close.
Reboot, and you're set. Edit Thanks to Gunnar Hjalmarsson Based on Gunnar Hjalmarsson comment "ubuntu-session was last updated in the middle of March. Try sudo apt-get install --reinstall ubuntu-session" when that is done, the Guest session returns. After some research, this can be done a different way as well. Open
If the file exists, then just add the following line:
Otherwise copy and paste the following into it:
Save the file and exit the editor. Reboot your system, and the changes will remain even after an update to ubuntu-session as mentioned by Gunnar Hjalmarsson's comment. |
|||||||||||||||||||||
|
|
To remove guest login :
To remove remote login :
|
|||||||||||||||||
|
|
Or just add:
to along with your No need to overcomplicate a very simple fix by creating additional config files besides default, which will inevidably only confuse the OS at some point when the two files conflict, or the default file is erased and one of your two 'fixes' gets undone because you didn't do them together. |
|||||||||||||
|