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

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



>>>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 
sound be something like this.

/usr/bin/X11/xauth -f /home/balp/.Xauthority extract - $DISPLAY 
/usr/bin/X11/xauth merge -

/ Balp


Reply to: