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

Re: connection refused to video?



Mark W. Eichin:
.  xhost +localhost maybe. xhost + is *evil* :-)
.
.  If you're using xdm, you may find that
.	   su --perserve-environment
.
.  has the right effect, as it causes root to still be able to find
.  $XAUTHORITY, the variable that points to the file where the keys
.  for what ever xauth mechanism is in use is using.

Another option, useful if you su a lot from your primary id, is to put
a softlink in root's home directory that points at your .Xauthority
file:

# cd
# ln -s /home/<yourid>/.Xauthority .

I forget if the softlink stays intact if you sign in as root under
xdm.

-- 
Raul



Reply to: