Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# KDM master configuration file
2
#
3
# Definition: the greeter is the login dialog, i.e., the part of KDM
4
# which the user sees.
5
#
6
# You can configure every X-display individually.
7
# Every display has a display name, which consists of a host name
8
# (which is empty for local displays specified in {Static|Reserve}Servers),
9
# a colon, and a display number. Additionally, a display belongs to a
10
# display class (which can be ignored in most cases; the control center
11
# does not support this feature at all).
12
# Sections with display-specific settings have the formal syntax
13
# "[X-" host [":" number [ "_" class ]] "-" sub-section "]"
14
# You can use the "*" wildcard for host, number, and class. You may omit
15
# trailing components; they are assumed to be "*" then.
16
# The host part may be a domain specification like ".inf.tu-dresden.de".
17
# It may also be "+", which means non-empty, i.e. remote displays only.
18
# From which section a setting is actually taken is determined by these
19
# rules:
20
# - an exact match takes precedence over a partial match (for the host part),
21
#   which in turn takes precedence over a wildcard ("+" taking precedence
22
#   over "*")
23
# - precedence decreases from left to right for equally exact matches
24
# Example: display name "myhost:0", class "dpy".
25
# [X-myhost:0_dpy] precedes
26
# [X-myhost:0_*] (same as [X-myhost:0]) precedes
27
# [X-myhost:*_dpy] precedes
28
# [X-myhost:*_*] (same as [X-myhost]) precedes
29
# [X-+:0_dpy] precedes
30
# [X-*:0_dpy] precedes
31
# [X-*:0_*] (same as [X-*:0]) precedes
32
# [X-*:*_*] (same as [X-*])
33
# These sections do NOT match this display:
34
# [X-hishost], [X-myhost:0_dec], [X-*:1], [X-:*]
35
# If a setting is not found in any matching section, the default is used.
36
#
37
# Every comment applies to the following section or key. Note that all
38
# comments will be lost if you change this file with the kcontrol frontend.
39
# The defaults refer to KDM's built-in values, not anything set in this file.
40
#
41
# Special characters need to be backslash-escaped (leading and trailing
42
# spaces (\s), tab (\t), linefeed (\n), carriage return (\r) and the
43
# backslash itself (\\)).
44
# In lists, fields are separated with commas without whitespace in between.
45
# Some command strings are subject to simplified sh-style word splitting:
46
# single quotes (') and double quotes (") have the usual meaning; the backslash
47
# quotes everything (not only special characters). Note that the backslashes
48
# need to be doubled because of the two levels of quoting.
49
 
50
[General]
51
# This option exists solely for the purpose of a clean automatic upgrade.
52
# Do not even think about changing it!
53
ConfigVersion=2.3
54
# List of permanent displays. Displays with a hostname are foreign. A display
55
# class may be specified separated by an underscore.
56
# Default is ":0"
57
StaticServers=:0
58
# List of on-demand displays. See StaticServers for syntax.
59
# Default is ""
60
ReserveServers=:1,:2,:3
61
# VTs to allocate to X-servers. A negative number means that the VT will be
62
# used only if it is free. If all VTs in this list are used up, the next free
63
# one greater than the last one in this list will be allocated.
64
# Default is ""
65
ServerVTs=-1
66
# TTYs (without /dev/) to monitor for activity while in console mode.
67
# Default is ""
68
ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6
69
# Where KDM should store its PID (do not store if empty).
70
# Default is ""
71
PidFile=/var/run/kdm/kdm.pid
72
# Whether KDM should lock the PID file to prevent having multiple KDM
73
# instances running at once. Do not change unless you are brave.
74
# Default is true
75
#LockPidFile=false
76
# Where to store authorization files.
77
# Default is "/var/run/xauth"
78
AuthDir=/var/run/kdm
79
# Whether KDM should automatically re-read configuration files, if it
80
# finds them having changed.
81
# Default is true
82
#AutoRescan=false
83
# Additional environment variables KDM should pass on to all programs it runs.
84
# LD_LIBRARY_PATH and XCURSOR_THEME are good candidates;
85
# otherwise, it should not be necessary very often.
86
# Default is ""
87
#ExportList=LD_LIBRARY_PATH,ANOTHER_IMPORTANT_VAR
88
# A character device KDM should read entropy from.
89
# Empty means use the system's preferred entropy device.
90
# Default is ""
91
#RandomDevice=/dev/altrandom
92
# Where the command FiFos should be created; make it empty to disable
93
# them.
94
# Default is "/var/run/xdmctl"
95
#FifoDir=/tmp
96
# The group to which the global command FiFo should belong;
97
# can be either a name or a numerical ID.
98
# Default is 0
99
#FifoGroup=xdmctl
100
# The directory in which KDM should store persistent working data.
101
# Default is "/var/lib/kdm"
102
#DataDir=
103
# The directory in which KDM should store users' .dmrc files. This is only
104
# needed if the home directories are not readable before actually logging in
105
# (like with AFS).
106
# Default is ""
107
#DmrcDir=/nfs-shared/var/dmrcs
108
 
109
[Xdmcp]
110
# Whether KDM should listen to incoming XDMCP requests.  Default is true
111
Enable=false
112
# The UDP port on which KDM should listen for XDMCP requests. Do not change.
113
# Default is 177
114
#Port=177
115
# File with the private keys of X-terminals. Required for XDM authentication.
116
# Default is ""
117
#KeyFile=/usr/share/config/kdm/kdmkeys
118
# XDMCP access control file in the usual XDM-Xaccess format.
119
# Default is "/usr/share/config/kdm/Xaccess"
120
Xaccess=/etc/X11/xdm/Xaccess
121
# Number of seconds to wait for display to respond after the user has
122
# selected a host from the chooser.
123
# Default is 15
124
#ChoiceTimeout=10
125
# Strip domain name from remote display names if it is equal to the local
126
# domain.
127
# Default is true
128
#RemoveDomainname=false
129
# Use the numeric IP address of the incoming connection on multihomed hosts
130
# instead of the host name.
131
# Default is false
132
#SourceAddress=true
133
# The program which is invoked to dynamically generate replies to XDMCP
134
# DirectQuery or BroadcastQuery requests.
135
# If empty, no program is invoked and "Willing to manage" is sent.
136
# Default is ""
137
Willing=/etc/X11/xdm/Xwilling
138
 
139
[Shutdown]
140
# The command (subject to word splitting) to run to halt the system.
141
# Default is "/sbin/halt"
142
HaltCmd=/sbin/poweroff
143
# The command (subject to word splitting) to run to reboot the system.
144
# Default is "/sbin/reboot"
145
#RebootCmd=
146
# Whether it is allowed to shut down the system via the global command FiFo.
147
# Default is false
148
#AllowFifo=true
149
# Whether it is allowed to abort active sessions when shutting down the
150
# system via the global command FiFo.
151
# Default is true
152
#AllowFifoNow=false
153
# The boot manager KDM should use for offering boot options in the
154
# shutdown dialog.
155
# "None" - no boot manager
156
# "Grub" - Grub boot manager
157
# "Lilo" - Lilo boot manager (Linux on i386 & x86-64 only)
158
# Default is None
159
BootManager=None
160
 
161
# Rough estimations about how many seconds KDM will spend at most on
162
# - opening a connection to the X-server (OpenTime) if the attempt
163
#   - times out: OpenTimeout
164
#   - is refused: OpenRepeat * OpenDelay
165
# - starting a local X-server (ServerTime):
166
#   ServerAttempts * (ServerTimeout + OpenDelay)
167
# - starting a display:
168
#   - local display: ServerTime + OpenTime
169
#   - foreign display: StartAttempts * OpenTime
170
#   - XDMCP display: OpenTime (repeated indefinitely by client)
171
 
172
# Core config for all displays
173
[X-*-Core]
174
# How long to wait before retrying to connect a display.
175
# Default is 15
176
#OpenDelay=15
177
# How long to wait before timing out a display connection attempt.
178
# Default is 120
179
#OpenTimeout=120
180
# How many connection attempts to make during a start attempt. Note that
181
# a timeout aborts the entire start attempt.
182
# Default is 5
183
#OpenRepeat=5
184
# Try at most that many times to start a display. If this fails, the display
185
# is disabled.
186
# Default is 4
187
#StartAttempts=4
188
# Ping remote display every that many minutes.
189
# Default is 5
190
#PingInterval=5
191
# Wait for a Pong that many minutes.
192
# Default is 5
193
#PingTimeout=5
194
# The name of this X-server's Xauth file.
195
# If empty, a random name in the AuthDir directory will be used.
196
# Default is ""
197
#AuthFile=
198
# Specify a file with X-resources for the greeter, chooser and background.
199
# The KDE frontend does not use this file, so you do not need it unless you
200
# use another background generator than krootimage.
201
# Default is ""
202
Resources=/etc/X11/xdm/Xresources
203
# The xrdb program to use to read the above specified recources.
204
# Subject to word splitting.
205
# Default is "/usr/X11R6/bin/xrdb" or "/usr/bin/xrdb"
206
#Xrdb=/usr/bin/xrdb
207
# A program to run before the greeter is shown. Can be used to start an
208
# xconsole or an alternative background generator. Subject to word splitting.
209
# Default is ""
210
Setup=/etc/X11/xdm/Xsetup_0
211
# A program to run before a user session starts. Subject to word splitting.
212
# Default is ""
213
#Startup=
214
# A program to run after a user session exits. Subject to word splitting.
215
# Default is ""
216
#Reset=
217
# The program which is run as the user which logs in. It is supposed to
218
# interpret the session argument (see SessionsDirs) and start an appropriate
219
# session according to it. Subject to word splitting.
220
# Default is "/usr/X11R6/bin/xterm -ls -T"
221
Session=/etc/kde/kdm/Xsession
222
# The program to run if Session fails.
223
# Default is "/usr/X11R6/bin/xterm"
224
#FailsafeClient=
225
# The PATH for the Session program.
226
# Default is "/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games"
227
#UserPath=
228
# The PATH for Setup, Startup and Reset, etc.
229
# Default is "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
230
#SystemPath=
231
# The default system shell.
232
# Default is "/bin/sh"
233
#SystemShell=/bin/bash
234
# Where to put the user's X-server authorization file if ~/.Xauthority
235
# cannot be created (and ForceUserAuthDir is not true)
236
# Default is "/tmp"
237
UserAuthDir=/var/run/kdm
238
ForceUserAuthDir=true
239
# Whether to automatically restart sessions after X-server crashes.
240
# Note that enabling this makes circumventing screen lockers other than
241
# KDE's built-in one possible! Default is false
242
AutoReLogin=false
243
# Allow root logins?  Default is true
244
#AllowRootLogin=true
245
# Allow to log in, when user has set an empty password? Default is true
246
#AllowNullPasswd=true
247
# Who is allowed to shut down the system. This applies both to the
248
# greeter and to the command FiFo.
249
# "None" - no "Shutdown..." menu entry is shown at all
250
# "Root" - the root password must be entered to shut down
251
# "All" - everybody can shut down the machine (Default)
252
AllowShutdown=Root
253
# Who is allowed to abort active sessions when shutting down.
254
# "None" - no forced shutdown is allowed at all
255
# "Root" - the root password must be entered to shut down forcibly
256
# "All" - everybody can shut down the machine forcibly
257
# Default is All
258
#AllowSdForceNow=Root
259
# The default choice for the shutdown condition/timing.
260
# "Schedule" - shut down after all active sessions exit (possibly at once)
261
# "TryNow" - shut down, if no active sessions are open; otherwise, do nothing
262
# "ForceNow" - shut down unconditionally
263
# Default is Schedule
264
#DefaultSdMode=ForceNow
265
# How to offer shutdown scheduling options:
266
# "Never" - not at all
267
# "Optional" - as a button in the simple shutdown dialogs
268
# "Always" - instead of the simple shutdown dialogs
269
# Default is Never
270
#ScheduledSd=Optional
271
# The directories containing session type definitions in .desktop format.
272
# Default is "/usr/share/kde4/apps/kdm/sessions"
273
SessionsDirs=/usr/share/xsessions,/usr/share/kde4/apps/kdm/sessions
274
# The file (relative to $HOME) to redirect the session output to. This is
275
# a printf format string; one %d will be replaced with the display name.
276
# Default is ".xsession-errors"
277
ClientLogFile=.xsession-errors-%d
278
# Whether KDM's built-in utmp/wtmp/lastlog registration should be used.
279
# Default is true
280
#UseSessReg=false
281
 
282
# Greeter config for all displays
283
[X-*-Greeter]
284
# Widget style of the greeter. "" means the built-in default which currently
285
# is "Plastik".  Default is ""
286
#GUIStyle=Bluecurve
287
# Widget color scheme of the greeter. "" means the built-in default which
288
# currently is yellowish grey with some light blue and yellow elements.
289
# Default is ""
290
# What should be shown in the greeter's logo are:
291
# "None" - nothing
292
# "Logo" - the image specified by LogoPixmap
293
# "Clock" - a neat analog clock (Default)
294
LogoArea=Logo
295
# The image to show when LogoArea=Logo.
296
# Default is ""
297
LogoPixmap=/usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
298
# The relative coordinates (X,Y in percent) of the center of the greeter.
299
# Default is "50,50"
300
#GreeterPos=30,40
301
# The screen the greeter should be displayed on in multi-headed and Xinerama
302
# setups. The numbering starts with 0. For Xinerama, it corresponds to the
303
# listing order in the active ServerLayout section of XF86Config; -1 means
304
# to use the upper-left screen, -2 means to use the upper-right screen.
305
# Default is 0
306
#GreeterScreen=-1
307
# The headline in the greeter. The following character pairs are replaced:
308
# - %d -> current display
309
# - %h -> host name, possibly with domain name
310
# - %n -> node name, most probably the host name without domain name
311
# - %s -> the operating system
312
# - %r -> the operating system's version
313
# - %m -> the machine (hardware) type
314
# - %% -> a single %
315
# Default is "Welcome to %s at %n"
316
GreetString=Red Hat Enterprise Linux release 6.0
317
# The font for the greeter headline.
318
# Default is "charter,24,bold"
319
GreetFont=Sans,16,-1,5,75,0,0,0,0,0
320
# The normal font used in the greeter.
321
# Default is "helvetica,12"
322
StdFont=Sans,10,-1,5,50,0,0,0,0,0
323
# The font used for the "Login Failed" message.
324
# Default is "helvetica,12,bold"
325
FailFont=Sans,12,-1,5,75,0,0,0,0,0
326
# Whether the fonts used in the greeter should be antialiased.
327
# Default is false
328
AntiAliasing=true
329
# What to do with the Num Lock modifier for the time the greeter is running:
330
# "Off" - turn off
331
# "On" - turn on
332
# "Keep" - do not change the state
333
# Default is Keep
334
#NumLock=Off
335
# Language and locale to use in the greeter, encoded like $LC_LANG.
336
# Default is "en_US"
337
#Language=de_DE
338
# Enable autocompletion in the username line edit.
339
# Default is false
340
#UserCompletion=true
341
# Enable user list (names along with images) in the greeter.
342
# Default is true
343
UserList=true
344
# Allow users to set their own user images.
345
# If UserList is enabled, this specifies where kdm gets the images from:
346
# AdminOnly (default): from <FaceDir>/$USER.face[.icon]
347
# UserOnly: from the user's $HOME/.face[.icon]
348
# PreferAdmin: prefer <FaceDir>, fallback on $HOME
349
# PreferUser: ... and the other way round
350
FaceSource=PreferUser
351
# User selection for UserCompletion and UserList:
352
# "NotHidden" - all users except those listed in HiddenUsers
353
# "Selected" - only the users listed in SelectedUsers
354
# Default is NotHidden
355
ShowUsers=NotHidden
356
# For ShowUsers=Selected. @<group> means all users in that group.
357
# Default is ""
358
#SelectedUsers=root,johndoe
359
# For ShowUsers=NotHidden. @<group> means all users in that group.
360
# Default is ""
361
HiddenUsers=root
362
# Special case of HiddenUsers: users with a non-zero UID less than this number
363
# will not be shown as well.
364
# Default is 0
365
MinShowUID=500
366
# Complement to MinShowUID: users with a UID greater than this number will
367
# not be shown as well. Default is 65535
368
MaxShowUID=65530
369
# If false, the users are listed in the order they appear in /etc/passwd.
370
# If true, they are sorted alphabetically.
371
# Default is true
372
SortUsers=true
373
# Specify, where the users' pictures should be taken from.
374
# "AdminOnly" - from <FaceDir>/$USER.face[.icon]
375
# "PreferAdmin" - prefer <FaceDir>, fallback on $HOME
376
# "PreferUser" - ... and the other way round
377
# "UserOnly" - from the user's $HOME/.face[.icon]
378
# Default is AdminOnly
379
#FaceSource=PreferUser
380
# The directory containing the user images if FaceSource is not UserOnly.
381
# Default is "/usr/share/apps/kdm/faces"
382
#FaceDir=/usr/share/faces
383
# Specify, if/which user should be preselected for log in.
384
# "None" - do not preselect any user (Default)
385
# "Previous" - the user which successfully logged in last time
386
# "Default" - the user specified in the DefaultUser option
387
#PreselectUser=None
388
# If this is true, the password input line is focused automatically if
389
# a user is preselected.
390
# Default is false
391
FocusPasswd=true
392
# Echo password (as bullets)
393
EchoPasswd=true
394
# If true, krootimage will be automatically started by KDM; otherwise, the
395
# Setup script should be used to setup the background. Default is true
396
UseBackground=true
397
# The configuration file to be used by krootimage.
398
# Default is "/usr/share/config/kdm/backgroundrc"
399
BackgroundCfg=/etc/kde/kdm/backgroundrc
400
# Hold the X-server grabbed the whole time the greeter is visible. This
401
# may be more secure, but it will disable any background and other
402
# X-clients started from the Setup script.
403
# Default is false
404
#GrabServer=true
405
# How many seconds to wait for grab to succeed.
406
# Default is 3
407
#GrabTimeout=3
408
# Warn, if display has no X-authorization (local auth cannot be created,
409
# XDMCP display wants no auth, or display is foreign from StaticServers).
410
# Default is true
411
#AuthComplain=false
412
# Random seed for forging saved session types, etc. of unknown users.
413
# This value should be random but constant across the login domain.
414
# Default is 0
415
ForgingSeed=1108476160
416
# Specify conversation plugins for the login dialog. Each plugin can be
417
# specified as a base name (which expands to $kde_modulesdir/kgreet_$base)
418
# or as a full pathname.
419
# Default is "classic"
420
#PluginsLogin=winbind
421
# Same as PluginsLogin, but for the shutdown dialog.
422
# Default is "classic"
423
#PluginsShutdown=winbind
424
# A list of options of the form Key=Value. The conversation plugins can query
425
# these settings; it is up to them what possible keys are.
426
# Default is ""
427
#PluginOptions=SomeKey=randomvalue,Foo=bar
428
# Show the "Console Login" action in the greeter (if ServerTTY/ConsoleTTYs
429
# is configured).
430
# Default is true
431
#AllowConsole=false
432
# A program to run while the greeter is visible. It is supposed to preload
433
# as much as possible of the session that is going to be started (most
434
# probably).
435
# Default is ""
436
#Preloader=/usr/bin/preloadkde
437
# Whether the greeter should be themed. Default is false
438
UseTheme=true
439
# The theme to use for the greeter. Can point to either a directory or an XML
440
# file. Default is "/usr/share/kde4/apps/kdm/themes/circles"
441
Theme=/usr/share/kde4/apps/kdm/themes/CentOS6
442
# Set the widget color scheme
443
ColorScheme=Oxygen
444
 
445
# Core config for local displays
446
[X-:*-Core]
447
# How often to try to run the X-server. Running includes executing it and
448
# waiting for it to come up. Default is 1
449
#ServerAttempts=1
450
# How long to wait for a local X-server to come up. Default is 15
451
ServerTimeout=30
452
# The command line to start the X-server, without display number and VT spec.
453
# This string is subject to word splitting. Default is "/usr/X11R6/bin/X"
454
#ServerCmd=/usr/X11R6/bin/X
455
# Additional arguments for the X-servers for local sessions.
456
# This string is subject to word splitting. Default is ""
457
ServerArgsLocal=-nr -nolisten tcp
458
# Additional arguments for the X-servers for remote sessions.
459
# This string is subject to word splitting. Default is ""
460
#ServerArgsRemote=
461
# Restart instead of resetting the local X-server after session exit.
462
# Use it if the server leaks memory etc. Default is false
463
TerminateServer=true
464
# The signal needed to reset the local X-server.
465
# Default is 1 (SIGHUP)
466
#ResetSignal=1
467
# The signal needed to terminate the local X-server.
468
# Default is 15 (SIGTERM)
469
#TermSignal=15
470
# Create X-authorizations for local displays.
471
# Default is true
472
#Authorize=false
473
# Which X-authorization mechanisms should be used.
474
# Default is "MIT-MAGIC-COOKIE-1"
475
#AuthNames=
476
# Need to reset the X-server to make it read initial Xauth file.
477
# Default is false
478
#ResetForAuth=true
479
# See above
480
#AllowNullPasswd=true
481
# See above
482
AllowShutdown=All
483
# Enable password-less logins on this display. USE WITH EXTREME CARE!
484
# Default is false
485
#NoPassEnable=true
486
# The users that do not need to provide a password to log in. NEVER list root!
487
# "*" means all non-root users. @<group> means all users in that group.
488
# Default is ""
489
#NoPassUsers=fred,ethel
490
# See above
491
#AllowRootLogin=true
492
 
493
# Greeter config for local displays
494
[X-:*-Greeter]
495
# See above
496
PreselectUser=Previous
497
# See above
498
FocusPasswd=true
499
# Specify whether the greeter of local displays should start up in host chooser
500
# (remote) or login (local) mode and whether it is allowed to switch to the
501
# other mode.
502
# "LocalOnly" - only local login possible
503
# "DefaultLocal" - start up in local mode, but allow switching to remote mode
504
# "DefaultRemote" - ... and the other way round
505
# "RemoteOnly" - only choice of remote host possible
506
# Default is LocalOnly
507
LoginMode=DefaultLocal
508
# A list of hosts to be automatically added to the remote login menu. The
509
# special name "*" means broadcast.
510
# Default is "*"
511
#ChooserHosts=*,ugly,sky,dino,kiste.local,login.crap.com
512
# Show the "Restart X Server"/"Close Connection" action in the greeter.
513
# Default is true
514
#AllowClose=false
515
 
516
# Core config for 1st local display
517
[X-:0-Core]
518
# Enable automatic login. USE WITH EXTREME CARE! Default is false
519
#AutoLoginEnable=true
520
# The user to log in automatically. NEVER specify root! Default is ""
521
#AutoLoginUser=fred
522
# The password for the user to log in automatically. This is NOT required
523
# unless the user is logged into a NIS or Kerberos domain. If you use this
524
# option, you should "chmod 600 kdmrc" for obvious reasons.
525
# Default is ""
526
#AutoLoginPass=secret!
527
 
528
# Greeter config for 1st local display
529
[X-:0-Greeter]
530
# See above
531
#PreselectUser=Default
532
# The user to preselect if PreselectUser=Default.
533
# Default is ""
534
#DefaultUser=johndoe