This question is quite deceivingly hard. It also has different ways to approach it. The RH documentation is surprisingly unhelpful.
First to note is that I have a Debian Bookworm, not a RH8. However, I'll try my best to transpose it to RH8, while leaving the Debian parts for anyone else to see too.
You have three ways to influence what is being loaded.
custom.conf - enable or disable Wayland
- On Debian it is at
/etc/gdm3/daemon.conf
. On RH8 it should be at /etc/gdm/custom.conf
In section [daemon]
you can disable Wayland by adding:
WaylandEnable=false
User session configuration - default session
- Second option is to have settings adjusted in your profile at
~/.dmrc
(see more at gnome's help pages for [gdm][3]
or gdm
user session :
For example
[Desktop]
Session=gnome
Language=cs_CZ.UTF-8
Checking the gdm
source code - the X-GDM-SessionRegisters
- This option is, I think, the answer to your question. I found it in the gdm-session source code. The answer is to use the 'X-GDM-SessionRegisters' variable in your
*.desktop
files. These desktop files correspond with the list shown.
The X-GDM-SessionRegisters
in the desktop file takes in a true
or false
. If the value is false
the session type should not be shown. The one you want to see should have true
others false
.
The files can be found at /usr/share/xsessions/
or if you do not have Xorg installed you can use /usr/share/wayland-sessions
for Wayland only path.
In my case I have:
ls /usr/share/xsessions/
gnome-classic.desktop gnome-classic-xorg.desktop gnome.desktop gnome-flashback-metacity.desktop gnome-xorg.desktop openbox.desktop
I'm not sure if RH8 has the same paths. To what I could find it seems it does.
Edit:
why do I not see the Wayland choices on my dell r640/740 servers?
Hard to say without a log, but probably Wayland was not installed?
Would the presence of an Nvidia graphics card matter?
That should not matter.
What is this login menu called?
GDM session list
How does it get created and populated with all those choices?
You can check the source code I have linked above. It takes the lists of *.desktop files (a the /usr/share/xsessions/
) and creates a list from them.
You can try it yourself and create a simple new entry there. For example (example mapped to openbox session):
This should be enough:
[Desktop Entry]
Name=My Nice Openbox session
Comment=Testing if this will create an openbox session
exec=/usr/bin/openbox-session
Icon=openbox
Type=Application
How can one modify this menu, specifically to make it only do Classic Wayland display server?
As I have tried to explain above you can do that with X-GDM-SessionRegisters
. If it does not work for you, you can simply move/delete the *.desktop files.
Can anyone provide a link to any kind of documentation on this?
The source code apparently.
Is this specifically a gnome thing?
Well GDM is a Gnome Display Manager so that is Gnome only. You can use different ones like KDM, lightDM, etc. if you want to.