! $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