Wayland not listed by the login manager after installing OS

Hey guys,
I have a Opensuse Tumbleweed x86_64 with Gnome and I already have gnome-session-wayland installed but wayland isn’t listed by the login manager.
When I enter “echo $XDG_SESSION_TYPE” I get “x11” and also my display manager “/etc/alternatives/default-displaymanager -> /usr/lib/X11/displaymanagers/gdm”.
I have my Nvidia graphics card driver up to date.
Kernel: “5.12.4-1-default”
DE: “GNOME 40.0”

Hi and welcome to the forum :slight_smile:
It is the default, eg GNOME, only (if like me) want to switch to Xorg or other… you can verify via;


echo $XDG_SESSION_TYPE

or

loginctl show-session <number> -p Type


echo $XDG_SESSION_TYPE

Output:
x11

loginctl show-session <number> -p Type

Command "loginctl show-session 1 -p Type" output:
Type=x11


data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAABHNCSVQICAgIfAhkiAAAAF96VFh0UmF3IHByb2ZpbGUgdHlwZSBBUFAxAAAImeNKT81LLcpMVigoyk/LzEnlUgADYxMuE0sTS6NEAwMDCwMIMDQwMDYEkkZAtjlUKNEABZiYm6UBoblZspkpiM8FAE+6FWgbLdiMAAAQLklEQVR4nO2dedRVVRXAfzim5qxZWibhhAhmljlThDi0Ksc0h6SspKxWy5WGFdq8Aq3+UHOipSZYqVg5ZmZalGKk5YRIFvB9OKCgQBh8ob3+2O/B++478z3n3jfc31p7LXjfvnfvM7zz7j3n7H2gQsW2wHZlO1HRGUwBanW5qGRfKgrmFKAfmAu800F/JOs6S0P2dbhuVN1GP3BqkKcVbUFzw/8X2NWi/zStHWae5Zp3AAOZayo6kPNpbfzlwFYa/a8o9Btyvuaazev3zOp/LUoJKgrlCdSN/5JGPztKZEcnFS9p9J+MUoKKXAwHFiMN8jsHXV3j14CFGf3fWPRrwG8z1yyw6I+w+HhPXW8xsJdFtyKARgU3/7wcqdG9EnsHeAw4Bvi+g25DJtevedRB92qNb0cAyzK6ti9ARQD9uDfMUo1ukfKywq+rNLqLAuqjwsIa9I3zD+BNdb0zDHpFy/i6T9sjb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F3vJoVeCnkKyXOT8mfrmLqN2Kv4OmlMyg1H6vQO1CPxobELmmdPr4nDgNORDVLTkG+Diloi+yYWIdkWFiANPB/JI/eU5brhSE65ofV/D63/v4x0+bp22wyp9/2Ql4HoyadTdRgXhiG71tuNGuvCajag3DrSsStyMkvhlHmCWlHHyfgyhHKefXxImW3USKqJOxe2K9F2p1Na3ZXZYVImI+52SkuSUGaHcRlWS4uhKRGXMvfkT5JphFkMfB2pmLF0Xkr5EFYgZd0E+BrmUJCtC/GozTiI1nmDOcAZCt27FbrdJqrQ1TNQZxo/2FCvXc0FQB8Sk3O0Qe8Sym/Q1HKJofxH1euoj/BTZ3uKT1N+g6aWz0SrrYSU+Qzjg0tI7Spk1rbdWIBbKjOfsOEKB0xL/XNZ96p5ukGvaDm97tMWyNKDTm9NlBqqGEQf6sr+sUK3HQ7UeFnh12Ua3f6A+qiwcA+DK3kZcLhG90rsDfoosoLtc5j7lPo1f3fQvUrj29i67826v/OqiQon9kTmZ2oY0oLWGY65MRdk9H9j0a/R+to736K/l8XHxhdgMeu2fFSUyBOoG3KxRn9Ao19D0o2o0OXI6dZDtzrmLSkEVWbu5cDbNPqmrEwXaD7fqX7PLNMN96poY5q/9QPYg8/n0jpa2I622ZnWaICKDuVjyNvVoLOXDYyitcO4ZKocibw299F0oGZFb9D81jSlZF8qOoRtqDZ4Kfk/wbOx7ASUAYoAAAAASUVORK5CYII=

Hi
If using nvidia also need to edit /etc/gdm/custom.conf to disable Wayland for gdm and use Xorg…

But I want to have Wayland.

There is no Wayland as you can see.

https://s19.picofile.com/file/8435027192/photo_2021_05_29_22_14_51.jpg

First config:


# GDM configuration storage
#
# Note: settings from /etc/sysconfig/displaymanager have a higher priority
#


[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

Second config:


# GDM configuration storage
#
# Note: settings from /etc/sysconfig/displaymanager have a higher priority
#


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


[security]


[xdmcp]


[chooser]


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

Third config:


# GDM configuration storage
#
# Note: settings from /etc/sysconfig/displaymanager have a higher priority
#


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


[security]


[xdmcp]


[chooser]


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

None of these three cases worked.

Post:

zypper se -si wayland

The output of the command “zypper se -si wayland” is:


Loading repository data...
Reading installed packages...


S | Name                  | Type    | Version    | Arch   | Repository
--+-----------------------+---------+------------+--------+----------------------
i | gnome-session-wayland | package | 40.1.1-1.1 | x86_64 | Main Repository (OSS)
i | libQt5WaylandClient5  | package | 5.15.2-4.1 | x86_64 | Main Repository (OSS)
i | libgstwayland-1_0-0   | package | 1.18.4-3.2 | x86_64 | Main Repository (OSS)
i | libwayland-client0    | package | 1.19.0-1.3 | x86_64 | Main Repository (OSS)
i | libwayland-cursor0    | package | 1.19.0-1.3 | x86_64 | Main Repository (OSS)
i | libwayland-egl1       | package | 1.19.0-1.3 | x86_64 | Main Repository (OSS)
i | libwayland-server0    | package | 1.19.0-1.3 | x86_64 | Main Repository (OSS)
i | xwayland              | package | 21.1.1-1.1 | x86_64 | Main Repository (OSS)

I have installed gnome-session-wayland and must use the second gnome entry in my sddm displaymanager:
https://www.krauttranslate.de/~sauerland/Auswahl_148.jpg

+1 from me. The entries can be renamed (to be more meaningful) if desired.

Hi
GNOME=Wayland as indicated in previous post, it does not explicitly say Wayland as that is the openSUSE GNOME Default… :wink:

GDM explicitly disables Wayland with nvidia. See /usr/lib/udev/rules.d/61-gdm.rules

Problem solved by installing KDE and using sddm as the default display manager.
I can now choose Gnome x11 or Gnome Wayland or Gnome on Xorg by the login options.
lol!

Thanks for the update! Well done.