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

Hmm, this problem has returned.

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

(sbcl:2): Gdk-WARNING **: 15:01:21.905: 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.7
<INFO> [15:01:22] Source location: #P"/app/share/nyxt/"
<INFO> [15:01:22] Profile: "nofile"

(WebKitWebProcess:2): Gdk-WARNING **: 15:01:22.603: 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 **: 15:01:22.650: 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 **: 15:01:23.350: 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

I'm pretty sure it will work if I restart, but who wants to do that?:wink:

There is something preventing the GUI from showing.

It is listed in wmctrl

BASHY $ wmctrl -l|grep -i nyx
0x0f800004 32    N/A nyxt

I'm not really sure what to try.

@daltor it's very hard to understand what the root cause could be.

I have never faced this issue. Are you running X11 or Wayland?

X.Org X Server 1.21.1.13

Right, it's probably not on your end, so I'll have to dig into my setup, which is XMonad on NixOS

If you're on Xorg and aren't using Nvidia hardware, you probably don't need to set WEBKIT_DISABLE_COMPOSITING_MODE.

ok, I rebooted now and it comes up just fine. Ok, I'll try without that env if it happens again. Thanks;)