How to enable and disable guest sessions in the Ubuntu15.04 system

Source: Internet
Author: User

Https://jingyan.baidu.com/article/046a7b3edf9639f9c27fa995.html

How to enable and disable guest sessions in the Ubuntu15.04 systemListen to the Voice
    • |
    • Browse:2343
    • |
    • Updated: 2015-08-24 23:39
    • |
    • Tags:ubuntu
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
Step through Reading

In our previous experience sharing, we shared with you the guest session feature in the Ubuntu15.04 system, which provides a convenient and highly secure way to lend your computer to others. I think this function is still good.

However, under normal circumstances we will rarely use the guest session (guest session) This feature or we do not need this feature, so the following method to teach you how to disable the guest session this feature.

How do we restore the guest session feature after disabling?

All right, let's get started.

Tools/Materials
    • Computer with Ubuntu15.04 desktop operating system installed.
Method/Step
  1. In the previous article, we can enter the guest session via the login interface or the switch-on mode in a normal session, as shown in the following two images.

  2. How to disable this feature.

    We first open the terminal, right-click or shortcut key "Ctrl + Alt + T".

  3. Enter the following command:

    sudo sh-c ' printf ' [seatdefaults]\nallow-guest=false\n ' >/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf '

  4. Then we reboot the system and confirm that we can use guest session when we log in.

    Compared to the previous, we have no "guest session" login.

  5. We log into the system as a Lilei user.

    Confirm that you can switch to "guest session" and that there is no "guest session" switch.

  6. The "Guest Session" feature was successfully disabled.

    How do I restore the guest session feature?

    All we have to do is delete this file and the command is as follows:

    sudo rm-f/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf

  7. Restart the system again.

    Confirm that the guest session feature has been restored.

    Conclusion: the "Guest session" function was successfully restored.

    Steps to read
  8. 8

    Well, this experience is mostly shared with you on how to disable and reopen the guest session feature in the Ubuntu15.04 desktop system.

    Thank you.

How to enable and disable guest sessions in the Ubuntu15.04 system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.