From 2b7eba1cda5e276761cd447ecbe9c4798142bae2 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 16 Aug 2013 10:39:26 +0200 Subject: [PATCH 2/2] create /tmp/.X11-unix in rc.sysinit --- rc.d/rc.sysinit | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 3a72b51..ea8b1bd 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -890,6 +890,11 @@ mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1 chown root:root /tmp/.ICE-unix [ -n "$SELINUX_STATE" ] && restorecon /tmp/.ICE-unix >/dev/null 2>&1 +# Make X11 directory +mkdir -m 1777 -p /tmp/.X11-unix >/dev/null 2>&1 +chown root:root /tmp/.X11-unix +[ -n "$SELINUX_STATE" ] && restorecon /tmp/.X11-unix >/dev/null 2>&1 + #if [ -x /etc/init.d/diskdump ]; then # /etc/init.d/diskdump swapsavecore #fi -- 1.8.1.4