Tuesday, June 12, 2012

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!
Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)http://allujohnsudhakar.blogspot.com
any help mail to me
aj_sudhakar@yahoo.co.in

3 comments:

  1. Please thanks for your post, however when i run this command this is what i get,

    ** (gedit:3408): WARNING **: The connection is closed

    (gedit:3408): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


    ** (gedit:3408): WARNING **: Could not connect to session bus

    What could be the problem?

    thanks

    ReplyDelete
  2. Jili Slot เป็นผู้ให้บริการเกมคาสิโนออนไลน์และก็สล็อตออนไลน์ มีเกมสนุกสนานๆให้เลือกเล่นมาก สามารถเข้าไปเล่น jili slot เล่นผ่านเว็บไซต์ของพวกเราได้เลย ที่เว็บไซต์ pgslot

    ReplyDelete
  3. โจ๊ก เกอร์ 123 ที่พวกเราพรีเซนเทชั่น เกมสล็อตออนไลน์ได้เงินจริง ที่ตื่นเต้นมากไม่น้อยเลยทีเดียว กราฟฟิกงาม ระบบป้อมปราการอาจ ไม่เป็นอันตราย รองรับในอนาคต เพื่อคุณเพลิดเพลินใจ

    ReplyDelete