Re: Trying to run one process as root, how?

2000-04-15 Thread Robin M. Stephens
On Thu, Apr 13, 2000 at 04:32:31PM -0500, Bryan Walton wrote: Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up an x terminal in this environment, become

Re: Trying to run one process as root, how?

2000-04-14 Thread William T Wilson
On Thu, 13 Apr 2000, Jim Breton wrote: On Thu, Apr 13, 2000 at 06:17:00PM -0400, William T Wilson wrote: since I believe if you use +root you would be allowing the root user on any other system to connect to your X server as well. Actually, you will be allowing any user on system

Re: Trying to run one process as root, how?

2000-04-14 Thread Ron Rademaker
You should set your environmental DISPLAY variable... Ron Rademaker On Thu, 13 Apr 2000, Bryan Walton wrote: Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up

Re: Trying to run one process as root, how?

2000-04-14 Thread Oswald Buddenhagen
You should set your environmental DISPLAY variable... it is set. otherwise he would get the message ... Xt error: Can't open display: instead of Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0.0

Re: Trying to run one process as root, how?

2000-04-14 Thread Brenda J. Butler
On Thu, Apr 13, 2000 at 07:07:17PM -0400, William T Wilson wrote: On Thu, 13 Apr 2000, Jim Breton wrote: On Thu, Apr 13, 2000 at 06:17:00PM -0400, William T Wilson wrote: since I believe if you use +root you would be allowing the root user on any other system to connect to your X

Re: Trying to run one process as root, how?

2000-04-14 Thread Sergey V Kovalyov
The other solution, setting XAUTHORITY in the root environment to that of the user that owns the X session, also worked for me. I've never seen that before - neat. I'm thinking, shouldn't this be done automatically by /bin/su ? This would make a lot of sense and simplify life significantly.

Trying to run one process as root, how?

2000-04-13 Thread Bryan Walton
Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up an x terminal in this environment, become superuser, and then execute the program, the program fails with the

Re: Trying to run one process as root, how?

2000-04-13 Thread Bruce Sass
On Thu, 13 Apr 2000, Bryan Walton wrote: Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up an x terminal in this environment, become superuser, and then execute

Re: Trying to run one process as root, how?

2000-04-13 Thread Gary Hennigan
Bryan Walton [EMAIL PROTECTED] writes: Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up an x terminal in this environment, become superuser, and then execute the

Re: Trying to run one process as root, how?

2000-04-13 Thread Oswald Buddenhagen
Xlib: connection to :0.0 refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0.0 Any ideas? xhost localhost -- Hi! I'm a .signature virus! Copy me into your ~/.signature, please! -- Linux - the last service pack you'll ever

Re: Trying to run one process as root, how?

2000-04-13 Thread Kent West
Bryan Walton wrote: Greetings to the list, I have a situation where I need to run one program as root, through an x terminal, while my x windows session is being run as non-root. When I open up an x terminal in this environment, become superuser, and then execute the program, the

Re: Trying to run one process as root, how?

2000-04-13 Thread William T Wilson
On Thu, 13 Apr 2000, Jim Breton wrote: That should work, but what I usually do is: xhost +localhost since I believe if you use +root you would be allowing the root user on any other system to connect to your X server as well. Actually, you will be allowing any user on system 'root' to