Only problem with this approach is that you throw all local X security
out of the window, I'd
think it would be better to do maybe in a script:
xhost +localhost

do your stuff with update and as soon as your finished

xhost -localhost

to remove the security problem.

Mike Fieschko wrote:

> >>> "Benjamin" == Benjamin Sher <[EMAIL PROTECTED]> writes:
>
>     Benjamin> Dear Alwyn and friends: This is a key issue. I am a
>     Benjamin> newbie. Could you or someone please spell this command
>     Benjamin> out precisely. What does xhost + localhost reall mean?
>     Benjamin> Do you have to enter this as a command in xterm or what?
>
> [snip]
>
> Put the line in your .xinitrc, which is a file in your home directory.
>
> This if you are "benjamin" user on your system, your home directory is
> /home/benjamin and your .xinitrc file in /home/benjamin ought to have
> something like this:
>
> [begin inserted file]
>
> #!/bin/sh
> # Window Maker default X session startup script
>
> PATH="$PATH:/usr/X11R6/bin"
> imwheel -k
>
> # Added by Mike to allow others to connect to this X server
>
> xhost +127.0.0.1
>
> # If you login from xdm, uncomment this to make error messages appear
> # in the console window.
> #
> # tail -f /root/.xsession-errors > /dev/console
> exec /usr/local/enlightenment/bin/enlightenment
>
> [end inserted file]
>
> --
> Mike Fieschko, West Orange, NJ, USA
> X-Mailer: XEmacs 21.1, VM 6.71 and random-sig.el
> Kernel 2.2.13-18mdk
> http://www.viconet.com/fieschko/home.htm
> Oct 20 St John Cantius
> "Truth is sacred; and if you tell the truth too often nobody will
> believe it." - [G.K. Chesterton, in ILN, 2/24/06]

--
~~~~~~~~~~~~~~
Alwyn Schoeman
Systems Engineer
Prism Secure Solutions


Reply via email to