diff options
Diffstat (limited to 'config/Xstartup.in')
-rw-r--r-- | config/Xstartup.in | 7 |
1 files changed, 3 insertions, 4 deletions
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 |