Category: X

Configuring X in FreeBSD.

With normal configuratiom it will not work mostly. Below are the steps for configuring X in Freebsd

1 ) Become root and execute the below commands according to the presence of Xorg or XFree86 both are present. Xorg is the default one I suppose. First of all I giving the correct things or commands which are to be executed normally. And towards the end of the mail I will be giving you a recommended method for successfully doing the X configuration with 100 % sucess result.

For Xorg

—————

Configuring

# Xorg -configure 

# Xorg -config xorg.conf.new

Testing the configuration ( If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press Ctrl+Alt+Backspace simultaneously. )

# cp xorg.conf.new /etc/X11/xorg.conf

# startx & or xdm &

For XFree86

——————–

# XFree86 -configure

# XFree86 -xf86config XF86Config.new

Testing the configuration ( If a black and grey grid and an X mouse cursor appear, the configuration was successful. To exit the test, just press Ctrl+Alt+Backspace simultaneously. )

# cp XF86Config.new /etc/X11/XF86Config

# startx & or xdm &

These are the basic configurations. In both case you may have to update the setting of the particular configuration file. Most of the details which you need to update would be related to the horizontal and vertical sync of the monitor.

Hope this helps in successfully configuring X on your freebsd machine.