X.org or XFree86™ may be installed on DragonFly. DragonFly doesn't force a default implementation, but recommends X.org. X.org is the X server of the open source X Window System implementation released by the X.Org Foundation. X.org is based on the code of XFree86 4.4RC2 and X11R6.6. The X.Org Foundation released X11R6.7 in April 2004 and X11R6.8.2 in February 2005, this latter is the version currently available in the DragonFly pkgsrc framework.
To build and install X.org from the Ports Collection:
# cd /usr/pkgsrc/meta-pkgs/xorg # bmake install clean
Note: To build X.org in its entirety, be sure to have at least 4 GB of free space available.
To build and install XFree86 from the pkgsrc framework:
# echo "X11_TYPE=XFree86" >> /etc/mk.conf
# cd /usr/pkgsrc/meta-pkgs/XFree86 # bmake install clean
can be installed directly from packages.
Binary packages to use with pkg_add(1) tool are also available for
X11. If you have configured
PKG_PATH the remote
fetching feature of pkg_add(1) is used, the version number of the
package is not required. pkg_add(1) will automatically fetch
the latest version of the application.
So to fetch and install the package of X.org, simply type:
# pkg_add xorg
The XFree86 4.X package can be installed by typing:
# pkg_add XFree86
Note: The examples above will install the complete X11 distribution including the servers, clients, fonts etc. Separate packages and ports of X11 are also available.
The rest of this chapter will explain how to configure X11, and how to set up a productive desktop environment.
Contact the Documentation mailing list for comments, suggestions and questions about this document.