From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Oer4U-0001nC-Gu for garchives@archives.gentoo.org; Fri, 30 Jul 2010 15:00:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26C86E09B6; Fri, 30 Jul 2010 14:59:48 +0000 (UTC) Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 0B720E09B6 for ; Fri, 30 Jul 2010 14:59:48 +0000 (UTC) Received: by gxk28 with SMTP id 28so939460gxk.40 for ; Fri, 30 Jul 2010 07:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Sd51NwTjQ2Z5TavzSf4nUfpg4lb4Hgbva2O0YAemoW8=; b=pzWIrYfmjzY1X5Uv3b4TKuQx23E8e2/RVfDCpkyC06kayffJgI2WPS2d5jbltBe+Bo CKMAW7UZUq7SctiNODo5kttgJEODaqaKh6uUvS9LagZ65un27ILC1pfaPprTaKLvTuaT WnNni6mq6OCfZuUHl7j6oMpA+KqsUC+xaG0IA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uD6KmiCFMoMGVisrEfbezrFSX8fomLpV5B83WOfmoQwmX0rt9/S0Sq0YKf+ZrWMCNP GQSg2JO3eJpgje9h2SgkIikNuDJj3Eaj6ZU1nD8voCrwe6NxYo5lbFZn+aNnEx+sSa8O +Dh2bqRZqUR5rOeUk0s0XIMqYH1x0am3uC4o4= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.151.116.2 with SMTP id t2mr3049011ybm.336.1280501987506; Fri, 30 Jul 2010 07:59:47 -0700 (PDT) Received: by 10.151.47.16 with HTTP; Fri, 30 Jul 2010 07:59:47 -0700 (PDT) In-Reply-To: <4C52D6F3.2090800@gmail.com> References: <20100730035838.GB22462@waltdnes.org> <4C52D6F3.2090800@gmail.com> Date: Fri, 30 Jul 2010 07:59:47 -0700 Message-ID: Subject: Re: [gentoo-user] Ever since a recent update, vim misbehaves when run as root From: "Kevin O'Gorman" To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001e680f09b0197d5c048c9c1ac5 X-Archives-Salt: 18dda9ac-1701-48a7-9b4e-8cf40f5fb3f6 X-Archives-Hash: c76330ff44fd9f1a9b4f077ba7d54e67 --001e680f09b0197d5c048c9c1ac5 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Jul 30, 2010 at 6:43 AM, Bill Longman wrote: > On 07/29/2010 08:58 PM, Walter Dnes wrote: > > > 2) If you really really need the X-integration features, you can use the > > "xhost" command to enable all users on your machine to run X apps on > > your X session. E.g. my machine is 192.168.123.249 so I ran... > > > > xhost +192.168.123.249 > > > > ...to allow a 32-bit QEMU-KVM guest to run an X program on the 64-bit > > host's Xwindows session. > > What you probably want here instead is: > > xhost +local: > > 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 > > 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. -- Kevin O'Gorman, PhD --001e680f09b0197d5c048c9c1ac5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Fri, Jul 30, 2010 at 6:43 AM, Bill Longman <bill.longman@= gmail.com> wrote:
On 07/29/2010 08:58 PM, Walter Dnes wrote:

> 2) If you really really need the X-integration features, you can use t= he
> "xhost" command to enable all users on your machine to run X= apps on
> your X session. =A0E.g. my machine is 192.168.123.249 so I ran...
>
> =A0 xhost +192.168.123.249
>
> ...to allow a 32-bit QEMU-KVM guest to run an X program on the 64-bit<= br> > host's Xwindows session.

What you probably want here instead is:

xhost +local:

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

Thanks -- that was what I was trying to remember, so I j= ust emerged it.

Looks like something I should be able to do in my .b= ashrc and just forget about.


--
Kevin O'Go= rman, PhD

--001e680f09b0197d5c048c9c1ac5--