> +# Copied from /usr/dt/config/Xinitrc.tjds
> +# Workaround Xconnecion problem if needs be
> +if [ x"$DESKTOP_SESSION" = xtgnome -o x"$DESKTOP_SESSION" = xtjds ] ; then
> +  DISPLAY=127.0.0.1:0.0 
> +  PATH=${PATH}:/usr/X11/bin:/usr/sfw/bin
> +fi

I don't think the $DISPLAY setting is needed any more, since the
needed changes to support :0 are in libX11 (and since that hardcodes
:0.0 will break displays on Sun Rays, virtual terminals, Xvncs on
additional ports, etc.).

The PATH setting should be applied to all sessions, not just trusted
ones, as all sessions need commands in those paths (like xscreensaver).

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to