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

Dejan Lesjak dejan.lesjak at ijs.si
Wed May 30 22:01:43 UTC 2007


On Wednesday 30 May 2007 23:43:21 Jeremie Le Hen wrote:
> 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.

This shouldn't be necessary since xorg-libraries-7.2_1 unless /usr/X11R6 
directory exists for some reason (note that installing FreeBSD does not 
create it at least as far as I could check). Do you have older port or is 
this still the case for 7.2_1?

Dejan


More information about the freebsd-x11 mailing list