1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
|
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
"dtd/kdex.dtd" [
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>
<article lang="&language;">
<articleinfo>
<authorgroup>
<author>&Thomas.Tanghus; &Thomas.Tanghus.mail;</author>
<author>&Steffen.Hansen; &Steffen.Hansen.mail;</author>
<author>&Mike.McBride; &Mike.McBride.mail;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2002-02-13</date>
<releaseinfo>3.00.00</releaseinfo>
<keywordset>
<keyword>KDE</keyword>
<keyword>KControl</keyword>
<keyword>TDM configuration</keyword>
<keyword>login manager</keyword>
<keyword>login</keyword>
</keywordset>
</articleinfo>
<sect1 id="login-manager">
<title>Login Manager</title>
<para>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.</para>
<para>In order to organize all of these options, this module is
divided into six sections: <link
linkend="tdmconfig-appearance"><guilabel>Appearance</guilabel></link>,
<link linkend="tdmconfig-font"><guilabel>Font</guilabel></link>, <link
linkend="tdmconfig-background"><guilabel>Background</guilabel></link>,
<link
linkend="tdmconfig-sessions"><guilabel>Sessions</guilabel></link>,
<link linkend="tdmconfig-users"><guilabel>Users</guilabel></link> and
<link
linkend="tdmconfig-convenience"><guilabel>Convenience</guilabel></link>.</para>
<para>You can switch between the sections using the tabs at the top of
the window.</para>
<note><para>If you are not currently logged in as a superuser, you
will need to click the <guibutton>Administrator Mode</guibutton>
Button. You will then be asked for a superuser password. Entering a
correct password will allow you to modify the settings of this
module.</para></note>
<sect2 id="tdmconfig-appearance">
<title>Appearance</title>
<para>From this page you can change the visual appearance of &tdm;,
&kde;'s graphical login manager.</para>
<para>The greeting string is the title of the login screen. If the
string contains the word <computeroutput>HOSTNAME</computeroutput> it
will be translated to the domainless name of the machine &tdm; is
installed on.</para>
<para>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 labeled <guilabel>Logo area</guilabel>. Using the
<guilabel>Positions</guilabel> setting, you can choose to either center
the content of the logo area or to position it using fixed
coordinates.</para>
<para>If you chose <guilabel>Show logo</guilabel> you can now choose a
logo:</para>
<itemizedlist>
<listitem>
<para>Drop an image file on the image button.</para>
</listitem>
<listitem>
<para>Click on the image button and select a new image from the image chooser
dialog.</para>
</listitem>
</itemizedlist>
<para>If you do not specify a logo the default
<filename>$<envar>TDEDIR</envar>/share/apps/tdm/pics/kdelogo.png</filename>
will be displayed.</para>
<para>While &kde;'s style depends on the settings of the user logged in,
the style used by &tdm; can be configured using the <guilabel>GUI
Style</guilabel> option.</para>
<para>Below that, you have two dropdown boxes to choose the language and the
country for your login box.</para>
</sect2>
<sect2 id="tdmconfig-font">
<title>Font</title>
<para>From this section of the module you can change the fonts used in
the login window.</para>
<para>You can select three different font styles from the drop down box
(<guilabel>Greeting</guilabel>, <guilabel>Fail</guilabel>,
<guilabel>Standard</guilabel>). When you click on the <guibutton>Change
font</guibutton> button a dialog appears from which you can select the
new characteristics for the font style.</para>
<itemizedlist>
<listitem>
<para>The <guilabel>Greeting</guilabel> font is the font used for the title
(Greeting String).</para>
</listitem>
<listitem>
<para>The <guilabel>Fail</guilabel> font is used when a login fails.</para>
</listitem>
<listitem>
<para>The <guilabel>Standard</guilabel> font is used in all other places in the
login window.</para>
</listitem>
</itemizedlist>
<para>An example of each font can be seen in the
<guilabel>Example</guilabel> Box.</para>
</sect2>
<sect2 id="tdmconfig-background">
<title>Background</title>
<para>Here you can change the desktop background which will be displayed
when a user logs in. You can have a single color or an image as a
background. If you have an image as the background and select center, the
selected background color will be used around the image if it isn't
large enough to cover the entire desktop.</para>
<para>The background colors and effects are controlled by the options on
the tab labeled <guilabel>Background</guilabel> and you select a
background image and its placement from the options on the tab labeled
<guilabel>Wallpaper</guilabel>.</para>
<para>To change the default background color(s) simply click either of
the color buttons and select a new color.</para>
<para>The dropdown box above the color 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:</para>
<variablelist>
<varlistentry>
<term>Flat</term>
<listitem><para>By choosing this mode, you select one color (using the color
button labeled <guibutton>Color 1</guibutton>), and the entire background is
covered with this one color.</para></listitem>
</varlistentry>
<varlistentry>
<term>Pattern</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). </para> <para>You then select a pattern by clicking
<guilabel>Setup</guilabel>. This opens a new dialog window, which gives you
the opportunity to select a pattern. Simply click once on the pattern of your
choice, then click on <guilabel>OK</guilabel>, and &kde; will render the pattern
you selected using the two colors you selected. For more on patterns, see the
section <ulink url="help:/kcontrol/background/index.html#bkgnd-patterns">Background: Adding, Removing and Modifying
Patterns</ulink>.</para></listitem>
</varlistentry>
<varlistentry>
<term>Background Program</term>
<listitem><para>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 <ulink
url="help:/kcontrol/background/index.html#bkgnd-programs">Background: Using an external program</ulink>.</para></listitem>
</varlistentry>
<varlistentry>
<term>Horizontal Gradient</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). &kde; will then start with the color selected by <guilabel>Color
1</guilabel> on the left edge of the screen, and slowly transform into the
color selected by <guilabel>Color 2</guilabel> by the time it gets to the
right edge of the screen.</para></listitem>
</varlistentry>
<varlistentry>
<term>Vertical Gradient</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). &kde; will then start with the color selected by <guilabel>Color
1</guilabel> on the top edge of the screen, and slowly transform into the color
selected by <guilabel>Color 2</guilabel> as it moves to the bottom of the
screen.</para></listitem>
</varlistentry>
<varlistentry>
<term>Pyramid Gradient</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). &kde; will then start with the color selected by <guilabel>Color
1</guilabel> in each corner of the screen, and slowly transform into the color
selected by <guilabel>Color 2</guilabel> as it moves to the center of the
screen.</para></listitem>
</varlistentry>
<varlistentry>
<term>Pipecross Gradient</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). &kde; will then start with the color selected by <guilabel>Color
1</guilabel> in each corner of the screen, and slowly transform into the color
selected by <guilabel>Color 2</guilabel> as it moves to the center of the
screen. The <quote>shape</quote> of this gradient is different then the pyramid
gradient.</para></listitem>
</varlistentry>
<varlistentry>
<term>Elliptic Gradient</term>
<listitem><para>By choosing this mode, you select two colors (using both color
buttons). &kde; will then start with the color selected by <guilabel>Color
2</guilabel> in the center of the screen, and slowly transform into the color
selected by <guilabel>Color 1</guilabel> as it moves to the edges, in an
elliptical pattern.</para></listitem>
</varlistentry>
</variablelist>
<para>The setup button is only needed for if you select <guilabel>Background
program</guilabel> or <guilabel>Patterns</guilabel>. In these instances,
another window will appear to configure the specifics.</para>
<para><emphasis>Wallpaper</emphasis></para>
<para>To select a new background image first, click on the
<guilabel>Wallpapers</guilabel> tab, then you can either select an image from the
drop-down list labeled <guilabel>Wallpaper</guilabel> or select
<guibutton>Browse...</guibutton> and select an image file from a file
selector.</para>
<para>The image can be displayed in six different ways:</para>
<variablelist>
<varlistentry>
<term>No wallpaper</term>
<listitem><para>No image is displayed. Just the background colors.</para>
</listitem></varlistentry>
<varlistentry>
<term>Centered</term>
<listitem><para>The image will be centered on the screen. The background colors
will be present anywhere the image does not cover.</para> </listitem>
</varlistentry>
<varlistentry>
<term>Tiled</term>
<listitem><para>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.</para> </listitem>
</varlistentry>
<varlistentry>
<term>Center Tiled</term>
<listitem><para>The image will be duplicated until it fills the entire
desktop. The first image will be placed in the center of the screen, and
duplicated upward, downward to the right, and to the left.</para> </listitem>
</varlistentry>
<varlistentry>
<term>Centered Maxpect</term>
<listitem><para>The image will be placed in the center 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.
</para> </listitem>
</varlistentry>
<varlistentry>
<term>Scaled</term>
<listitem><para>The image will be scaled to fit the desktop. It will be
stretched to fit all four corners.</para> </listitem>
</varlistentry>
</variablelist>
</sect2>
<sect2 id="tdmconfig-sessions">
<title>Sessions</title>
<para><guilabel>Allow to shutdown</guilabel></para>
<para>Use this dropdown box to choose who is allowed to shut down:</para>
<itemizedlist>
<listitem>
<para><guilabel>None</guilabel>: No one can shutdown the computer using &tdm;.
You must be logged in, and execute a command.</para>
</listitem>
<listitem>
<para><guilabel>All</guilabel>: Everyone can shutdown the computer using
&tdm;.</para>
</listitem>
<listitem><para><guilabel>Root only</guilabel>: &tdm; requires that the
<systemitem>root</systemitem> password be entered before shutting down the
computer.</para></listitem>
<listitem><para><guilabel>Console only</guilabel>: The user must be at this
console, to shut down the computer.</para></listitem>
</itemizedlist>
<para><emphasis>Commands</emphasis></para>
<para>Use these 3 blanks to define the exact shutdown command.</para>
<para>The shutdown command defaults to:</para>
<para><command>/sbin/shutdown</command></para>
<para>The restart command defaults to:</para>
<para><command>/sbin/reboot</command></para>
<para>The Console mode (which restarts the computer as a console only terminal)
defaults to:</para>
<para><command>/sbin/init <option>3</option></command></para>
<para>When <guilabel>Show boot options</guilabel> 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 <command>lilo</command> command and to
lilo's map file.</para>
<sect3 id="tdmconfig-sess">
<title>Session types</title>
<para>Define which session types should be accessible from the login
window.</para>
<para> For more information on this subject, look at <filename
class="directory">/etc/X11/xdm/Xsession</filename> to find your
<application>xdm</application> setup files. Also review the <ulink
url="man:xdm">xdm man pages</ulink>, especially under the SESSION
PROGRAM section.</para>
<para>To add a session, type its name in the
blank entitled <guilabel>New types</guilabel>, and click
<guibutton>Add new</guibutton>. </para>
<para>To remove a session, select the session from the list and click
<guibutton>Remove</guibutton>.</para>
</sect3>
</sect2>
<sect2 id="tdmconfig-users">
<title>Users</title>
<para>From here you can change the way users are represented in the
login window.</para>
<para>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.</para>
<para>The first thing you must decide, is if you are going to show users
or not.</para>
<para>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. </para>
<para>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.</para>
<sect3 id="tdmconfig-showusers">
<title>To show (and sort) or not to show users</title>
<para>Along the right edge of the window are two check boxes:</para>
<para>If <guilabel>Show users</guilabel> is selected, you have chosen to
show images of users, instead of making them type their login
name.</para>
<para>If <guilabel>Sort users</guilabel> 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
<guilabel>Show users</guilabel> is not checked, this has no
effect.</para>
</sect3>
<sect3 id="tdmconfig-whichusers">
<title>How to determine which users to show and which users to hide</title>
<para>Below the user image box, and above the <guilabel>Show
users</guilabel> check box, is a set of two radio buttions:</para>
<itemizedlist>
<listitem><para>Show only selected users: If this option is selected, only the
users contained in the list labelled <guilabel>Selected Users</guilabel>, will
be displayed in the login window. If <guilabel>Show users</guilabel> is not
checked, this has no effect.</para></listitem>
<listitem><para>Show all users but no-show users: If this option is selected,
all users will be listed, <emphasis>except</emphasis> those users contained in
the list entitled <guilabel>No show users</guilabel>. If <guilabel>Show
users</guilabel> is not checked, this has no effect. </para></listitem>
</itemizedlist>
</sect3>
<sect3 id="tdmconfig-select">
<title>Select users</title>
<para>This page contains three listboxes. The large listbox on the left
shows all the users on the system which might be a genuine user.</para>
<para>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.</para>
<para>To move a user from one listbox to another you click on the
username in the listbox and click <guibutton>>></guibutton> to
move the user from the leftmost box the the rightmost box or
<guibutton><<</guibutton> to move the user from the rightmost box
to the leftmost box.</para>
</sect3>
<sect3 id="tdmconfig-image">
<title>Images</title>
<note><para>This section of the manual only applies if <guilabel>Show
users</guilabel> is selected. If it is not, this image box has no
effect.</para></note>
<para>Every user on the system can be represented by a image. The image
for the user is kept in a file called
<filename>$<envar>TDEDIR</envar>/share/apps/tdm/pics/users/$<envar>USER</envar>.xpm.</filename>
If the user doesn't have such a file the file
<filename>$<envar>TDEDIR</envar>/share/apps/tdm/pics/users/default.xpm</filename>
will be used instead.</para>
<para>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.</para>
<para>If no user is currently selected you will be asked if you want to change
the default image.</para>
<para>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
<emphasis>not</emphasis> have to press the <guibutton>Apply</guibutton>
button.</para>
</sect3>
</sect2>
<sect2 id="tdmconfig-convenience">
<title>Convenience</title>
<para>In the <guilabel>convenience</guilabel> tab you can configure some
options that make life easier for lazy people, like auto login or
disabling passwords.</para>
<important><para>Please think more than twice before using these
options. Every option in the <guilabel>convenience</guilabel> 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. </para></important>
<sect3 id="loginmanager-convenience-autologin">
<title>Automatic Login</title>
<para>Automatic login will give anyone access to a certain account on
your system without doing any authentication. You can enable it using
the option <guilabel>Enable auto-login</guilabel>.</para>
<para>Automatic login comes in two flavors: <guilabel>truly automatic
login</guilabel> acts like you would expect automatic login to, &ie;
&tdm; will automatically login without expecting any input from the
user. Enable this using the <guilabel>Truly automatic login</guilabel>
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 <keycombo
action="simul">&Ctrl;&Alt;<keycap>Backspace</keycap></keycombo>.</para>
<para>You can choose the account to be used for automatic login in the
list below.</para>
</sect3>
<sect3 id="loginmanager-convenience-nopasswd">
<title>Password-less Login</title>
<para>Using this feature, you can allow certain users to login without
having to provide their password. Enable this feature using the
<guilabel>Enable password-less logins</guilabel> option.</para>
<para>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 <guilabel>Enable password-less
logins</guilabel> is enabled, you can move users from one list into the
other, by selecting them and then clicking the
<guibutton>>></guibutton> and <guibutton><<</guibutton>
buttons.</para>
<important><para>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, ⪚
<systemitem>guest</systemitem>.</para></important>
<para>The <guilabel>Automatically login after X server crash</guilabel>
option allows you to skip the authentication procedure when your X
server accidentally crashed. <guilabel>Show previous user</guilabel>
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.</para>
</sect3>
</sect2>
</sect1>
</article>
|