Cool Solution - Autologin to Terminalserver

From Univention Wiki

Revision as of 15:07, 6 February 2014 by Smidt (talk | contribs)
Jump to: navigation, search
Produktlogo UCC Version 1.0

Note: Cool Solutions are articles documenting additional functionality based on Univention products. Not all of the shown steps in the article are covered by Univention Support. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps.

Also regard the legal notes at Terms of Service.

This article describes briefly how you can set up autologin to a rdp terminalserver for UCC Thinclients.

  • UCS DC Master with installed modul UCC
  • A joined rdp terminalserver

Modify UCC image

First off all you need to download two RDP session scripts: RDP-autologin RDP-autologin.desktop Afterwards we will move them in the UCC image. Therefor you need to move the session scripts to the UCS DC Master. Login at the Master and mount the image as in section Modification of existing images described. On the Master move the scripts to the image:

mv RDP-autologin /mnt/img/usr/share/xsessions/
mv RDP-autologin.desktop /mnt/img/usr/share/xsessions/

Unmount the image and create a new MD5 checksum so that the ucc can determine whether the image has been modified.

Set up clients in the Univention Management Console

Login on the Univention Management Console. Create a new policy under "Policies" -> "+Add" -> "Container: ldap_base:/policies/config-registry" -> "Policy type: Policy: Univention Configuration Registry"
For additional information about the configuration of UCC systems and policies see the UCC documentation.
Allocate a name for the policy and add following variables to the policy:

rdp/domainname Domain
lightdm/autologin/session RDP-autologin
lightdm/autologin yes
rdp/server rdp-terminalserver

Thereafter you have to referencing the policy to your desired computer objects. Choose a UCC Thinclient in the Computers modul. If you are in the edit mode go to the TAB "[Policies]" and the section "Policy: Univention Configuration Registry" with the field "Select policy configuration" and choose your previously created policy.
In addition go to the Images TAB and change the Boot variant to "Image boot with update check / Initial installation"
Save changes and reboot the client.

Now the client should be downloading the and copy the updated image to the harddisk.

Personal tools