From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 07:40:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F41216A4BF for ; Tue, 9 Sep 2003 07:40:13 -0700 (PDT) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B9643F3F for ; Tue, 9 Sep 2003 07:40:11 -0700 (PDT) (envelope-from jester@panix.com) Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail3.panix.com (Postfix) with ESMTP id AFA5B981F6; Tue, 9 Sep 2003 10:40:10 -0400 (EDT) Received: (from jester@localhost) by panix2.panix.com (8.11.6p2/8.8.8/PanixN1.1) id h89EeA911733; Tue, 9 Sep 2003 10:40:10 -0400 (EDT) Date: Tue, 9 Sep 2003 10:40:10 -0400 From: Jesse Sheidlower To: Wayne Pascoe Message-ID: <20030909144010.GA10817@panix.com> References: <20030909140034.GA29625@panix.com> <20030909144445.GC17539@marvin.penguinpowered.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030909144445.GC17539@marvin.penguinpowered.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Upgrading self-installed X with Ports version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 14:40:13 -0000 On Tue, Sep 09, 2003 at 03:44:45PM +0100, Wayne Pascoe wrote: > On Tue, Sep 09, 2003 at 10:00:34AM -0400, Jesse Sheidlower wrote: > > > I suppose this is a really stupid question, but what do I > > need to do to get the newer, Ports version of XFree86 to be > > the version run on the system? And is there anything I should > > be doing to get it configured properly after the change is > > made? > > It's possible that the start script for XFree86 that the port installs, > is installed in a directory further down in the PATH variable. This > means that when you call startx, you're starting the older version, which > in turn calls the older version of X. I considered this, but the current (i.e., wrong) version is as far down as it could possibly be: XFree86 Version 4.2.0 / X Window System (protocol Version 11, revision 0, vendor release 6600) Release Date: 18 January 2002 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/) Build Operating System: FreeBSD 4.4-RELEASE-p1 i386 [ELF] Module Loader present monopoly/etc/X11 # which XFree86 /usr/X11R6/bin/XFree86 monopoly/etc/X11 # echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/home/jester/bin Where should the port be installing its version? > Your best bet is to remove the port entirely, remove the existing X > server and re-install the port. This way you'll only have one version of > X on the box. Probably another stupid question, but how much do I have to remove to remove the existing X server? I'm happy to delete the server files, but don't want to accidentally wipe out other things that I'll still want. Thank you. Jesse Sheidlower