Subject: Re: Problems running X server as root
To: None <arto.huusko@utu.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 05/09/2001 21:26:43
On Wed, May 09, 2001 at 06:49:03PM +0200, Arto Huusko wrote:
> 
> Hello,
> 
> I'm having problems running X server as root user. I earlier asked for
> help with GDM, but received none. As I explored, I came to conclusion
> that GDM doesn't work correctly because X won't run under root correctly.
> 
> When I start X as normal user via startx it works a treat. If I start
> X as root (via startx) I get following behaviour: many (most) things don't
> render correctly and if I switch back to text mode virtual terminals
> with Ctrl-Alt-Fkey and then back to X screen, the screen has become
> corrupted. This doesn't happen when running X as normal user, and
> the rendering is just fine then, too.

Did you check difference in environnement variable ('env') between root and
normal user ? You could also check differences between
'startx >& /tmp/log' for root and normal user.

What version of X are you running ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--