#!/bin/sh
# 
# $OpenBSD: Xstartup.cpp,v 1.1 2016/10/23 08:30:37 matthieu Exp $
#
if [ -f /etc/nologin ]; then
        /usr/X11R6/bin/xmessage -file /etc/nologin -timeout 30 -center
        exit 1
fi
exec /usr/X11R6/bin/sessreg  -a -w /var/log/wtmp -u /var/run/utmp 	-x /etc/X11/xenodm/Xservers -l $DISPLAY -h "" $USER
