FYI, somehow inconvenient if you have large number of users but this is a workaround:<br><br>1. replace last two lines of sux executable bash script with:<br>TERM="$TERM export $sux_xauthority $sux_term DISPLAY='$DISPLAY'"<br>
exec su $sux_su_opts<br><br>2. put this as first line of ~user/.bash_profile<br>[[ "$TERM" == *xauth* ]] && eval "$TERM"<br><br>Make sure to avoid sux-ing into non-modified users to not expose your cookies in environment<br>
<br>Btw "su -" has X11 working by default on fedora 18, not sure how. not same for regular users though.<br>