soloThis is the second gnome desktop install on OpenBSD I made. This time using OpenBSD version 4.4 (released november 1st 2008) on an Intel Atom based hardware.
A more precise description updated for OpenBSD 4.7 is found below.
Installing Gnome Desktop and Gnome Display Manager on OpenBSD 4.7
Below all components except the fan and “ATX 4-PIN to ATX12V P4 connector” is shown.

This is the case, built by Emko.

The hardware works excellent and is really cool (less than 40 deg. C) and quiet (less than 5 dB).
Assembling the hardware is rather straight forward.
When everything is assembled, connect the power cord to the chassi and press the power on button. For initial OpenBSD install I usually connect a CD drive to boot from (e.g. network install is also possible). When first install is made I disconnect the CD drive and everything (chassi cover, power socket) can be assembled. Subsequent upgrades of OpenBSD may be done over network of directly from the hard drive.
First complete the base install of OpenBSD. I connected a CDROM drive and installed from CD. Buy CD’s here. OpenBSD is free to download, but I would recommend to buy the CD’s the first time. I bought OpenBSD 3.8 and have bought every new release since then. The CD box is amusing and also include basic install instructions.
The basic install is quick and simple. You only need basic network settings and desired hard drive layout. The hard drive layout is dependent on the intended use of the system. I used the following partitioning.
# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 4.9G 49.5M 4.6G 1% /
/dev/wd0h 74.8G 23.4M 71.1G 0% /home
/dev/wd0d 3.9G 22.0K 3.7G 0% /tmp
/dev/wd0g 39.4G 2.5G 34.9G 7% /usr
/dev/wd0e 19.7G 51.2M 18.6G 0% /var
A simple guide is provided by OpenBSD101
The first thing I do when base installation is done is to add nano editor. vi is included by default but I am not very fond of it.
To install packages in OpenBSD is really simple. You only need to set PKG_PATH environment variable.
# export PKG_PATH=ftp://ftp.stacken.kth.se/pub/OpenBSD/4.4/packages/i386
Note that this is my local OpenBSD ftp mirror. You should choose one close to you.
After this you are ready to install additional packages. Packages are compiled binaries that are quickly installed. Use of packages are the recommended way of installing software in OpenBSD which is very attractive to me. See more on packages and ports and everything else you need to know in OpenBSD FAQ.
First intall nano editor.
pkg_add nano
nano is now installed and ready to be used. You may e.g. want to add PKG_PATH permanently in your .profile.
nano .profile
If you are using supported hardware gnome install is really simple as well. Try starting X.
startx
Return from X with CTRL+ALT+BackSpace. This should work fine.
To install gnome a set of packages need to be installed.
pkg_add gnome-session
pkg_add gnome-desktop
pkg_add gdm
This should be enough to start gnome. Try to start gnome.
gdm
Return from X with CTRL+ALT+BackSpace.
Now add additional packages as you want. I installed the following.
pkg_add gnome-panel
pkg_add gnome-audio
pkg_add gnome-menus
pkg_add mozilla-firefox
pkg_add mozilla-thunderbird
pkg_add empathy
pkg_add evince
pkg_add transmission
pkg_add openoffice
pkg_add lyx
pkg_add jdk
pkg_add mysql-server
pkg_add samba
pkg_add wget
pkg_add unzip
Sometimes there are install instructions to complete the installation/configuration of the installed package. These are very useful. You are able show the install messages at a later stage by issuing.
pkg_info -aM
This is how simple it is to install OpenBSD as perfect gnome desktop system. Look for more packages on http://www.openports.se.