Updated 15.5 to 15.6: Yast will not open

Leap 15.5 xfce updated to 15.6 with DVD.
Yast from menu requests root password then does not open.
In a terminal:

david@localhost:~> /usr/bin/xdg-su -c /sbin/yast2

(gnomesu:19243): dbind-WARNING **: 15:16:52.354: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/0/at-spi/bus_0.0: Permission denied

(gnomesu:19243): Gtk-WARNING **: 15:16:52.418: gtk_window_set_titlebar() called on a realized window
[requests root password]
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
libEGL warning: DRI2: failed to authenticate
*** stack smashing detected ***: terminated
/sbin/yast2: line 468: 19301 Aborted                 (core dumped) $y2ccbin $Y2UI_ARGS "$@"

Several other applications don’t load - eg VLC - with a similar error
libEGL warning: DRI2: failed to authenticate

Can you post:
zypper lr -d
zypper se -si | grep -Ei 'system_p|system p|system-p|systemp'



In case it’s useful, here are the repos before the upgrade:

And here is conflicts.txt during upgrade. I saved this in the middle of selecting the resolution of each so it doesn’t show the resolutions I chose. In all cases I opted to reinstall the packages from SUSE not keep obsolete ones or break anything. Except for the last two conflicts where I selected one of the deinstallation options - I can’t remember which, and they’re devel packages anyway.

I went though the ‘all applications’ menu to see what works and what doesn’t. I didn’t try every app, but the majority work OK and the system is quite usable.

These apps don’t work:
yast (gui version), VLC, calculator, okteta, ocular, QT designer, simple screen recorder

They all exhibit the error
libEGL warning: DRI2: failed to authenticate

What do those programs have in common?

The full terminal output is here:

This looks like a mix of packman and OSS Mesa packages. Your Leap 15.5 installation had packman repos, your Leap 15.6 not. So you either add packman and perform a vendor switch to packman, or you perform a complete vendor switch back to openSUSE OSS.

Thanks for the reply.

Normally, after upgrade, I would add Packman and switch packages to it. I’ve not done that yet, pending a solution to this problem.

Of the programs I listed only VLC would switch to Packman I would have thought - maybe simple screen recorder. Yast would not. Some of the others - calculator, okular - are presumably default packages and I’d expect them to work after upgrade. Or they may be obsolete and I have to find a replacement - which would be OK. But the fact that gui yast doesn’t work is a serious fault IMO.

libEGL warning: DRI2: failed to authenticate

This indicates (as already explained) that you maybe have a mix of Mesa packages from different repos (packman and OSS). It is up to you to follow this hint…
ALL Mesa packages need to come from the SAME repo.

I added Packman Essentials and did:
sudo zypper dup --allow-vendor-change

Terminal output here:
It looks from that that all Mesa pkgs now come from Packman .

After reboot, the problem with yast remains.

I wonder if this related to nvidia packages left behind? I don’t know if 15.5 was using an nvidia driver but 15.6 isn’t according to the nvidia x-server settings program.

The nvidia repo is active but there are no packages installed from it (according to zypper pa -ir NVIDIA:repo-non-free).

There are several nvidia packages installed which are not in any current repo (which is what I think ‘System Packages’ means:

i  | nvidia-computeG04          | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: nvidia-computeG04
i  | nvidia-computeG04-32bit    | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: nvidia-computeG04-32bit
i  | nvidia-gfxG04-kmp-default  | package | 390.157_k5.14.21_150500.53-lp155.40.1 | x86_64 | (System Packages)
    name: nvidia-gfxG04-kmp-default
i  | nvidia-glG04               | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: nvidia-glG04
i  | nvidia-glG04-32bit         | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: nvidia-glG04-32bit
i+ | openSUSE-repos-Leap-NVIDIA | package | 20240516.5431918-lp156.1.2            | x86_64 | repo-oss (15.6)
    name: openSUSE-repos-Leap-NVIDIA
i+ | openSUSE-repos-Leap-NVIDIA | package | 20240516.5431918-lp156.1.2            | x86_64 | Main Repository
    name: openSUSE-repos-Leap-NVIDIA
i  | x11-video-nvidiaG04        | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: x11-video-nvidiaG04
i  | x11-video-nvidiaG04-32bit  | package | 390.157-lp155.40.1                    | x86_64 | (System Packages)
    name: x11-video-nvidiaG04-32bit

Some or all of those come from the SUSE 15.5 repo:

david@localhost:~> rpm -q -i nvidia-glG04
Name        : nvidia-glG04
Version     : 390.157
Release     : lp155.40.1
Architecture: x86_64
Install Date: Wed 22 May 2024 11:20:59 BST
Group       : System/Libraries
Size        : 75413361
License     : SUSE-NonFree
Signature   : DSA/SHA512, Mon 29 Apr 2024 18:05:50 BST, Key ID f5113243c66b6eae
Source RPM  : x11-video-nvidiaG04-390.157-lp155.40.1.nosrc.rpm
Build Date  : Mon 29 Apr 2024 01:58:24 BST
Build Host  : h01-ch5b
Relocations : (not relocatable)
Packager    : https://www.suse.com/
Vendor      : obs://build.suse.de/Proprietary:X11:Drivers
URL         : https://www.nvidia.com/object/unix.html
Summary     : NVIDIA OpenGL libraries for OpenGL acceleration
Description :
This package provides the NVIDIA OpenGL libraries to allow OpenGL
acceleration under the closed-source NVIDIA drivers.
Distribution: Proprietary:X11:Drivers / openSUSE_Leap_15.5

All of which may not matter if these packages are not being used. Any thoughts or suggestions?

[I tried enabling the nvidia driver by following the nvidia x-server settings program’s instruction to use nvidia-xconfig, which wrote a new /etc/X11/xorg.conf. But that resulted in a startup failure - [FAILED] Failed to start Xdisplay manager - so I backed it out.]

The nvidia 15.6 repo does not contain any G04 packages, only G05 and G06

From https://en.opensuse.org/SDB:NVIDIA_drivers:
G04 = driver v390 = legacy driver for GTX4xx/5xx Fermi devices
G05 = driver v470 = driver for GeForce 600 series and GeForce 700 series (Kepler)
G06 = driver v550 = driver for GeForce 700 series (Maxwell, Pascal…) and up

My card is a GeForce 600 Series (GT 610)

My hypothosis was that the problem with yast is related to Mesa so I decided to install the G05 packages and use the nvidia driver.

I removed the nvidia packages that came from the 15.5 nvidia repo (leaving the kernel-firmware-nvidia and openSUSE-repos-Leap-NVIDIA packages) and rebooted.

The problem with Yast, etc. has disappeared, without installing any nvidia packages.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.