On Sat, Jan 26, 2002 at 07:20:26AM -0600, [EMAIL PROTECTED] wrote:
> Me previous request was that when su'ing to root, i could not 
> execute some graphical programs, with a Gtk error, i was told 
> about xauthorities, and did some tweaking with some success; i 
> put the Xauthority line in .bashrc, and after doing su, i did the xauth 
> merge ~user/.Xauthority ... this worked when i did "su", but it did 
> not work with su -.

Don't use 'su -' in that situation, then - it sets up a fresh
environment, and will therefore lose the X authority information you set
up.

(Personally, I 'export XAUTHORITY=$HOME/.Xauthority', and then use sudo
to gain root privileges when I need them.)

-- 
Colin Watson                                  [EMAIL PROTECTED]

Reply via email to