From owner-freebsd-stable@FreeBSD.ORG Sun Oct 21 14:42:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB5E02B1 for ; Sun, 21 Oct 2012 14:42:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 659338FC0A for ; Sun, 21 Oct 2012 14:42:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9LEg4KA070376; Sun, 21 Oct 2012 08:42:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9LEg4YJ070373; Sun, 21 Oct 2012 08:42:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 21 Oct 2012 08:42:04 -0600 (MDT) From: Warren Block To: Thomas Mueller Subject: Re: 9.1 and intel graphics In-Reply-To: <19.B4.17144.D1CB3805@smtp01.insight.synacor.com> Message-ID: References: <19.B4.17144.D1CB3805@smtp01.insight.synacor.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 21 Oct 2012 08:42:04 -0600 (MDT) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2012 14:42:05 -0000 On Sun, 21 Oct 2012, Thomas Mueller wrote: > Normally I start X by startx which may be followed by an initialization file, > so I don't get the default spartan default twm all the time. In Linux and > FreeBSD, I generally use X as nonroot. > > So I don't really know how to start a program such as xterm as another user > or how to have both root and nonroot windows in X. Open a terminal, su - to root in it. In the exceptionally rare case of needing to run a graphic program as root, also set the DISPLAY variable to match the normal user's value, then run that program in the terminal.