Hi, On Sat, 16 Sep 2006 19:29:14 +0100 Neil Bothwick <[EMAIL PROTECTED]> wrote:
> emerge sux > > Use sux instead of su. or, if using sudo, do the following: append to /root/.bashrc: ----snip [[ -n "$SUDO_USER" ]] && [[ -n "$DISPLAY" ]] && export XAUTHORITY=/home/$SUDO_USER/.Xauthority ----snip to keep the DISPLAY environment variable set, /etc/sudoers should have some line like this which tells it to not clean environment (in this case for users in the wheel group, for which I allow passwordless sudo'ing, too: ----snip Defaults:%wheel !env_reset ----snip -hwh -- gentoo-user@gentoo.org mailing list