Note: This article was originally published in 2013. Some steps, commands, or software versions may have changed. Check the current Linux documentation for the latest information.
In this step-by-step guide, you’ll learn add a preconfigured setting to the guest account on ubuntu.
Prerequisites
Before you begin, make sure you have:
- A system running Ubuntu (desktop or server edition)
- Terminal access with sudo privileges
- Basic familiarity with Linux command line
How to: Add a preconfigured setting to the guest account on (http://www.ubuntu.com “Ubuntu (operating system)”) (In this case a preconfigured (http://en.wikipedia.org/wiki/Remote_Desktop_Protocol “Remote Desktop Protocol”) setting for Remmina (http://www.microsoft.com/windowsserver2008/en/us/rds-product-home.aspx “Remote Desktop Services”))
As you could imagine, one of the main appeals of using a (http://en.wikipedia.org/wiki/Linux “Linux”) system, particularly Ubuntu in our case is the ability to freely use software that allow us to use low end machines as terminal clients for RDP sessions. Given that context we wanted to be able to create an environment where our users could easily access the client machine and connect to our RDP server. We explored the possibility of using the guest account although the new feature from Ubuntu called Universal Client Configuration Service (UCCS) definitively seemed like the right fit. We tried UCCS but encountered some issues with the initial configuration that would not allow us to add a local RDP host (seems like it is looking for a (http://en.wikipedia.org/wiki/Uniform_Resource_Locator “Uniform Resource Locator”) and it involves a sign on process which we would prefer to avoid). !(http://technology.bauzas.com/files/2013/01/Universal-Client-Configuration-Service-300x238.png) So the solution for us now was to use the guest account in Ubuntu. The next step is understanding how the guest account works. It creates an account just like if you had created a new user and populates with the default settings found on the “skeleton” directory: ” /etc/skel ”. The other important thing to consider is that all storage for the guest account is stored on (http://en.wikipedia.org/wiki/Volatile_memory “Volatile memory”), for which reason it will not persist. So the key here is that settings do not persist, but, if you store settings in the skel directory every new account provisioned, including the guest account and accounts created in the future. So in my case as all the users who will be using this computer need the preconfigured RDP settings it does not affect me. If you have a particular requirement in which new accounts need different settings that the guest account then this will probably won’t work for you. Another important thing to note is that in order to copy the settings file from an existing session into the skel folder you need administrator rights. If like me you are not a big fan of the terminal but rather the GUI you can run the following command to launch a file explorer session with admin rights to copy the information you need: sudo nautilus I hope this helps anyone trying to get the guest account default to certain settings!
(http://img.zemanta.com/zemified_h.png?x-id=f3400925-763a-46d2-bd4d-55cf60065692)](http://www.zemanta.com/?px “Enhanced by Zemanta”)
Summary
You’ve successfully learned add a preconfigured setting to the guest account on ubuntu. If you run into any issues, double-check the prerequisites and ensure your Linux environment is properly configured.