public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kevin O'Gorman" <kogorman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Ever since a recent update, vim misbehaves when run  as root
Date: Fri, 30 Jul 2010 08:09:23 -0700	[thread overview]
Message-ID: <AANLkTi=YN1dgzh+87sab55f5kKXu07KZ6Qu_Jw0LEck6@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikZPG7uvZc1wgZZmCmZz-Rd27Q78TRXkZZAd84U@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]

On Fri, Jul 30, 2010 at 7:59 AM, Kevin O'Gorman <kogorman@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.

kevin@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

kevin@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
kevin@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 +root@localhost


-- 
Kevin O'Gorman, PhD

[-- Attachment #2: Type: text/html, Size: 3667 bytes --]

      reply	other threads:[~2010-07-30 15:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 20:35 [gentoo-user] Ever since a recent update, vim misbehaves when run as root Kevin O'Gorman
2010-07-30  3:58 ` Walter Dnes
2010-07-30  6:54   ` Steffen Loos
2010-07-30  8:08   ` Neil Bothwick
2010-07-30 13:43   ` Bill Longman
2010-07-30 14:59     ` Kevin O'Gorman
2010-07-30 15:09       ` Kevin O'Gorman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=YN1dgzh+87sab55f5kKXu07KZ6Qu_Jw0LEck6@mail.gmail.com' \
    --to=kogorman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox