From f7c706ff46d4a2364d65731cd1c3135ef7987380 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Fri, 4 Apr 2008 22:49:51 -0700 Subject: Apple: Execute /usr/X11/bin/privileged_startx if it's present --- startx.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/startx.cpp b/startx.cpp index d1d19d0..81042bc 100644 --- a/startx.cpp +++ b/startx.cpp @@ -102,6 +102,10 @@ if [ x`defaults read org.x.X11 cache_fonts` = x1 ] ; then fi fi +if [ -x /usr/X11/bin/privileged_startx ] ; then + /usr/X11/bin/privileged_startx & +fi + if [ x`defaults read org.x.X11 no_auth` = x0 ] ; then enable_xauth=1 else -- cgit v1.2.3