summaryrefslogtreecommitdiff
path: root/config/xenodm-config.cpp
blob: f196e49728774471a1239bd37779d2e19f759230 (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
! $OpenBSD: xenodm-config.cpp,v 1.5 2012/10/07 15:55:28 matthieu Exp $
!
!
!
!
!
#ifndef XENODMCONFIGDIR
#define XENODMCONFIGDIR XENODMDIR
#endif
#ifndef XENODMSCRIPTDIR
#define XENODMSCRIPTDIR XENODMDIR
#endif
DisplayManager.authDir:	XENODMXAUTHDIR
DisplayManager.errorLogFile:	XENODMLOGDIR/xenodm.log
DisplayManager.pidFile:		XENODMPIDDIR/xenodm.pid
DisplayManager.keyFile:		XENODMCONFIGDIR/xenodm-keys
DisplayManager.servers:		XENODMCONFIGDIR/Xservers
DisplayManager*resources:	XENODMCONFIGDIR/Xresources
DisplayManager.willing:		SU nobody -s /bin/sh XENODMSCRIPTDIR/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:		XENODMSCRIPTDIR/Xstartup
DisplayManager*session:		XENODMSCRIPTDIR/Xsession
DisplayManager*reset:		XENODMSCRIPTDIR/Xreset
DisplayManager*authComplain:	true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup:	XENODMSCRIPTDIR/Xsetup_0
DisplayManager._0.startup:	XENODMSCRIPTDIR/GiveConsole
DisplayManager._0.reset:	XENODMSCRIPTDIR/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 xenodm
DisplayManager.requestPort:	0