running gnome on openbsd 4.0
Tuesday, January 30th, 2007OpenBSD doesn’t come with gnome pre-installed like some GNU/Linux distros such as gNewSense and Ubuntu do. Instead, you have to add the gnome packages and modify your ~/.xinitrc.
Begin by installing the gnome packages as root (change amd64 for your architecture):
# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.0/packages/amd64/
# pkg_add gnome-desktop
# pkg_add gnome-session
Then, using your non-privileged account, add the following to ~/.xinitrc:
$ gnome-session
When you want to start X with gnome, just run this command:
$ startx