Missing Gnome-X11 Login option

Good Evening Everyone,

I have a question. I am on a fresh Leap install, and as always with my desktop, I have to update the drivers first to be able to log into wayland.

Now I usually just logged into X11, and updated my NVIDIA Drivers from there, and then were able to log in normally. However, I have no X11 option in the Cogwheel-Menu on the left, the only options available are:
Gnome
Gnome-Classic
IceWM-Sitzung (In my installation Language)
IceWM-Session

(No idea why IceWM is shown twice)

How should I proceed? I thought about login in without GUI, and then installing the drivers, but that would take quite a long time, since I have to accept around 8-11 EULA’s, or is there a way to circumvent those popping up? Would:
sudo zypper install nvidia-gl-G06 -y
Work?

gnome-session-xsessionis not available in Leap, is that why X11 is missing? I thought however, that I had seen that it was going to be installed during installation.

Is patterns-gnome-gnome_x11 installed?

sudo zypper install --auto-agree-with-licenses nvidia-gl-G06

See man zypper

(Sorry, I did not do that much things without GUI, how can I login without GUI in the first place? How do I get into emergency mode? Is it by pressing “t” during boot or Ctrl+F1 at login screen? Until now, I only did that when it didn’t worked by itself).

Oh, I have to boot into rescue mode I guess!

This explains how to reach a text only login with activated network card, so that you can install packages.

Login as root and you are able to check if the named packages are installed or perform any installation actions.

1 Like

Does the 3 have to be next to mitigations (does the order count) or does it just have to be of the end of whatever is written on the line? Because my commands are not in the same order, I have apparmor at the end.

Exactly this.

1 Like

Yes, it is.

Okay. I solved the problem by uninstalling the default nvidia-kmp package and:
sudo zypper install --auto-agree-with-licenses nvidia-drivers-G06

I seem to have borked something, I’ll write back tomorrow again.

Somehow, nvidia-drivers-G06 wants to install and older version of nvidia-gl-G06 (550.x), which seems not to be available in the nvidia repository. It is very weird. Installing the drivers manually did work.

nvidia-drivers-G06(the meta-package) exists only for 550 versions and it installs 550 drivers of course.

What happens if you select this one?

It’s Wayland :confused:

I now did a fresh install, booted into text login and tried to install nvidia-drivers-G06 but I am greeted by the by the following problem:

File './x86_64/nvidia-compute-G06-32bit-550.144.03-lp156.30.1.x86_64.rpm not found on medium 'https://download.nvidia.com/opensuse/leap/15.6' `

I can either ignore it, stop the install or try again (which doesn’t work of course).

Can I safely ignore this, since my desktop is 64 bits anyway? Is it again the nvidia repo that’s bugging?

Yes, that specific version is missing but I doubt that you really need it (I have all 32bit packages locked here).
I think it is safe to ignore.

As long as you don’t need for games and such.

Okay, so I uninstalled nvidia-open-driver-G06-signed-kmp-default and tried to install nvidia-drivers-G06. I thought that it worked, however it didn’t. The good news, without nvidia-open-driver-G06-signed-kmp-default, I can login into GUI, the bad news is: if I ignore the message, the install does not continue and the packages do not get installed.

I can try to install them all separately, without installing nvidia-drivers-G06

Okay, this works. Installing the packages separately without the problem-causing package works.

Why GnomeX11 is missing when installing Leap on this computer (even tho it is explicitly shown on the installer), still remains a mystery. It is not that important for me, since I do not plan to use it anyway, however if someone still wants to go for the search, I’ll be happy to debug that. Thanks for the help and getting me started to use my computer without GUI!

File /usr/share/xsessions/gnome-xorg.desktopis part of gnome-session

localhost:~ # ls -l /usr/share/xsessions
total 40
lrwxrwxrwx 1 root root   42 Jan 10 14:26 default.desktop -> /etc/alternatives/default-xsession.desktop
-rw-r--r-- 1 root root 7837 Jan 10 14:26 gnome-classic-xorg.desktop
-rw-r--r-- 2 root root 8131 Jan 10 14:26 gnome-classic.desktop
-rw-r--r-- 1 root root 7915 May  9  2024 gnome-xorg.desktop
-rw-r--r-- 1 root root 6820 May  9  2024 gnome.desktop
lrwxrwxrwx 1 root root   13 Apr 22  2022 icewm-session.desktop -> icewm.desktop
-rw-r--r-- 1 root root 2498 Apr 22  2022 icewm.desktop
-rw-r--r-- 1 root root 2145 May 13  2024 twm.desktop
localhost:~ #

I noticed an interesting thing:
when deleting the nvidia-open-driver-G06-signed-kmp-default, I automatically logged into and X-Session!