Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jun 2007 09:20:26 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        David Southwell <david@vizion2000.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Xorg problem 6.9 >> 7.2
Message-ID:  <466A46AA.2080409@otenet.gr>
In-Reply-To: <200706082309.22118.david@vizion2000.net>
References:  <4668F03E.9050306@bah.homeip.net>	<466930BE.2010505@bah.homeip.net> <46696287.90306@gmx.de> <200706082309.22118.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Southwell wrote:
> On Friday 08 June 2007 07:07:03 [LoN]Kamikaze wrote:
>   
>> Bernt Hansson wrote:
>>     
>>> [LoN]Kamikaze wrote:
>>>       
>>>> Bernt Hansson wrote:
>>>>         
>>>>> Hello
>>>>>
>>>>> I've upgraded Xorg to 7.2 on a 6.2-stable machine according to
>>>>> UPDATING.
>>>>>
>>>>> If I'am trying startx as a normal user I get this error
>>>>>
>>>>>
>>>>> AUDIT: <date ¥ time> : pid X: client 1 rejected from local host (uid
>>>>> 1001)
>>>>>
>>>>> Xlib: Connection to "0:0" refused by server
>>>>> Xlib: No protocol specified
>>>>>
>>>>> Starting from root no problem.
>>>>>
>>>>> As a normal user /usr/local/bin/startxfce4 starts fine.
>>>>>
>>>>> I'm guessing it's a permissions problem, is it?
>>>>>           
>>>> I suggest you check all the pathnames in your xorg.conf, I had a similar
>>>> problem and adjusting paths solved them.
>>>>         
>>> What paths did you have in mind? I regenerated the xorg.conf file after
>>> upgrading.
>>>       
>> Setting
>>
>> ModulePath "/usr/local/lib/xorg/modules"
>>
>> is the most important one.
>>     
> I have just completed a portupgrade to 7.2 but have not yet restarted the 
> server.  How do I "regenerate" xorg.conf?
>
> Thanks in advance
>
> david
>  
>   
Try running X -configure as root. This will generate an xorg.conf.new
file in /root and you can test it by running X -config /root/xorg.conf.new
If it works you can then copy it to /etc/X11 and make any other
necessary changes. Having upgraded myself, I found I did not need to
regenerate the conf, just make the changes suggested in UPDATING like
the ModulePath stated above.



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