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

Re: Potato "testing"



On 20 Jan 2000, Ruud de Rooij wrote:

> Jules Bean <jmlb2@hermes.cam.ac.uk> writes:
> 
> > On Thu, 20 Jan 2000, Kenneth Scharf wrote:
> > 
> > > It's even worse than that.  If I su (in an xterm) and
> > > then try to run gnome-apt I get an error, root isn't
> > > allowed access to the display.  So you CAN'T run
> > > gnome-apt UNLESS you are logged in as root under XDM
> > > or startx from a console when you are logged in as
> > > root.  IOW either xdm must allow root login, or don't
> > > install xdm if you want to use gnome-apt.
> > 
> > As my example showed, you must invoke X apps when su'ed as
> > 
> > HOME=/home/ken xappname
> > 
> > So it can find the Xauthority.
> 
> Actually, it's probably cleaner to simply do
> 
> XAUTHORITY=/home/someone/.Xauthority

Depends if you think it's an advantage, or disadvantage, that it'll use
all your gnome/gtk settings from ~/.gnome and ~/.gtkrc.  I'm inclined to
say that's an advantage...

Jules

/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@jellybean.co.uk         |  6 Evelyn Rd	       |
|  Jules aka     | jules@debian.org              |  Richmond, Surrey   |
|  Julian Bean   | jmlb2@hermes.cam.ac.uk        |  TW9 2TF *UK*       |
+----------------+-------------------------------+---------------------+
|  War doesn't demonstrate who's right... just who's left.             |
|  When privacy is outlawed... only the outlaws have privacy.          |
\----------------------------------------------------------------------/


Reply to: