Alan Coopersmith wrote:
>> +# 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).
>
>
See my blog entry:
http://blogs.sun.com/gfaden/entry/improving_x11_performance_and_security
This workaround is required to use UNIX domain sockets with TX. The
workaround is required until a fix in made to gdm that removing the
symlink between /tmp/.X11-unix and /var/tsol/doors. I'm not sure of the
status of the gdm issue. It was supposed to have been fixed by Brian
Cameron. If this has happened already, then the DISPLAY workaround (and
my lofs mount workaround) should be removed.
--Glenn