You are not logged in.

#1 2024-04-18 15:06:25

myak
Member
Registered: 2018-10-23
Posts: 6

[SOLVED] How to get Wayland back in GDM

Quite some time ago I installed wayland and was able to pick it in GDM as my session type, I had Plasma (X11) and Plasma (Wayland) if I remember correctly, and also similarly for Gnome. Wayland was causing some issues though so I removed a lot of the packages. With the recent updates to the nvidia drivers I wanted to try wayland again and it works rather well, I am able to log in to a tty console and run

/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland

This works flawlessly. But GDM only displays Plasma (X11), GNOME and GNOME Classic. How do I get Wayland options back?

I still need to be able to run X11 because I need it for work. But I'd like to run the same desktop under Wayland after work. I don't care what GDM runs under, just need to be able to log in to my desktop running both X11 and Wayland.

My /etc/gdm/custom.conf:

# GDM configuration storage

[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=true

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

Doesn't matter what WaylandEnable is set to, I only get X sessions.

Last edited by myak (2024-04-18 15:57:45)

Offline

#2 2024-04-18 15:13:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,891

Re: [SOLVED] How to get Wayland back in GDM

With the recent updates to the nvidia drivers

https://wiki.archlinux.org/title/GDM#Wa … DIA_driver

Offline

#3 2024-04-18 15:57:31

myak
Member
Registered: 2018-10-23
Posts: 6

Re: [SOLVED] How to get Wayland back in GDM

Thank you!

systemctl enable nvidia-resume.service
systemctl enable nvidia-suspend.service
systemctl enable nvidia-hibernate.service
echo options nvidia NVreg_PreserveVideoMemoryAllocations=1 > /etc/modprobe.d/nvidia.conf

Did the trick.

Offline

Board footer

Powered by FluxBB