Re: gui progs as root in x under normal user?

1999-05-24 Thread Martin Waller
I just use Xnest -query localhost :1 and login via the xdm prompt as root. voila - a root session in a window under a normal users session. No faffing about with authorities and crap. How do i start graphical programs under X as root while I'm logged in as a normal user?

Re: gui progs as root in x under normal user?

1999-05-23 Thread fairfax
On Mon, 17 May 1999 19:18:48 +0200 Peter Granroth wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? If you put the following in root's .bashrc (assuming you use bash), you can start X programs when su root in a users X session: if [ $USER !=

Re: gui progs as root in x under normal user?

1999-05-23 Thread ktb
[EMAIL PROTECTED] wrote: On Mon, 17 May 1999 19:18:48 +0200 Peter Granroth wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? If you put the following in root's .bashrc (assuming you use bash), you can start X programs when su root in a

Re: gui progs as root in x under normal user?

1999-05-23 Thread Peter Granroth
On Sat, May 22, 1999 at 10:39:50PM -0500, [EMAIL PROTECTED] wrote: On Mon, 17 May 1999 19:18:48 +0200 Peter Granroth wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? If you put the following in root's .bashrc (assuming you use bash), you

Re: gui progs as root in x under normal user?

1999-05-18 Thread Branden Robinson
On Thu, May 13, 1999 at 02:32:55PM +0300, Micha Feigin wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? The message i get when i try is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server If you're

Re: gui progs as root in x under normal user?

1999-05-18 Thread Robert Vollmert
On Mon, May 17, 1999 at 07:20:55AM -0400, Allen B. Riddell wrote: Easy way to do this... put xhost localhost in your .xinitrc or, you could type it each time before you go into root. A safer solution would be to do (as root): # export DISPLAY=:0.0 # export

Re: gui progs as root in x under normal user?

1999-05-18 Thread Anders Arnholm
Robert Vollmert wrote: A safer solution would be to do (as root): # export DISPLAY=:0.0 # export XAUTHORITY=/home/yourname/.Xauthority That worked until I started to work in a networked environment. Then I don't like all clients to have root access to the users home directory so the row

gui progs as root in x under normal user?

1999-05-17 Thread Micha Feigin
How do i start graphical programs under X as root while I'm logged in as a normal user? The message i get when i try is: Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server

Re: gui progs as root in x under normal user?

1999-05-17 Thread Allen B. Riddell
Easy way to do this... put xhost localhost in your .xinitrc or, you could type it each time before you go into root. At 02:32 PM 5/13/99 +0300, Micha Feigin wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? The message i get when i try is: Xlib:

Re: gui progs as root in x under normal user?

1999-05-17 Thread Peter Granroth
On Thu, May 13, 1999 at 02:32:55PM +0300, Micha Feigin wrote: How do i start graphical programs under X as root while I'm logged in as a normal user? If you put the following in root's .bashrc (assuming you use bash), you can start X programs when su root in a users X session: if [ $USER !=