Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 23:43:21 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        freebsd-x11@FreeBSD.org
Cc:        jeremie@le-hen.org
Subject:   Re: /usr/local/bin/xinit tries to start /usr/X11R6/bin/Xorg
Message-ID:  <20070530214321.GH31507@obiwan.tataz.chchile.org>
In-Reply-To: <20070530210315.GF31507@obiwan.tataz.chchile.org>
References:  <20070530210315.GF31507@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Wed, May 30, 2007 at 11:03:15PM +0200, Jeremie Le Hen wrote:
> Hi list,
> 
> Please Cc: me when replying.
> 
> 
> I've installed X.org 7.2 from scratch (no XORG_UPGRADE).
> 
> Unfortunately, I can't start it: I use startx(1) which in turn
> executes xinit(1), but the latter tries to start /usr/X11R6/bin/Xorg.
> This obviously doesn't work since X11 now stands in ${LOCALBASE}.
> 
> % jarjarbinks:~$ startx
> % 
> % execve failed for /usr/X11R6/bin/Xorg (errno 2)
> % giving up.
> % xinit:  Connection refused (errno 61):  unable to connect to X server
> % xinit:  No such process (errno 3):  Server error.
> 
> 
> The workaround is
> % ln -s /usr/local/bin/Xorg /usr/X11R6/bin/Xorg
> 
> 
> Any idea?

Sorry, I've read the UPDATING entry about X.org 7.2 upgrade (I didn't
read it since I wasn't _updating_) and it appears I should
% ln -sf /usr/local /usr/X11R6

Sorry for the noise.  But I think this should be fixed for people who
are only installing X.org 7.2 from scratch, but I don't really see the
correct way to achieve this using the standard FreeBSD update tools.

Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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