On Fri, Jul 30, 2010 at 7:59 AM, Kevin O'Gorman <kogor...@gmail.com> wrote:

>
>
>> then the X app is not limited to using only IP but can choose whichever
>> transport it deems best. Of course the usual safety caveats apply. If
>> others are on your host, they'll have X access. If you're concerned
>> about that, then just give root permission:
>>
>> xhost SI:localuser:root
>>
>> xhost +local:
> Thanks -- that was what I was trying to remember, so I just emerged it.
>
> Looks like something I should be able to do in my .bashrc and just forget
> about.
>
> Actually, it doesn't work.

ke...@treat ~ $ xhost si:localhost:root
localhost:root being added to access control list
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0xe
  Serial number of failed request:  7
  Current serial number in output stream:  9

ke...@treat ~ $ xhost SI:localhost:root
localhost:root being added to access control list
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  109 (X_ChangeHosts)
  Value in failed request:  0xe
  Serial number of failed request:  7
  Current serial number in output stream:  9
ke...@treat ~ $

What's worse, the xhost man page refers me to Xauthority(7) which does not
exist, and I did
not find it with a quick check by eix.

What did work was
  xhost +r...@localhost


-- 
Kevin O'Gorman, PhD

Reply via email to