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.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to