README for XFree86 3.3.2 on OpenBSD : Kernel Support for X
Previous: Running X
Next: Aperture Driver

## 8. Kernel Support for X

To make sure X support is enabled under OpenBSD, the following line must be in your config file in `/sys/arch/i386/conf`:

> `options XSERVER`

The server supports the two standard OpenBSD/i386 console drivers: pccons and pcvt. They are detected at runtime and no configuration of the server itself is required.

The pcvt console driver is now the default in OpenBSD. It offers several virtual consoles and international keyboard support.

When not using XKB, the server can read the actual keymap from the keyboard driver and use to build the X keymap. Be sure to use ```RightAlt ModeShift`'' in `XF86Config` to have the right Alt key behave as AltGr.

Syscons and codrv are not bundled with OpenBSD. They are available by anonymous FTP from a number of sites. They are not supported by the XFree86 binary distribution anymore. You can compile support for them by adding -DSYSCONS_SUPPORT or -DCODRV_SUPPORT to `XFree86ConsoleDefines` in `xf86site.def`. See the section Console drivers for details.

### 8.1. Aperture Driver

### 8.2. MIT-SHM

README for XFree86 3.3.2 on OpenBSD : Kernel Support for X
Previous: Running X
Next: Aperture Driver