Re: startx problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 24, 2004 at 06:05:48PM +0500, UMAIR YASIR ( IT HELP DESK ) wrote:
> Parse error on line 2 of section (null) in file /root/XF86Config
> "key" is not a valid keyword in this section.
> (EE) Problem parsing the config file
> (EE) Error from xf86HandleConfigFile()
> 
> where as it works when I use my own login.
> Why is it so and how can I fix it?

When you start X as a user, it's using a different XF86Config file. If I
remember correctly (I'm at work right now, so I can't check anything), X
searches for an XF86Config file in a number of different locations. As
root it appears to find the first one as /root/XF86Config. This file is
not accessible as a user, so it will probably find a config file at a
different default location (/etc/X11 for example).

I think that if you remove/move the /root/XF86Config file, that it should
work for root as well. The file /root/XF86Config contains an error according
to your logfile.

Regards,

Pieter Hulshoff

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux