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
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
|
<?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 % British-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>
<othercredit role="translator"
><firstname
>John</firstname
><surname
>Knight</surname
><affiliation
><address
><email
>anarchist_tomato@herzeleid.net</email
></address
></affiliation
><contrib
>Conversion to British English</contrib
></othercredit
>
</authorgroup>
<date
>2002-02-13</date>
<releaseinfo
>3.00.00</releaseinfo>
<keywordset>
<keyword
>KDE</keyword>
<keyword
>KControl</keyword>
<keyword
>KDM 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, &kdm;. 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 organise all of these options, this module is divided into five sections: <link linkend="kdmconfig-appearance"
><guilabel
>Appearance</guilabel
></link
>, <link linkend="kdmconfig-font"
><guilabel
>Font</guilabel
></link
>, <link linkend="kdmconfig-background"
><guilabel
>Background</guilabel
></link
>, <link linkend="kdmconfig-sessions"
><guilabel
>Sessions</guilabel
></link
>, <link linkend="kdmconfig-users"
><guilabel
>Users</guilabel
></link
> and <link linkend="kdmconfig-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="kdmconfig-appearance">
<title
>Appearance</title>
<para
>From this page you can change the visual appearance of &kdm;, &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 &kdm; 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 labelled <guilabel
>Logo area</guilabel
>. Using the <guilabel
>Positions</guilabel
> setting, you can choose to either centre 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 dialogue.</para>
</listitem>
</itemizedlist>
<para
>If you do not specify a logo the default <filename
>$<envar
>KDEDIR</envar
>/share/apps/kdm/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 &kdm; 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="kdmconfig-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 dialogue 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="kdmconfig-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 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.</para>
<para
>The background colours and effects are controlled by the options on the tab labelled <guilabel
>Background</guilabel
> and you select a background image and its placement from the options on the tab labelled <guilabel
>Wallpaper</guilabel
>.</para>
<para
>To change the default background colour(s) simply click either of the colour buttons and select a new colour.</para>
<para
>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:</para>
<variablelist>
<varlistentry>
<term
>Flat</term>
<listitem
><para
>By choosing this mode, you select one colour (using the colour button labelled <guibutton
>Colour 1</guibutton
>), and the entire background is covered with this one colour.</para
></listitem>
</varlistentry>
<varlistentry>
<term
>Pattern</term>
<listitem
><para
>By choosing this mode, you select two colours (using both colour buttons). </para
> <para
>You then select a pattern by clicking <guilabel
>Setup</guilabel
>. 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 <guilabel
>OK</guilabel
>, and &kde; will render the pattern you selected using the two colours 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 colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel
>Colour 1</guilabel
> on the left edge of the screen, and slowly transform into the colour selected by <guilabel
>Colour 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 colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel
>Colour 1</guilabel
> on the top edge of the screen, and slowly transform into the colour selected by <guilabel
>Colour 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 colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel
>Colour 1</guilabel
> in each corner of the screen, and slowly transform into the colour selected by <guilabel
>Colour 2</guilabel
> as it moves to the centre of the screen.</para
></listitem
>
</varlistentry>
<varlistentry>
<term
>Pipecross Gradient</term>
<listitem
><para
>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel
>Colour 1</guilabel
> in each corner of the screen, and slowly transform into the colour selected by <guilabel
>Colour 2</guilabel
> as it moves to the centre 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 colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel
>Colour 2</guilabel
> in the centre of the screen, and slowly transform into the colour selected by <guilabel
>Colour 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 labelled <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 colours.</para>
</listitem
></varlistentry>
<varlistentry>
<term
>Centred</term
>
<listitem
><para
>The image will be centred on the screen. The background colours 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
>Centre Tiled</term>
<listitem
><para
>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.</para
> </listitem>
</varlistentry>
<varlistentry>
<term
>Centred Maxpect</term>
<listitem
><para
>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. </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="kdmconfig-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 &kdm;. You must be logged in, and execute a command.</para>
</listitem>
<listitem>
<para
><guilabel
>All</guilabel
>: Everyone can shutdown the computer using &kdm;.</para>
</listitem>
<listitem
><para
><guilabel
>Root only</guilabel
>: &kdm; 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, &kdm; 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="kdmconfig-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="kdmconfig-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="kdmconfig-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="kdmconfig-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="kdmconfig-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="kdmconfig-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
>KDEDIR</envar
>/share/apps/kdm/pics/users/$<envar
>USER</envar
>.xpm.</filename
> If the user doesn't have such a file the file <filename
>$<envar
>KDEDIR</envar
>/share/apps/kdm/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="kdmconfig-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 flavours: <guilabel
>truly automatic login</guilabel
> acts like you would expect automatic login to, &ie; &kdm; 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, &kdm; 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 &kdm;. 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>
|