From e34d49ac07b53ce4f4dc58010fcc940dba6a2bcf Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 5 Sep 2017 17:48:08 +0000 Subject: backout hard-coded behaviour change which was not discussed, in particular no justification for why the current behaviour is wrong --- config/Xsetup_0 | 4 ++-- config/xenodm-config.in | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/Xsetup_0 b/config/Xsetup_0 index b589864..acf72a9 100644 --- a/config/Xsetup_0 +++ b/config/Xsetup_0 @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: Xsetup_0,v 1.2 2017/08/30 07:48:56 dcoppa Exp $ -if [ "$DISPLAY" = "unix:0" -o "$DISPLAY" = ":0" -o "$DISPLAY" = ":0.0" ] +# $OpenBSD: Xsetup_0,v 1.3 2017/09/05 17:48:07 deraadt Exp $ +if [ "$DISPLAY" = ":0" -o "$DISPLAY" = ":0.0" ] then xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail fi diff --git a/config/xenodm-config.in b/config/xenodm-config.in index 5d47e08..5c5e354 100644 --- a/config/xenodm-config.in +++ b/config/xenodm-config.in @@ -1,4 +1,4 @@ -! $OpenBSD: xenodm-config.in,v 1.3 2017/08/30 07:59:00 dcoppa Exp $ +! $OpenBSD: xenodm-config.in,v 1.4 2017/09/05 17:48:07 deraadt Exp $ ! DisplayManager.authDir: @XENODMXAUTHDIR@ DisplayManager.errorLogFile: @XENODMLOGDIR@/xenodm.log @@ -14,9 +14,9 @@ DisplayManager*startup: @XENODMSCRIPTDIR@/Xstartup DisplayManager*session: @XENODMSCRIPTDIR@/Xsession DisplayManager*reset: @XENODMSCRIPTDIR@/Xreset DisplayManager*authComplain: true -! The following three resources set up display unix:0 as the console. -DisplayManager.unix_0.setup: @XENODMSCRIPTDIR@/Xsetup_0 -DisplayManager.unix_0.startup: @XENODMSCRIPTDIR@/GiveConsole -DisplayManager.unix_0.reset: @XENODMSCRIPTDIR@/TakeConsole +! 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 DisplayManager.*.authName: MIT-MAGIC-COOKIE-1 -- cgit v1.2.3