summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gpe-xsession/gpe-dm/files/Xinit')
-rw-r--r--gpe-xsession/gpe-dm/files/Xinit16
1 files changed, 16 insertions, 0 deletions
diff --git a/gpe-xsession/gpe-dm/files/Xinit b/gpe-xsession/gpe-dm/files/Xinit
new file mode 100644
index 0000000..e957a5c
--- /dev/null
+++ b/gpe-xsession/gpe-dm/files/Xinit
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Copied from gpe xserver-common
+
+export USER=root
+export HOME=/home/root
+if [ ! -d $HOME ] && [ -d /root ]; then
+ HOME=/root
+fi
+export XAPPLRESDIR=/usr/X11R6/lib/app-defaults
+export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad
+
+export PATH=$PATH:/usr/X11R6/bin
+
+SYSSESSIONDIR=/etc/X11/Xinit.d
+
+exec run-parts $SYSSESSIONDIR