Difference between revisions of "Docs/Mapping/Autologin"

From Userful Support
< Docs‎ | Mapping
Jump to navigationJump to search
Line 12: Line 12:
 
* No need to pre-create the users. Autologin will automatically create users as required for the sessions.
 
* No need to pre-create the users. Autologin will automatically create users as required for the sessions.
 
* For multiple sessions on multiple stations, use the station variable (%STATION_ID%) to include the station number in the username.
 
* For multiple sessions on multiple stations, use the station variable (%STATION_ID%) to include the station number in the username.
* If a fixed username is used (without a station variable), do not map multiple stations to this session container. User settings may become corrupt by so doing. The system will attempt to detect if a session for the same user is started and prevent it but a number of factors may cause this error detection not to work.
+
* If a fixed username is used (without a station variable), do not map multiple stations to this session container. User settings may become corrupt by doing so. The system will attempt to detect if a session for the same user is started and prevent it but a number of factors may cause this error detection not to work.
 
* With Autologin (unlike cloud desktop) user settings are saved and retained from one session to the next.  
 
* With Autologin (unlike cloud desktop) user settings are saved and retained from one session to the next.  
 
** Note: If a user account (e.g., station_1, station_2, etc.) becomes corrupted, you can login as root user and delete the user e.g. <tt>/usr/sbin/userdel station_num</tt>. The deleted user will automatically be re-created when the station restarts.
 
** Note: If a user account (e.g., station_1, station_2, etc.) becomes corrupted, you can login as root user and delete the user e.g. <tt>/usr/sbin/userdel station_num</tt>. The deleted user will automatically be re-created when the station restarts.

Revision as of 20:05, 24 May 2016


Copyright © 2016 Userful Corporation. All rights reserved.
(Updated 2016.05.24)


Introduction

Autologin automatically starts (and logs-in) a native Linux user session for specified users.

Points to consider before using Autologin session container:

  • No need to pre-create the users. Autologin will automatically create users as required for the sessions.
  • For multiple sessions on multiple stations, use the station variable (%STATION_ID%) to include the station number in the username.
  • If a fixed username is used (without a station variable), do not map multiple stations to this session container. User settings may become corrupt by doing so. The system will attempt to detect if a session for the same user is started and prevent it but a number of factors may cause this error detection not to work.
  • With Autologin (unlike cloud desktop) user settings are saved and retained from one session to the next.
    • Note: If a user account (e.g., station_1, station_2, etc.) becomes corrupted, you can login as root user and delete the user e.g. /usr/sbin/userdel station_num. The deleted user will automatically be re-created when the station restarts.
  • Adjust the prefix to create create usernames that differ more than just by station number or if you are creating multiple Autologin session containers. You can use whichever prefix is best suited to your application (e.g. "student", "teacher", etc).


Station Mapping: Creating a Autologin Session Container

Station Mapping allows you to bind a specific station to session containers. To create the "Autologin" session container, do the following:

Creating Autologin Session Container
  1. Click on Station Mapping > New Session Container button. From the drop-down menu select "Autologin" as preferred session container type and give it a name.
  2. Enter "Username" (The username provided can contain a variable to allow different users to be logged on to different stations. The variable will be replaced by the station number).
  3. Click "OK" to complete the process.


Map Stations to Autologin Session Container

Autologin Session Container

Once session container is created, stations can be "mapped" or assigned by simply dragging-and-dropping the station icons to the Autologin session container. As with any session container, you can also add Autologin session container to a "Welcome Screen" thus making it one of several choices available to the user.

Note: Changes will not take effect until the "Apply" button is clicked.

Related Links