Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 00:01:35 +0200
From:      Dejan Lesjak <dejan.lesjak@ijs.si>
To:        freebsd-x11@freebsd.org
Cc:        Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: /usr/local/bin/xinit tries to start /usr/X11R6/bin/Xorg
Message-ID:  <200705310001.36369.dejan.lesjak@ijs.si>
In-Reply-To: <20070530214321.GH31507@obiwan.tataz.chchile.org>
References:  <20070530210315.GF31507@obiwan.tataz.chchile.org> <20070530214321.GH31507@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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