Hello, so my problem is simple gnome is launching x11 window system instead of wayland this make no sense… here is the content of my “journalctl” : error w - Pastebin.com
What i tried to fix the issue ? First i thought mutter was causing the issue : GNOME - NixOS Wiki so i removed mutter in my config.nix but it’s still doesn’t work… For more information i’m using the kernel hardened maybe the issue is coming from this ? By the way i’m on the unstable channel
Update : I found something in the log : Apr 01 10:11:57 user systemd[1]: Started User Manager for UID 132.
Apr 01 10:11:57 user systemd[1235]: Starting D-Bus User Message Bus…
Apr 01 10:11:57 user systemd[1235]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).
Apr 01 10:11:57 user systemd[1]: Started Session c1 of User gdm.
Apr 01 10:11:57 user systemd[1235]: Started D-Bus User Message Bus.
Apr 01 10:11:57 user systemd[1235]: Reached target Main User Target.
Apr 01 10:11:57 user systemd[1235]: Startup finished in 140ms.
Apr 01 10:11:57 user dbus-daemon[1244]: [session uid=132 pid=1244] Successfully activated service ‘org.freedesktop.systemd1’
Apr 01 10:11:57 user /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/libexec/gdm-wayland-session[1250]: dbus-daemon[1250]: [session uid=132 pid=1250] Activating service name=‘org.freedesktop.systemd1’ requested by ‘:1.2’ (uid=132 pid=1251 comm=“/nix/store/vlcflid4p9bdxc69c8zdv64070wmqhih-gnome-”)
Apr 01 10:11:57 user /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/libexec/gdm-wayland-session[1250]: dbus-daemon[1250]: [session uid=132 pid=1250] Activated service ‘org.freedesktop.systemd1’ failed: Process org.freedesktop.systemd1 exited with status 1
Apr 01 10:11:57 user gnome-session[1251]: gnome-session-binary[1251]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Apr 01 10:11:57 user gnome-session-binary[1251]: WARNING: Could not check if unit gnome-session-wayland@gnome-login.target is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
Apr 01 10:11:57 user gnome-session[1251]: gnome-session-binary[1251]: WARNING: Desktop file /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/share/gdm/greeter/autostart/orca-autostart.desktop for application orca-autostart.desktop could not be parsed or references a missing TryExec binary
Apr 01 10:11:57 user gnome-session-binary[1251]: WARNING: Desktop file /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/share/gdm/greeter/autostart/orca-autostart.desktop for application orca-autostart.desktop could not be parsed or references a missing TryExec binary
Apr 01 10:11:57 user gnome-session[1251]: gnome-session-binary[1251]: GnomeDesktop-WARNING: Error fetching user unit for own pid: 3
Apr 01 10:11:57 user gnome-session-binary[1251]: GnomeDesktop-WARNING: Error fetching user unit for own pid: 3
Apr 01 10:11:57 user .gnome-shell-wr[1263]: Running GNOME Shell (using mutter 45.2) as a Wayland display server
Apr 01 10:11:57 user org.gnome.Shell.desktop[1263]: Failed to setup: Could not get session ID: Failed to get session by pid for user 132 (No such process)
Apr 01 10:11:57 user gnome-session[1251]: gnome-session-binary[1251]: WARNING: App ‘org.gnome.Shell.desktop’ exited with code 1
Apr 01 10:11:57 user gnome-session-binary[1251]: WARNING: App ‘org.gnome.Shell.desktop’ exited with code 1
Apr 01 10:11:57 user gnome-session-binary[1251]: Unrecoverable failure in required component org.gnome.Shell.desktop
Apr 01 10:11:57 user /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/libexec/gdm-wayland-session[1250]: dbus-daemon[1250]: [session uid=132 pid=1250] Activating service name=‘ca.desrt.dconf’ requested by ‘:1.2’ (uid=132 pid=1251 comm=“/nix/store/vlcflid4p9bdxc69c8zdv64070wmqhih-gnome-”)
Apr 01 10:11:57 user /nix/store/kxmc6m8i4gcbq47mz8i150p3k24npl9h-gdm-45.0.1/libexec/gdm-wayland-session[1250]: dbus-daemon[1250]: [session uid=132 pid=1250] Successfully activated service ‘ca.desrt.dconf’
Apr 01 10:11:57 user gdm[1221]: Gdm: GdmDisplay: Session never registered, failing
Apr 01 10:11:57 user systemd-logind[982]: Session c1 logged out. Waiting for processes to exit.
Apr 01 10:11:57 user systemd[1]: session-c1.scope: Deactivated successfully.
Apr 01 10:11:57 user gdm[1221]: Gdm: Child process -1245 was already dead.
Apr 01 10:11:57 user gdm[1221]: Gdm: GdmDisplay: Session never registered, failing
Apr 01 10:11:57 user systemd-logind[982]: Removed session c1.
Apr 01 10:11:57 user gdm[1221]: Gdm: Child process -1245 was already dead.
Apr 01 10:11:57 user systemd-logind[982]: New session c2 of user gdm.
Apr 01 10:11:57 user systemd[1]: Started Session c2 of User gdm.
After this i checked the gdm.service and i see it’s masked ?.. user@user ~ [4]> sudo systemctl status gdm
○ gdm.service
Loaded: masked (Reason: Unit gdm.service is masked.)
Active: inactive (dead)