Login Manager

[Ref: OpenBSD 5.0]

Using a graphical environment suggests a different login experience to the standard text console. OpenBSD's standard installation provides the standard "Display Manager" xdm(1).

Xdm provides services similar to those
provided by init, getty and login on character terminals: prompting for
login name and password, authenticating the user, and running a
``session.''

...

When the session is terminated, xdm resets the X server and
(optionally) restarts the whole process.

Default Display Manager

[Ref: OpenBSD 5.0, xdm(1), rc.conf(8), FAQ: The X Window System]

The installation process provides an option to enable the xdm display manager. When you're new to X, do not enable this. Follow the FAQ and ensure a running X Server.

Xdm is installed when install X on your machine, to enable it add the following flag to your local configuration file:

File Fragment: /etc/rc.conf.local

xdm_flags=""

The xdm(1) manual page has very clear samples, and instructions for customising your Xdm configuration.

Gnome Display Manager

[Ref: rc.d(8)]

# pkg_add gdm

The following new rcscripts were installed: /etc/rc.d/dbus_daemon
See rc.d(8) for details.
Look in /usr/local/share/doc/pkg-readmes for extra documentation.

Follow the instructions for installing gdm.

Add /etc/rc.d/gdm to your pkg_scripts

File Extract: /etc/rc.conf.local

xdm_flags=NO
gdm_flags=""
dbus_daemon_flags=""
pkg_scripts="dbus_daemon gdm"

KDE Display Manager

[Ref: openbsdsupport.org, Old Notes, rc.d(8)]

# pkg_add kdebase
Warning: cannot copy file /etc/X11/xdm/xdm-keys
Information: reading current xdm config file /etc/X11/xdm/xdm-config
kdebase-3.5.10p13: ok
You may wish to update your font path for /usr/local/share/fonts/override /usr/local/share/fonts
The following new rcscripts were installed: /etc/rc.d/kdm /etc/rc.d/saslauthd
See rc.d(8) for details.
--- +qt3-mt-3.8p5 -------------------
You may wish to add /usr/local/lib/qt3/man to /etc/man.conf

Documentation is copied to /usr/local/share/doc/kdm. Refer to the README file in that directory for more details on configuring KDM for your environment.

Running KDM from system start up:

File Extract: /etc/rc.conf.local

xdm_flags=NO
kdm_flags=""
saslauthd_flags=""
pkg_scripts="kdm saslauthd"

Refer to the path /usr/local/share/config/kdm/ for configuration settings