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

Re: Still having weird issues with Gtk...



On Sat, Jan 26, 2002 at 07:20:26AM -0600, camilo@cancun.com 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                                  [cjwatson@flatline.org.uk]



Reply to: