GTK port requires a display in console mode
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
i discovered this when testing some other stuff, it is easy to trigger by running x64sc with sudo (which makes it fail when trying to connect to a display)
yes its not a good idea to do, but still :)
# sudo /foo/bar/x64sc -debug -console
(process:9101): Gtk-CRITICAL **: 15:31:41.671: _gtk_css_lookup_resolve: assertion '(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((provider)); GType __t = ((_gtk_style_provider_private_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
(process:9101): GLib-GObject-CRITICAL **: 15:31:41.671: g_object_set_data_full: assertion 'G_IS_OBJECT (object)' failed
(process:9101): Gtk-ERROR **: 15:31:41.671: Can't create a GtkStyleContext without a display connection