Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2012 13:26:00 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-stable@freebsd.org
Subject:   Re: 9.1 and intel graphics
Message-ID:  <20121021132600.a24018a1efc416fb068c50f5@getmail.no>
In-Reply-To: <19.B4.17144.D1CB3805@smtp01.insight.synacor.com>
References:  <19.B4.17144.D1CB3805@smtp01.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Sun, 21 Oct 2012 05:10:53 -0400
Thomas Mueller <mueller23@insightbb.com> 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.

Which is the "normal" and correct way, IMHO. 

> 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.

Is there any reason why you don't make use of su(1) or sudo (/usr/ports/security/sudo)?
That way you can just launch a xterm as your normal user, and become root when you want / need.

HTH
-- 
Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>



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