From owner-freebsd-questions@FreeBSD.ORG Sat Jun 9 06:20:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 953F316A468 for ; Sat, 9 Jun 2007 06:20:29 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.77]) by mx1.freebsd.org (Postfix) with ESMTP id 0476613C45B for ; Sat, 9 Jun 2007 06:20:28 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-08050.home.otenet.gr [87.202.31.176]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l596KQkj002864; Sat, 9 Jun 2007 09:20:27 +0300 Message-ID: <466A46AA.2080409@otenet.gr> Date: Sat, 09 Jun 2007 09:20:26 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: David Southwell References: <4668F03E.9050306@bah.homeip.net> <466930BE.2010505@bah.homeip.net> <46696287.90306@gmx.de> <200706082309.22118.david@vizion2000.net> In-Reply-To: <200706082309.22118.david@vizion2000.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Xorg problem 6.9 >> 7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 06:20:29 -0000 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: : 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.