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

Re: Problems setting xhosts...



Ignacio Más Ivars <nacho@it.kth.se> wrote:
>How do I add permanently the root user in my machine so that everything
>I run in the root window has rights to access the display?!?!

Don't use xhost - instead, either
'export XAUTHORITY=/home/youruser/.Xauthority' when you su to root, or
make /root/.Xauthority a symbolic link to the .Xauthority in your normal
home directory.

'dpkg -p xbase-clients' says:

  - xhost, a very dangerous program that you should never use;

Cheers,

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: