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

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



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 an x terminal in this environment, become
> superuser, and then execute the program, the program fails with the
> following message:
> 	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?
> Thanks,
> Bryan
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 


Reply to: