[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: coupe things RedHat does well and Debian should too



On Fri, May 05, 2000 at 12:48:10PM -0400, Sergey V Kovalyov wrote:
[snip]
> The second feature is pam_xauth module that is used to pass xauth keys
> when duing su. Very convenient. Recall how often we get questions about X
> connection refused after su.

The way I work around this on my own workstation setups is by adding this to
root's .zshrc:

[[ "x$USER" != "xroot" ]] && [[ -n "$DISPLAY" ]] && \
 [[ -f ~${USER}/.Xauthority ]] && export XAUTHORITY=~${USER}/.Xauthority

It'd need to be cleaned up a bit for general use, but you get the idea.

Marc


Reply to: