On Mon, Jan 26, 2004 at 12:09:17PM +0200, Aaron wrote:
> Well thanks,
>
> I often need to fix a readonly or system file and out of habit use gvim.
> Or I want to run Synaptic which I think needs me to be su.
> In Fedora, Redhat or Mandrake I never had this problem.
>
> This only happens in Debian/Xandros
See my other message.
Also try to use the following instead of 'su -':
su -c "XAUTHORITY=${XAUTHORITY:-$HOME/.Xauthority} $SHELL" -
(if one uses tcsh then 'env' needs to be prefixed to the command
string).
This naturally doesn't work when setting to a non-root user.
--
Tzafrir Cohen +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED] +---------------------------+
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]