/usr/local/bin/xinit tries to start /usr/X11R6/bin/Xorg

Jeremie Le Hen jeremie at le-hen.org
Wed May 30 21:43:24 UTC 2007


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 >


More information about the freebsd-x11 mailing list