$OpenBSD: patch-startkde,v 1.4 2004/02/01 14:59:22 espie Exp $
--- startkde.orig	2003-10-26 11:45:35.000000000 +0100
+++ startkde	2004-01-21 01:30:50.000000000 +0100
@@ -3,6 +3,11 @@
 #  DEFAULT KDE STARTUP SCRIPT ( KDE-3.2 )
 #
 
+case X"$DISPLAY" in
+X)
+	exec /usr/X11R6/bin/startx $0;;
+esac
+
 # When the X server dies we get a HUP signal from xinit. We must ignore it
 # because we still need to do some cleanup.
 trap 'echo GOT SIGHUP' HUP
