[lug] how to automate xhost? FC2

Lee Woodworth blug-mail at duboulder.com
Wed Mar 9 10:18:52 MST 2005


Do you know about the security implications of using xhost instead of xauth?
If the originating machine has multiple users, the other users could install
key event sniffers on the remote machine.

Michael Hirsch wrote:
> On Tue, 08 Mar 2005 10:58:31 -0700, D. Stimits <stimits at comcast.net> wrote:
> 
>>Michael Hirsch wrote:
>>
>>>On Mon, 07 Mar 2005 19:54:22 -0700, D. Stimits <stimits at comcast.net> wrote:
>>>
>>>
>>>>I use x2x to avoid a KVM between two FC2/KRUD machines. The problem is I
>>>>must always manually run the xhost command before x2x is allowed. If I
>>>>create a ~/.Xsession line I have to add
>>>>exec startkde
>>>>(I use KDE not Gnome) to get it to start up normally. It seems like I
>>>>should be able to add an xhost + line either before or after this as
>>>>well to get it to add the 2nd machine to the host list, but this never
>>>>happens. The xhost line in .Xsession is completely ignored. Can anyone
>>>>tell me how to automate the 2nd machine being added with xhost or any
>>>>other mechanism? The .Xsession fails.



More information about the LUG mailing list