Yay! It's time for another "Gnome and/or GDM are being whack on OpenBSD" thread (because the world needs one every few months). On previous episodes we have
this and
this and several others which have obsolete instructions, exemplified by using "dbus_daemon" rather than "messagebus."
For background, I have a fresh OpenBSD 6.1 install and have run
Code:
# pkg_add gnome gnome-extras
Followed by
Code:
# rcctl disable xdm
# rcctl enable multicast messagebus avahi_daemon gdm
# reboot
from
/usr/local/share/doc/pkg-readmes/gnome-3.22.2p0. Upon boot, this gives me a black screen with an X for the mouse pointer that flickers once and does nothing - I can only login by CTL+ALT+F2. I sourced this problem back to being from loading GDM. After removing gdm from the pkg_scripts, I am able to login, and running gdm from the commandline yields the same effect. After looking at
this thread I went ahead and added
Code:
machdep.allowaperature=2
to rc.conf.local, to no avail. I've also gone through the
mailinglist which report the exact same error, with no resolution. My fstab looks like
Code:
b6f3e77f641d275a.b none swap sw
b6f3e77f641d275a.a / ffs rw 1 1
b6f3e77f641d275a.k /home ffs rw,nodev,nosuid 1 2
b6f3e77f641d275a.d /tmp ffs rw,nodev,nosuid 1 2
b6f3e77f641d275a.f /usr ffs rw,nodev 1 2
b6f3e77f641d275a.g /usr/X11R6 ffs rw,nodev 1 2
b6f3e77f641d275a.h /usr/local ffs rw,wxallowed,nodev 1 2
b6f3e77f641d275a.j /usr/obj ffs rw,nodev,nosuid 1 2
b6f3e77f641d275a.i /usr/src ffs rw,nodev,nosuid 1 2
b6f3e77f641d275a.e /var ffs rw,nodev,nosuid 1 2
and I have confirmed that I own drm0
Code:
$ ls -l /dev/drm*
crw------- 1 matthew matthew 87, 0 May 1 15:35 /dev/drm0
crw------- 1 root wheel 87, 1 May 1 15:35 /dev/drm1
crw------- 1 root wheel 87, 2 May 1 15:35 /dev/drm2
crw------- 1 root wheel 87, 3 May 1 15:35 /dev/drm3
As to the current state of things, my rc.conf.local file looks like
Code:
multicast=YES
machdep.allowaperature=2
pkg_scripts=messagebus avahi_daemon
My path is
Code:
$ echo $PATH
/home/matthew/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
I've attached copies of my dmesg, Xorg.0.log, \:0.log (from gdm), and \:0-greeter.log (also from gdm). The only error I can find in there is in the \:0-greeter.log which says
Code:
(gnome-settings-daemon:34354): GLib-GIO-CRITICAL **: g_task_return_error: assertion 'error != NULL' failed
Gdk-Message: gnome-settings-daemon: Fatal IO error 35 (Resource temporarily unavailable) on X server :0.
but I have no idea what this means.
Thanks.