Kiến Thức Linux

Disable Guest Session in Ubuntu 15.04 Login Screen

guest-account

guest-account

For personal computers you may want to disable or remove the guest session from the login screen in Ubuntu 15.04 Vivid Vervet. This can be easily done by adding a rule into the configuration file of LightDM display manager.

To get started:

1. Open Ubuntu Software Center, search for and install gksu, which allows to run graphical commands as root:

install-gksu

2. Open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard. When it opens, run below command:

gksu gedit /etc/lightdm/lightdm.conf

When the file opens, add below lines if it’s empty or add the third line:

[SeatDefaults]
greeter-session=unity-greeter
allow-guest=false

so the file looks like:

disable-guest

Save the file and restart your computer to apply changes.

Đăng ký liền tay Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !

Add Comment

Click here to post a comment

Đăng ký liền tay
Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !