Re: how to run X apps as root?
On Tue, Jul 03, 2001 at 04:43:06PM -0400, D-Man wrote:
> I don't think that will work because xhost only takes _hosts_ as
> arguments, not commands. 'xhost foo' is equivalent to 'xhost +foo'.
> The 'xhost +' part of the command completely opens up your xserver to
> everyone, everywhere. At least specifying localhost only opens it up
> to your own machine.
Yes, but someone can only run commands on your server if either your X
server listens to TCP connections or he/she got shell access. In first case
you should disable your TCP socket unless you intend to make your X public, in second
case your xhost +localhost will not help.
"Now, here, you see, it takes all the running you can do, to keep in the same place. If you want to get somewhere else, you must run at least twice as fast as that." Lewis Carroll