LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2012, 11:23 AM   #1
allu john sudhakar
LQ Newbie
 
Registered: Oct 2010
Location: hyderabad
Posts: 28
Blog Entries: 17

Rep: Reputation: 1
Smile How to Disable or Enable Guest Session in Ubuntu 12.04


What is Guest Session:-The Ubuntu Guest Session feature provides a convenient way, with a high level of security, to lend your computer to someone else. A guest cannot view the home folders of other users, and by default any saved data or changed settings will be removed/reset at logout. It means that each session starts with a fresh environment, unaffected by what previous guests did.
Want to disable the guest account from showing up on the logon screen? Ubuntu 12.04 comes with a guest account that can be used by guests to access the system.
First open terminal (Ctrl+Alt+T)
and than type this command on the terminal sudo gedit /etc/lightdm/lightdm.conf
now give system password and press enter.
You will get Text editor in that you will see this lines
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
now you add this line allow-guest=false
at the bottom of the file like this
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false
now save the file and restart
after restart you will see there is no Guest Session on the logon screen.
Want to Enable Guest Session:- go to Terminal and type this command sudo gedit /etc/lightdm/lightdm.conf
after opening Text editor you will see this lines
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
allow-guest=false
just remove allow-guest=false line on that file and save that file.
Now restart the system, you will see Guest Session on the logon screen
Enjoy!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a Guest session in debian like the one on ubuntu? wanas Debian 11 12-31-2021 09:26 AM
LXer: Disable guest session and create user accounts in Linux Mint 12 LXer Syndicated Linux News 0 11-30-2011 04:30 AM
LXer: Disable guest session and Ayatana scrollbar in Ubuntu 11.10 LXer Syndicated Linux News 0 10-24-2011 06:00 AM
LXer: Guest session and user management in Ubuntu 11.10 LXer Syndicated Linux News 0 10-17-2011 12:10 PM
How To Enable Dialup in XP Guest in Ubuntu 7.10 Host taurusx5 Linux - Software 10 06-06-2008 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration