Re: Running X apps when logged as su'd as root

2001-03-26 Thread Karsten M. Self
on Mon, Mar 26, 2001 at 03:56:42PM -0900, Ethan Benson ([EMAIL PROTECTED]) wrote: > On Mon, Mar 26, 2001 at 04:00:58PM -0800, Chris Majewski wrote: > > Speaking of reasonable defaults, shouldn't this be one? > > -chris > > no users should not run X programs as root. I believe you mean one or mo

Re: Running X apps when logged as su'd as root

2001-03-26 Thread Karsten M. Self
on Mon, Mar 26, 2001 at 04:00:58PM -0800, Chris Majewski ([EMAIL PROTECTED]) wrote: > "Karsten M. Self" writes: > > > Rather than exporting xauthority, my preference is: > > > > # As root > > $ xauth merge ~$USER/.Xauthority > > > > ...where $USER is your desired user. > > > > This tr

Re: Running X apps when logged as su'd as root

2001-03-26 Thread Ethan Benson
On Mon, Mar 26, 2001 at 04:00:58PM -0800, Chris Majewski wrote: > Speaking of reasonable defaults, shouldn't this be one? > -chris no users should not run X programs as root. > "Karsten M. Self" writes: > > > Rather than exporting xauthority, my preference is: > > > > # As root > > $

Re: Running X apps when logged as su'd as root

2001-03-26 Thread Chris Majewski
Speaking of reasonable defaults, shouldn't this be one? -chris "Karsten M. Self" writes: > Rather than exporting xauthority, my preference is: > > # As root > $ xauth merge ~$USER/.Xauthority > > ...where $USER is your desired user. > > This transfers cookies from $USER's .Xauthority

Re: Running X apps when logged as su'd as root

2001-03-25 Thread Karsten M. Self
on Sun, Mar 25, 2001 at 10:26:14PM -0500, Hall Stevenson ([EMAIL PROTECTED]) wrote: > * Brendan O'Connor ([EMAIL PROTECTED]) [010325 22:14]: > > Is this a consequence of security? Is there some cheap way around it? I'm > > willing to forgo some security on my home desktop to do run things like

Re: Running X apps when logged as su'd as root

2001-03-25 Thread Martin Fluch
On Sun, 25 Mar 2001, Hall Stevenson wrote: > * Brendan O'Connor ([EMAIL PROTECTED]) [010325 22:14]: > > Is this a consequence of security? Is there some cheap way around it? I'm > > willing to forgo some security on my home desktop to do run things like > > qtcups. Thanks! > > A cheap way: x

Re: Running X apps when logged as su'd as root

2001-03-25 Thread Hall Stevenson
* Brendan O'Connor ([EMAIL PROTECTED]) [010325 22:14]: > Is this a consequence of security? Is there some cheap way around it? I'm > willing to forgo some security on my home desktop to do run things like > qtcups. Thanks! A cheap way: xhost +localhost Do that as the *original* user and then

Running X apps when logged as su'd as root

2001-03-25 Thread Brendan O'Connor
Sorry, I'm sure this problem has been addressed already... When I start X as a normal user, open up an xterm, su to root, and try to start an X application, I get the following error: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Is this a cons