From owner-freebsd-questions@FreeBSD.ORG Wed Jan 23 07:28:04 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E24716A418 for ; Wed, 23 Jan 2008 07:28:04 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id C782213C4FD for ; Wed, 23 Jan 2008 07:28:03 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2615837fgg.35 for ; Tue, 22 Jan 2008 23:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=yDAVmWs0zkmLRtc7kMF0MSIlDpDz40XHy4M5uHycnxg=; b=BktTMPxWabnJ+0/0MWIu3HlXLD9KxOJyhzFJN93F9MQzOvJA8aINYgpLwBCdUpx51nauk79LxLJij4udLmczrAxdhVYAvrXuR3lUt6zESu3IOn0uPFhX++f3wMDzY6ASK0c30dcXQGMuKU/3QEZqTN3xcUDlBrMezN1FzapvlJk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qOf3DpL8aDKggfhUIckruLJouRywXEI7cvKD1gIQiq5bd9saFOSI0wtnprUYiA3aQS1rKmr9EU6TERfScziSimFclu+f5MvX8wbLbZsEThUv2BX4mC0CeStlKFUeR9Sysu/tIytYbbicopnMZSpujSKY1zXKSR88ORprDcdwOpE= Received: by 10.82.181.7 with SMTP id d7mr16543423buf.4.1201071826440; Tue, 22 Jan 2008 23:03:46 -0800 (PST) Received: by 10.82.160.20 with HTTP; Tue, 22 Jan 2008 23:03:46 -0800 (PST) Message-ID: <560f92640801222303h59232595qb1677fe9b26f2481@mail.gmail.com> Date: Tue, 22 Jan 2008 23:03:46 -0800 From: "Nerius Landys" To: questions@freebsd.org In-Reply-To: <47965504.2080208@hemc.net> MIME-Version: 1.0 References: <47965504.2080208@hemc.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Xorg config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2008 07:28:04 -0000 > I've followed the installation instructions in the book FreeBSD 6 > Unleashed and (finally) gotten it installed. Now I proceed to the > setting up of X, where the book says to log in as root, and type Xorg > -configure . I do that and get a response something like Xorg command > not known. During the installation, I selected Install it all including > X. This is version 6.3 by the way. And this is about the 3rd or 4th > attempt at installation on this HDD. Some help would be appreciated. > Below is an interaction with my shell. I'll explain what I'm doing afterwards. nlandys@sylvester# which Xorg /usr/local/bin/Xorg nlandys@sylvester# pkg_info -W /usr/local/bin/Xorg /usr/local/bin/Xorg was installed by package xorg-server-1.4_3,1 nlandys@sylvester# pkg_info -do xorg-server-1.4_3,1 Information for xorg-server-1.4_3,1: Description: This package contains the X.Org X server and some associated programs. WWW: http://www.freedesktop.org/Software/xorg - Eric Anholt anholt@FreeBSD.org Origin: x11-servers/xorg-server nlandys@sylvester# What I'm doing is trying to see which package the file 'Xorg' belongs to, and I'm trying to get some information about that package. What I found out is that the file in question belongs to the package xorg-server-1.4_3,1, and that if you have the ports tree installed, the ports directory would be /usr/ports/x11-servers/xorg-server/. So if you want to check to see if the package which provides the file 'Xorg' is installed on your system, issue the command 'pkg_info | grep xorg-server'. If you see output then the package you need is already installed. Otherwise install the package 'xorg-server' in one of two ways: either install the pre-built binary [port] by issuing the command 'pkg_add -r xorg-server' or build the port from source by going to /usr/ports/x11-servers/xorg-server/ and doing a 'make install clean'. I don't know why you didn't succeed in installing 'xorg-server' during your installation if that was indeed your intent. Instead of taking my advice above you really ought to read the Handbook section on packages and ports: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html You can learn a lot and the documentation if really excellent.