Previous Topic

Next Topic

Locate topic in Contents

Configuring X Window System in FreeBSD Guest OS

If you want to use the X Window System graphic shell in a FreeBSD guest OS, you should configure it manually. Running automatic configuration command X -probeonly or X -configure may not work. The X Window System can be configured using xorgconfig text utility or xorgcfg graphical utility. You need root privileges to run them.

To start manual configuration:

  1. Issue one of the following commands in the command line:

    su -l root -c xorgconfig

    or

    su -l root -c xorgcfg

  2. Enter the root password when you are asked for it.

When configuring set the following:

  1. Select Generic VESA compatible video card.
  2. Select 4096K of video memory.
  3. Select screen resolution for a color depth. You may specify single resolution for any color depth. For instance, specify 640x480 resolution for 8-bit color, 800x600 resolution for 16-bit color, and so on. Do not specify several resolutions for a color depth, because upon startup, X window will select the greatest one.

    You may set a single resolution for a particular color depth (for instance, if you are going to work with 16-bit color only, select any single resolution for it), and later select only this color depth for your configuration .

  4. Select preferred color depth for your configuration.