Xorg config
Nerius Landys
nlandys at gmail.com
Tue Jan 22 23:28:04 PST 2008
> 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 at sylvester# which Xorg
/usr/local/bin/Xorg
nlandys at sylvester# pkg_info -W /usr/local/bin/Xorg
/usr/local/bin/Xorg was installed by package xorg-server-1.4_3,1
nlandys at 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 at FreeBSD.org
Origin:
x11-servers/xorg-server
nlandys at 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.
More information about the freebsd-questions
mailing list