Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2012 08:42:04 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Thomas Mueller <mueller23@insightbb.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 9.1 and intel graphics
Message-ID:  <alpine.BSF.2.00.1210210839520.70277@wonkity.com>
In-Reply-To: <19.B4.17144.D1CB3805@smtp01.insight.synacor.com>

index | next in thread | previous in thread | raw e-mail

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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1210210839520.70277>