diff options
Diffstat (limited to 'meta/packages/x11-common/x11-common/etc/X11/Xinit')
-rw-r--r-- | meta/packages/x11-common/x11-common/etc/X11/Xinit | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/x11-common/x11-common/etc/X11/Xinit b/meta/packages/x11-common/x11-common/etc/X11/Xinit new file mode 100644 index 0000000000..f566ffe5be --- /dev/null +++ b/meta/packages/x11-common/x11-common/etc/X11/Xinit | |||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | |||
4 | export USER=root | ||
5 | export HOME=/home/root | ||
6 | if [ ! -d $HOME ] && [ -d /root ]; then | ||
7 | HOME=/root | ||
8 | fi | ||
9 | export XAPPLRESDIR=/usr/X11R6/lib/app-defaults | ||
10 | 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 | ||
11 | |||
12 | export PATH=$PATH:/usr/X11R6/bin | ||
13 | |||
14 | SYSSESSIONDIR=/etc/X11/Xinit.d | ||
15 | |||
16 | exec run-parts $SYSSESSIONDIR | ||