Why doesn't the GUI show?

I'm unable to start Nyxt.

I'm on NixOS 23.11.

I have tried both stable and unstable version of Nyxt in the nixpkgs.

I have also tried installing the flatpak distro:

$ flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 engineer.atlas.Nyxt 2>&1|tee tmp/nyxt.log.txt

(sbcl:2): Gdk-WARNING **: 13:35:28.899: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
Nyxt version 3.11.6
<INFO> [13:35:29] Source location: #P"/app/share/nyxt/"
<INFO> [13:35:29] Listening to socket: #P"/run/user/1000/nyxt/nyxt.socket"

(WebKitWebProcess:2): Gdk-WARNING **: 13:35:29.608: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

(WebKitWebProcess:2): Gdk-WARNING **: 13:35:29.668: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
<INFO> [13:35:30] Loading #P"/home/b0ef/.local/share/nyxt/history/default.lisp".
<INFO> [13:35:30] Restoring 10 buffers from history.
<INFO> [13:35:30] Loading #P"/home/b0ef/.local/share/nyxt/auto-rules.lisp".

(WebKitWebProcess:2): Gdk-WARNING **: 13:35:30.652: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
<INFO> [13:35:31] Loading "https://www.google.com/gmail/about/".

(WebKitWebProcess:2): Gdk-WARNING **: 13:35:31.543: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
<INFO> [13:35:32] Finished loading "https://www.google.com/gmail/about/".
^C
<INFO> [13:35:36] Deleting socket #P"/run/user/1000/nyxt/nyxt.socket".

@daltor I can't reproduce with flatpak. Try to run:

flatpak run --env=WEBKIT_DISABLE_COMPOSITING_MODE=1 engineer.atlas.Nyxt --failsafe

There was something wrong with my system, as more apps didn't launch. I have updated now and all is good;). Thanks

1 Like