diff options
-rw-r--r-- | config/xdm-config.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config/xdm-config.cpp b/config/xdm-config.cpp index 1011cb1..cdf8294 100644 --- a/config/xdm-config.cpp +++ b/config/xdm-config.cpp @@ -9,27 +9,30 @@ #ifndef XDMCONFIGDIR #define XDMCONFIGDIR XDMDIR #endif +#ifndef XDMSCRIPTDIR +#define XDMSCRIPTDIR XDMDIR +#endif 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 -c XDMDIR/Xwilling +DisplayManager.willing: SU nobody -c 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: XDMDIR/Xstartup -DisplayManager*session: XDMDIR/Xsession -DisplayManager*reset: XDMDIR/Xreset +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: XDMDIR/Xsetup_0 -DisplayManager._0.startup: XDMDIR/GiveConsole -DisplayManager._0.reset: XDMDIR/TakeConsole +DisplayManager._0.setup: XDMSCRIPTDIR/Xsetup_0 +DisplayManager._0.startup: XDMSCRIPTDIR/GiveConsole +DisplayManager._0.reset: XDMSCRIPTDIR/TakeConsole #ifdef XPM DisplayManager*loginmoveInterval: 10 #endif /* XPM */ |