11.6. Automatic User Log In

Warning

This is not smart security-wise, but very nice if, for example, you have a Skolelinux/Debian-edu network at home and you are the only user. Be aware that the user in question will be able to log in without being asked to give a password.

It is possible to automatically log in a specific user on a specific thin client when it gets turned on. This is done in the file /etc/kde2/kdm/kdmrc, where the following lines are added:


[X-ltsp010:0-Core]
AutoLoginEnable=true
AutoLoginUser=klaus
Here the user klaus gets automatically logged in to the thin client ltsp010 when it gets turned on. In order for this to work, you need to lock the MAC address til the IP number.

[X-ltsp058:0-Core]
AutoLoginEnable=true
AutoLoginUser=susanna
In this case, the user susanna gets automatically logged in on the thin client ltsp058.

11.6.1. Automatic Input of Username in the Login Window

If you have a thin client placed where there is always one single user who logs in, such as in an office, itmay be fine to set things up so that the user doesn't have to type in their username but just their password. You can do this by adding the following lines to the file /etc/kde2/kdm/kdmrc


[X-ltsp059:0-Greeter]
PreselectUser=Default
DefaultUser=perbart
	  
That way the thin client ltsp059 has already filled in perbart as username; the only thing the user has to type in is his password. If some other user than perbart wants to use that thin client, they can easily do so by removing perbart from the login window and typing in their own username.