diff options
-rw-r--r-- | config/Xreset.in | 7 | ||||
-rw-r--r-- | config/Xstartup.in | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/config/Xreset.in b/config/Xreset.in index a3949e4..c05084c 100644 --- a/config/Xreset.in +++ b/config/Xreset.in @@ -1,7 +1,6 @@ #!/bin/sh # Deregister a login. (Derived from TakeConsole as follows:) # -prefix=@prefix@ -exec_prefix=@exec_prefix@ -@bindir@/sessreg -d -w @WTMP_FILE@ -u @UTMP_FILE@ \ - -x @XENODMCONFIGDIR@/Xservers -l $DISPLAY -h "" $USER +prefix="@prefix@" +exec_prefix="@exec_prefix@" +@bindir@/sessreg -d -l $DISPLAY -u none $USER diff --git a/config/Xstartup.in b/config/Xstartup.in index a1da63c..c42a16a 100644 --- a/config/Xstartup.in +++ b/config/Xstartup.in @@ -1,13 +1,12 @@ #!/bin/sh # -# $OpenBSD: Xstartup.in,v 1.3 2018/07/15 09:05:17 matthieu Exp $ +# $OpenBSD: Xstartup.in,v 1.4 2018/07/15 09:53:23 matthieu Exp $ # prefix="@prefix@" exec_prefix="@exec_prefix@" if [ -f /etc/nologin ]; then - /usr/X11R6/bin/xmessage -file /etc/nologin -timeout 30 -center + @bindir@/xmessage -file /etc/nologin -timeout 30 -center exit 1 fi -exec @bindir@/sessreg -a -w @WTMP_FILE@ -u @UTMP_FILE@ \ - -x @XENODMCONFIGDIR@/Xservers -l $DISPLAY -h "" $USER +exec @bindir@/sessreg -a -l $DISPLAY -u none $USER |