You are not logged in.
Hello! This is the first time I post here. I hope to have posted on the correct forum.
Since I updated to GNOME 3.38 GDM (I think) overwrites /etc/gdm/custom.conf and sets WaylandEnable=false. So the next time I log in, GNOME Shell starts as a X11 session. So I have to reset this value and restart GDM. I have another computer with GNOME 3.38 and this does not happen.
I've been trying to find what and why this is happening. I don't think this is a bug. At least it doesn't seems to be a bug but everytime I restart the computer this happens.
Thanks in advance!
Last edited by cristovaozr (2020-10-10 17:01:39)
Offline
I've got exactly the same problem.
Offline
Might be related: It also changes some of the permissions inside the /var/lib/gdm folder as seen when reinstalling gdm:
Reinstal gdm while removing the /var/lib/gdm directory:
pacman -R gdm
rm -rf /var/lib/gdm
pacman -S gdmThis produces no warning.
Then uninstall and reinstall again but this time not removing the directory yields a permission warning:
pacman -R gdm
pacman -S gdmOne gets something like:
warning: directory permissions differ on /var/lib/gdm/.config/pulse/
filesystem: 700 package: 755Last edited by charlie (2020-10-09 09:34:59)
Offline
Assuming all reporting this issue are using proprietary NVIDIA drivers?
As usual, the best place to check first is the wiki
Wayland and the proprietary NVIDIA driver
GDM doesn't work well in Wayland mode with the proprietary NVIDIA driver. When using this driver, GDM will use Xorg instead.[7]To force-enable Wayland, disable the udev rule responsible for disabling Wayland in GDM:
# ln -s /dev/null /usr/lib/udev/rules.d/61-gdm.rules"the wind-blown way, wanna win? don't play"
Offline
Every time gdm/x tries to use my nvidia card it fails and login screen doesn't even show. It's too much work to try solve that problem as I need a working computer now (I tried though, but couldn't figure out what to do or what was wrong). It's running fine on Wayland (and maybe without the full power of the graphic card but I don't really care). So I guess I'll deactivate the udev rule.
Wouldn't just commenting the line
DRIVER=="nvidia", RUN+="/usr/lib/gdm-disable-wayland"be enough?
Last edited by charlie (2020-10-09 13:29:51)
Offline
I have a NVIDIA discrete graphics card on my notebook but I don't use it during normal usage (to save power). I indeed have the proprietary graphics drivers installed - nouveau drivers would panic the kernel.
I'll try disabling the udev rule and check if the problem disapears. I generally check the wiki for hints and I assumed that this would not happen if using Intel's video driver.
Thanks in advance. As soon as the test concludes I'll mark this thread as solved!
Offline
If you had wanted Wayland, then you shouldn't have used NVIDIA GPUs. Use AMD or Intel.
Offline
Since wayland (afaik still) doesn't support optimus setups nor nvidia eglstreams (at least the gnome implementation is "beta" unless they completely removed it by now) if one feels negatively affected by this rule, one probably wants to seek to disable the dedicated GPU in the BIOS/UEFI (which will also raise chances of an output redirection on that layer, ie. the ability to use external outputs)
Offline
If you had wanted Wayland, then you shouldn't have used NVIDIA GPUs. Use AMD or Intel.
I'm using Intel GPU. It so happens that my notebook has both Intel and NVIDIA GPUs. I have Optumus/Bumblebee enabled but rarely use them.
Anyway! It seems that my problem is gone now. Thanks for all your help!
Offline