&Thomas.Tanghus; &Thomas.Tanghus.mail;
&Steffen.Hansen; &Steffen.Hansen.mail;
&Mike.McBride; &Mike.McBride.mail;
John Knight

    anarchist_tomato@herzeleid.net

Conversion to British English
2002-02-13
3.00.00
KDE KControl TDM configuration login manager login

## Login Manager

Using this module, you can configure the &kde; graphical login manager, &tdm;. You can change how the login screen looks, who has access using the login manager and who can shutdown the computer.

In order to organise all of these options, this module is divided into five sections: Appearance, Font, Background, Sessions, Users and Convenience.

You can switch between the sections using the tabs at the top of the window.

If you are not currently logged in as a superuser, you will need to click the Administrator Mode Button. You will then be asked for a superuser password. Entering a correct password will allow you to modify the settings of this module.

### Appearance

From this page you can change the visual appearance of &tdm;, &kde;'s graphical login manager.

The greeting string is the title of the login screen. If the string contains the word `HOSTNAME` it will be translated to the domainless name of the machine &tdm; is installed on.

You can then choose to show either the current system time, a logo or nothing special in the login box. Make your choice in the radio buttons labelled Logo area. Using the Positions setting, you can choose to either centre the content of the logo area or to position it using fixed coordinates.

If you chose Show logo you can now choose a logo:

- Drop an image file on the image button.

- Click on the image button and select a new image from the image chooser dialogue.

If you do not specify a logo the default `$`TDEDIR`/share/apps/tdm/pics/tdelogo.png` will be displayed.

While &kde;'s style depends on the settings of the user logged in, the style used by &tdm; can be configured using the GUI Style option.

Below that, you have two dropdown boxes to choose the language and the country for your login box.

### Font

From this section of the module you can change the fonts used in the login window.

You can select three different font styles from the drop down box (Greeting, Fail, Standard). When you click on the Change font button a dialogue appears from which you can select the new characteristics for the font style.

- The Greeting font is the font used for the title (Greeting String).

- The Fail font is used when a login fails.

- The Standard font is used in all other places in the login window.

An example of each font can be seen in the Example Box.

### Background

Here you can change the desktop background which will be displayed when a user logs in. You can have a single colour or an image as a background. If you have an image as the background and select centre, the selected background colour will be used around the image if it isn't large enough to cover the entire desktop.

The background colours and effects are controlled by the options on the tab labelled Background and you select a background image and its placement from the options on the tab labelled Wallpaper.

To change the default background colour(s) simply click either of the colour buttons and select a new colour.

The dropdown box above the colour buttons provides you with several different blend effects. Choose one from the list, and it will be previewed on the small monitor at the top of the window. Your choices are:

Flat

  By choosing this mode, you select one colour (using the colour button labelled Colour 1), and the entire background is covered with this one colour.

Pattern

  By choosing this mode, you select two colours (using both colour buttons).

  You then select a pattern by clicking Setup. This opens a new dialogue window, which gives you the opportunity to select a pattern. Simply click once on the pattern of your choice, then click on OK, and &kde; will render the pattern you selected using the two colours you selected. For more on patterns, see the section Background: Adding, Removing and Modifying Patterns.

Background Program

  By selecting this option, you can have &kde; use an external program to determine the background. This can be any program of your choosing. For more information on this option, see the section entitled Background: Using an external program.

Horizontal Gradient

  By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by Colour 1 on the left edge of the screen, and slowly transform into the colour selected by Colour 2 by the time it gets to the right edge of the screen.

Vertical Gradient

  By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by Colour 1 on the top edge of the screen, and slowly transform into the colour selected by Colour 2 as it moves to the bottom of the screen.

Pyramid Gradient

  By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by Colour 1 in each corner of the screen, and slowly transform into the colour selected by Colour 2 as it moves to the centre of the screen.

Pipecross Gradient

  By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by Colour 1 in each corner of the screen, and slowly transform into the colour selected by Colour 2 as it moves to the centre of the screen. The shape of this gradient is different then the pyramid gradient.

Elliptic Gradient

  By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by Colour 2 in the centre of the screen, and slowly transform into the colour selected by Colour 1 as it moves to the edges, in an elliptical pattern.

The setup button is only needed for if you select Background program or Patterns. In these instances, another window will appear to configure the specifics.

Wallpaper

To select a new background image first, click on the Wallpapers tab, then you can either select an image from the drop-down list labelled Wallpaper or select Browse... and select an image file from a file selector.

The image can be displayed in six different ways:

No wallpaper

  No image is displayed. Just the background colours.

Centred

  The image will be centred on the screen. The background colours will be present anywhere the image does not cover.

Tiled

  The image will be duplicated until it fills the entire desktop. The first image will be placed in the upper left corner of the screen, and duplicated downward and to the right.

Centre Tiled

  The image will be duplicated until it fills the entire desktop. The first image will be placed in the centre of the screen, and duplicated upward, downward to the right, and to the left.

Centred Maxpect

  The image will be placed in the centre of the screen. It will be scaled to fit the desktop, but it will not change the aspect ratio of the original image. This will provide you with an image that is not distorted.

Scaled

  The image will be scaled to fit the desktop. It will be stretched to fit all four corners.

### Sessions

Allow to shutdown

Use this dropdown box to choose who is allowed to shut down:

- None: No one can shutdown the computer using &tdm;. You must be logged in, and execute a command.

- All: Everyone can shutdown the computer using &tdm;.

- Root only: &tdm; requires that the root password be entered before shutting down the computer.

- Console only: The user must be at this console, to shut down the computer.

Commands

Use these 3 blanks to define the exact shutdown command.

The shutdown command defaults to:

`/sbin/shutdown`

The restart command defaults to:

`/sbin/reboot`

The Console mode (which restarts the computer as a console only terminal) defaults to:

`/sbin/init `3``

When Show boot options is enabled, &tdm; will on reboot offer you options for the lilo boot manager. For this feature to work, you will need to supply the correct paths to your `lilo` command and to lilo's map file.

#### Session types

Define which session types should be accessible from the login window.

For more information on this subject, look at `/etc/X11/xdm/Xsession` to find your xdm setup files. Also review the xdm man pages, especially under the SESSION PROGRAM section.

To add a session, type its name in the blank entitled New types, and click Add new.

To remove a session, select the session from the list and click Remove.

### Users

From here you can change the way users are represented in the login window.

As you look on this window, you will see three lists (All users, selected users, and no-show users). You also see an image box, and a set of options along the right side of the window.

The first thing you must decide, is if you are going to show users or not.

If you choose to show users, then the login window will show images (which you select), of a list of users. When someone is ready to login, they select their user name/image, enter their password, and they are granted access.

If you choose not to show users, then the login window will be more traditional. Users will need to type their username, and password to gain entrance. This is the preferred way if you have many users on this terminal.

#### To show (and sort) or not to show users

Along the right edge of the window are two check boxes:

If Show users is selected, you have chosen to show images of users, instead of making them type their login name.

If Sort users is selected, then the list of users will be sorted alphabetically in the login window. If unchecked, users will be listed in the same order as they are on this page. If Show users is not checked, this has no effect.

#### How to determine which users to show and which users to hide

Below the user image box, and above the Show users check box, is a set of two radio buttions:

- Show only selected users: If this option is selected, only the users contained in the list labelled Selected Users, will be displayed in the login window. If Show users is not checked, this has no effect.

- Show all users but no-show users: If this option is selected, all users will be listed, except those users contained in the list entitled No show users. If Show users is not checked, this has no effect.

#### Select users

This page contains three listboxes. The large listbox on the left shows all the users on the system which might be a genuine user.

The top rightmost listbox shows the selected users and the bottom rightmost listbox shows the users we don't want displayed in the login window.

To move a user from one listbox to another you click on the username in the listbox and click >> to move the user from the leftmost box the the rightmost box or << to move the user from the rightmost box to the leftmost box.

#### Images

This section of the manual only applies if Show users is selected. If it is not, this image box has no effect.

Every user on the system can be represented by a image. The image for the user is kept in a file called `$`TDEDIR`/share/apps/tdm/pics/users/$`USER`.xpm.` If the user doesn't have such a file the file `$`TDEDIR`/share/apps/tdm/pics/users/default.xpm` will be used instead.

To assign a new image to a user just select the user in one of the listboxes and either drop an imagefile on the image button to the right or click on the image button and select a new image from the image selector.

If no user is currently selected you will be asked if you want to change the default image.

The replacement is performed by a &konqueror; process so if the image file already exists you will be prompted by &konqueror; if you want to replace it. If you confirm the image will be replaced - you will not have to press the Apply button.

### Convenience

In the convenience tab you can configure some options that make life easier for lazy people, like auto login or disabling passwords.

Please think more than twice before using these options. Every option in the convenience tab is well-suited to seriously compromise your system security. Practically, these options are only to be used in a completely non-critical environment, ⪚ a private computer at home.

#### Automatic Login

Automatic login will give anyone access to a certain account on your system without doing any authentication. You can enable it using the option Enable auto-login.

Automatic login comes in two flavours: truly automatic login acts like you would expect automatic login to, &ie; &tdm; will automatically login without expecting any input from the user. Enable this using the Truly automatic login option. If this option is not enabled, &tdm; will start normally, enabling you to login as any user, and will only perform automatic login if you kill the X server, ⪚ by pressing &Ctrl;&Alt;Backspace.

You can choose the account to be used for automatic login in the list below.

#### Password-less Login

Using this feature, you can allow certain users to login without having to provide their password. Enable this feature using the Enable password-less logins option.

Below this option you will see a list of users for which a password is required, as well as a (by default, empty) list of users that do not need to provide a password. When Enable password-less logins is enabled, you can move users from one list into the other, by selecting them and then clicking the >> and << buttons.

Again, this option should only be used in a safe environment. If you enable it on a rather public system you should take care that only users with heavy access restrictions are granted password-less login, ⪚ guest.

The Automatically login after X server crash option allows you to skip the authentication procedure when your X server accidentally crashed. Show previous user will show the name of the last login already entered into the login field in &tdm;. Some site administrators would consider even this a possible security weakness, because potential attackers then know at least one valid login.