Booting to a Graphic Console

OpenBSD boots into a text console by default. To boot into an X-based graphic console, use the xdm(1) command in /etc/rc.conf.local. The default xdm setting is NO, so by changing it to empty quotes you enable it.

xdm_flags=""

If you need a more complicated xdm setup, put any command-line arguments inside the quotes.

Get Absolute OpenBSD, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.