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

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



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 XAUTHORITY=/home/yourname/.Xauthority

or (if ssh is installed)

$ ssh -l root localhost

-- 
Robert Vollmert                                      rvollmert@gmx.net


Reply to: