Copyright 2002 by James McQuillan
Released under the terms of
the Gnu Free Documentation License
Last updated: Saturday, Dec. 7, 2002
Setting up KDM to allow a workstation to auto-login is simply a matter of adding a few lines to the kdmrc file.
Here is an example of setting up 3 terminals to auto-login with 3 separate user names:
#
# These entries will allow auto-login.
#
# Each workstation can have its own unique user id
#
[X-ws004:0-Core]
AutoLoginEnable=true
AutoLoginUser=jam
[X-ws005:0-Core]
AutoLoginEnable=true
AutoLoginUser=fred
[X-ws006:0-Core]
AutoLoginEnable=true
AutoLoginUser=betty
The above example is fairly crude. You can also modify other behaviours based on the hostname.
The kdmrcfile is typically located in the /etc/kde/kdm directory. You may have to search to find it on your system.
Also, you must make sure that your workstations are listed in the /etc/hosts file or that you have setup proper reverse DNS. kdm MUST be able to resolve the hostname that is associated with the IP address of the workstation.
This can be a real security risk, because you are allowing users to access the system without supplying a user name or a password.