In most cases, Xorg is self-configuring. When started without any configuration file, the video card and input devices are automatically detected and used. Autoconfiguration is the preferred method, and should be tried first.
Check if HAL is used by the X server:
%
pkg info xorg-server | grep HAL
If the output shows HAL is
off
, skip to the next step. If
HAL is on
, enable
needed services by adding two entries to
/etc/rc.conf
. Then start the
services:
hald_enable="YES" dbus_enable="YES"
#
service hald start ; service dbus start
Rename or delete old versions of
xorg.conf
:
#
mv /etc/X11/xorg.conf ~/xorg.conf.etc
#
mv /usr/local/etc/X11/xorg.conf ~/xorg.conf.localetc
Start the X system:
%
startx
Test the system by moving the mouse and typing text into the windows. If both mouse and keyboard work as expected, see Section 6.8, “Desktop Environments” and Section 6.7, “The X Display Manager”.
If the mouse or keyboard do not work, continue with Section 6.5, “Xorg Configuration”.
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <[email protected]>.
Send questions about this document to <[email protected]>.