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

Thursday, June 7, 2012

Speed up your Ubuntu 12.04 with preload application


what is preload application:- Preload is nice little application that could make your linux system a lot faster. Preload is an adaptive readahead daemon. It monitors applications that users run, and by analyzing this data, predicts what applications users might run, and fetches those binaries and their dependencies into memory for faster startup times.
Preload packages are available for almost all linux distributions. And it is available by default in the Synaptic Package Manager and Ubuntu Software Center in Ubuntu. Alternatively, you can install it via Terminal. Type this command
sudo apt-get install preload
Thats it. Preload will run silently in the background. If you want to further tweak Preload, conf file is available at /etc/preload.conf.
Note that installing preload will not make your system boot faster and that preload is a daemon that runs with root privileges.
And see the difference.
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