本文介绍的方法适用于ubuntu 11.10,12.04,Ubuntu13.10 请参看文章最后,请转载时注明出处http://www.gejoin.com;某些知名网站大段复制本文而不留出处BS之。
ubuntu 11.10有了客人会话模式,于是有人便有了这个问题:能不能像Windows那样可以禁用或启用来宾账户(Guest)登录呢?
在windows下是很简单,但是这个在ubuntu 11.10下该怎么办呢。看到中文论坛上的解决方法: sudo apt-get remove gdm-guest-session
测试后并不奏效。其实以下为一种有效的解决方法:(英文很简单就不翻译)
if you wish to remove or disable the guest session from the login screen, open a shell terminal (use the Dash to search for “terminal”), then type sudo gedit /etc/lightdm/lightdm.conf.That command will open LightDM’s configuration file (after you authenticate) in Gedit, a text editor. By default, that file reads: sudo gedit /etc/lightdm/lightdm.conf