Date: Fri, 4 Feb 2005 00:42:15 +0100 From: Gert Cuykens <gert.cuykens@gmail.com> To: Chris Hodgins <chodgins@cis.strath.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: xhost +localhost Message-ID: <ef60af09050203154249632a99@mail.gmail.com> In-Reply-To: <4202B651.3090200@cis.strath.ac.uk> References: <ef60af09050202095829be3b6f@mail.gmail.com> <20050202210526.GC77499@keyslapper.net> <42014E0A.5070003@mac.com> <20050203225835.GX8619@alzatex.com> <ef60af0905020315216fc3765a@mail.gmail.com> <4202B651.3090200@cis.strath.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 03 Feb 2005 23:40:01 +0000, Chris Hodgins <chodgins@cis.strath.ac.uk> wrote: > Gert Cuykens wrote: > > On Thu, 3 Feb 2005 14:58:35 -0800, Loren M. Lang <lorenl@alzatex.com> wrote: > > > >>This enable all programs to have access that are using unix domain > >>sockets to not need the MIT-MAGIC-COOKIE stored in the .Xauthority file > >>in the users home directory so any user can open a program on that > >>display. xhost +localhost adds all programs from localhost using tcp > >>connections instead. DISPLAY=:0 causes a program to use fast unix > >>domain sockets where DISPLAY=localhost:0 causes a program to use slow > >>tcp sockets instead. tcp sockets are really only needed for remote > >>connections and xhost +localhost won't allow any local programs to > >>access X unless they use tcp, not unix. See my first response for more > >>information. > > > > > > ok time out :) > > 1)does xhost set the DISPLAY variable ? > > No. You have export the variable yourself. xhost allows you to grant > or deny access to others. A user who has access and wishes to connect > may set his DISPLAY variable to the corresponding DISPLAY. > > > 2)does xhost local: also uses the tcp thingie or use it the x socket thingie ? > > I think xhost local: allows access to BSD sockets, so not tcp. > thx 3)what must i put in the .Xauthority file to make the screensaver work without having to use xhost local:?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef60af09050203154249632a99>