UbuntuIf you are reading this article on a Ubuntu-powered computer, odds are that it is your computer. Whether it is a notebook, netbook, or a standard desktop, it is your computer. Ok, it could be owned by another entity, but for simplicity’s sake, let us just say it is your computer. You log in with a username and password, and all the data belongs to you. Occasionally, you might want to give a friend or family member access to your computer, but do not trust them enough with your login information. What do you do?

You have two options:

  1. Use Ubuntu’s Guest Session feature
  2. Create a guest account for the friend or family member

We will explore these two choices in detail. First with the Guest Session Feature. Note: This tutorial was written for Ubuntu 10.10, but every step involved is still valid for managing guest session and guest user accounts in Ubuntu 11.04.

Guest Session: This feature enables a logged in user to launch a guest session. It is not a real account that can be used to log in to the system, but must be started from an active session. The privileges of the Guest Session is very limited. The official description of the Guest Session package states:

This package adds support for starting a guest session through gdm’s flexiserver, which any already logged in user can launch. It creates a temporary guest account with a temporary home directory and some restricted privileges (such as not being able to read any home directory or do any permanent change to the system). Just call /usr/share/gdm/guest-session/guest-session-launch to start the session.

Aside from being able to start the Guest Session from the command line, you may also start it from the top panel as shown below.

Accessing the Guest Session

Once the Guest Session is active, an entry is created for it in the Users and Groups graphical management utility (System > Administration > Users and Groups). All footprints generated during a Guest Session are stored under the /tmp directory, so no Guest Session activity is saved permanently in the system.

The user management tool showing the guest session account

Because the Guest Session can only be started from an active session, it places a limitation on when it can be used. So the best thing to do, if you need to give another person access to your computer, is to create another account for them. Let us just call it a guest account.

Related Post:  How to install Go 1.8 on Ubuntu 17.04

Which brings us to the second task – how to create a guest account on Ubuntu. Note that while this was written on Ubuntu, the same step may be used to create a guest account on any distribution based on Ubuntu and that uses the GNOME desktop.

Related Post:  The first thing to do after installing Linux Mint Debian 201204

Guest Account: To create a guest account, launch the Users and Groups utility (System > Administration > Users and Groups) and click on the Add button.

Users and Groups tool

On the user creation window, the first task is to specify a name for the account. Notice that as you type, the system will suggest usernames based on the name you have just typed. Select the one that suits you, or just make one up.

Creating a user

When you have decided on the username, click OK.

New user account

Next task is to specify a password for the guest account. Best option here is to set the password manually, rather than have the system generate one for you. System-generated passwords can be difficult to remember. Always leave the “Don’t ask for password on login” box unchecked. While passwordless logins are convenient, they do nothing to enhance the security of the system, even for a guest account.

Set user password


Share on facebook
Share on twitter
Share on pinterest
Share on linkedin

Hola! Did you notice that no longer runs network ads?  Yep, no more ads from the usual suspects that track you across the Internet.  But since  I still need to pay to keep the site running, feel free to make a small donation by PayPal.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

4 Responses

  1. Thanks for the article. Why don’t you explain the main issue that is user privileges? Creating the new account is simple and can be done for any user. The difference is that guest needs to be limited more than normal user and for this reason one should be aware of setting up the limitations. Can you explain what privileges to turn on and what to turn off? How to block panel and system settings? How to avoid damage that can be done by the guest at his own desktop and panel settings?

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.


The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.