summaryrefslogtreecommitdiff
path: root/app/xdm/config/xdm-config.cpp
blob: 24702a395a8d68cc64981909616b28d6625ecff3 (plain)
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
! $OpenBSD: xdm-config.cpp,v 1.5 2012/10/07 15:55:28 matthieu Exp $
!
!
!
!
!
#ifndef XDMCONFIGDIR
#define XDMCONFIGDIR XDMDIR
#endif
#ifndef XDMSCRIPTDIR
#define XDMSCRIPTDIR XDMDIR
#endif
DisplayManager.authDir:	XDMXAUTHDIR
DisplayManager.errorLogFile:	XDMLOGDIR/xdm.log
DisplayManager.pidFile:		XDMPIDDIR/xdm.pid
DisplayManager.keyFile:		XDMCONFIGDIR/xdm-keys
DisplayManager.servers:		XDMCONFIGDIR/Xservers
DisplayManager.accessFile:	XDMCONFIGDIR/Xaccess
DisplayManager*resources:	XDMCONFIGDIR/Xresources
DisplayManager.willing:		SU nobody -s /bin/sh XDMSCRIPTDIR/Xwilling
! All displays should use authorization, but we cannot be sure
! X terminals may not be configured that way, so they will require
! individual resource settings.
DisplayManager*authorize:	true
!
DisplayManager*chooser:		CHOOSERPATH
DisplayManager*startup:		XDMSCRIPTDIR/Xstartup
DisplayManager*session:		XDMSCRIPTDIR/Xsession
DisplayManager*reset:		XDMSCRIPTDIR/Xreset
DisplayManager*authComplain:	true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup:	XDMSCRIPTDIR/Xsetup_0
DisplayManager._0.startup:	XDMSCRIPTDIR/GiveConsole
DisplayManager._0.reset:	XDMSCRIPTDIR/TakeConsole
#if HAS_DES_AUTH == YES
DisplayManager.*.authName:     MIT-MAGIC-COOKIE-1
#endif
#ifdef XPM
DisplayManager*loginmoveInterval:	10
#endif /* XPM */
!
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort:	0