Xcb error on openSUSE 15.4

Dear all,

recently i started getting the error message quoted below. Basically I have to use gui applications like firefox, okular, vlc, chrome one at a time. Otherwise they fail to launch.
One might argue that the tabs in firefox are too many. However, the same behavior happens also with okular, where i have just 1.
I would appreciate your help.
Thank you in advance,

The error message below was generated when trying to start okular from the terminal.

Maximum number of clients reachedMaximum number of clients reachedqt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

launching vlc from the the command line yielded:

VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
 Maximum number of clients reachedMaximum number of clients reached[0000559acdbfc950] main interface error: no suitable interface module
[0000559acdb27d30] main libvlc error: interface "globalhotkeys,none" initialization failed
[0000559acdb27d30] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
> Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reached[0000559acdbfc950] skins2 interface error: cannot initialize OSFactory
[0000559acdbfc950] [cli] lua interface: Listening on host "*console".
 VLC media player 3.0.18 Vetinari
Command Line Interface initialized. Type `help' for help.
 Maximum number of clients reachedMaximum number of clients reached[00007f20040013b0] gl vout display error: parent window not available
[00007f20040013b0] xcb vout display error: window not available
 [00007f20040013b0] fb vout display error: cannot get terminal mode (Inappropriate ioctl for device)
 Segmentation fault (core dumped)


My os info:

cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.4"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"

Can you replicate the problem running some session other than Plasma? e.g. IceWM? If not, try logging out of your normal user Plasma session, removing the content from the normal users’ /home/username/.cache/, then trying a Plasma session. Cache is automatically recreated as and when required.

Thank you for your reply. I will try to boot without the gui and delete the /home/username/.cache/, as suggested by you.
I run only kde plasma. I haven’t tried running other.

Trying something else is a troubleshooting step, designed to point the problem either to Plasma, or to Plasma not. Most installations include IceWM, which is a very lightweight environment, requiring minimal resources to run, and trivial disk space. It should already be available via your login screen’s selector for session type.

Trying something else is a troubleshooting step, designed to point the problem either to Plasma, or to Plasma not.

IceWM works fine. I am able to open firefox, a pdf file, chrome and vlc at the same time!
I tried deleting the rm -rf /home/user/.cahche/* , from the non gui mode. this however didn’t resolve the plasma problem.

Next step is to create a new user, or use a little used, or non-Plasma existing, extra user to see whether it is user settings or the Plasma software itself where the problem lies.

I created a be user. The plasma problems reappeared.

I just did zypper up on this:

# inxi -SCGMz
System:
  Kernel: 5.14.21-150400.24.63-default arch: x86_64 bits: 64 Desktop: Trinity
    Distro: openSUSE Leap 15.4
Machine:
  Type: Desktop Mobo: Gigabyte model: GA-970A-D3 serial: N/A BIOS: Award
    v: F10 date: 05/30/2012
CPU:
  Info: quad core model: AMD Phenom II X4 965 bits: 64 type: MCP cache:
    L2: 2 MiB
  Speed (MHz): avg: 3423 min/max: N/A cores: 1: 3423 2: 3423 3: 3423 4: 3423
Graphics:
  Device-1: NVIDIA GF108 [GeForce GT 630] driver: nouveau v: kernel
  Display: x11 server: X.org v: 1.20.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: nouveau gpu: nouveau resolution: 1: 1680x1050
    2: 1920x1200
  API: OpenGL Message: GL data unavailable for root.
#

It’s pretty old, but has no apparent problem playing VLC and Youtube in Firefox videos at the same time, and I see nothing in my .xsession-errors, dmesg or journal that look like the errors you posted.

Find Xorg.0.log in /var/log/ or ~/.local/share/xorg/ and susepaste it so we can see if it provides any clues. Do similar with journal:

sudo journalctl -b | susepaste -e 10080

-e 10080 sets expiration at one week. Default is 24 hours.

I made a mistake. With the other profile I was managed to launch vlc, firefox chrome and okular at the same time. However, I was not able to launch the wifi. In the process of doing so, I f. up the existing connection for the other user. I think that I changed the Network Setup Method.

sudo nmcli --ask dev wifi connect SSID password PWD

returns

Error: Connection activation failed: (7) Secrets were required, but not provided

So now I am in even bigger trouble. I remember, that an year ago I had the same problem of constantly being prompted for the wifi pass and not bale to connect. Don’t remember how I resolved it.

sudo journalctl -b | susepaste -e 10080

returns only the last 24 hours. I don’t know why. It is full of the Qt errors I was pasting before.

I don’t know what this means. You didn’t provide a resulting URL. journalctl -b means journal for only the current boot.

I can’t help with wireless. I use only wired connections with static IPs configured through systemd-networkd.

This together with you choice of “other” as tag, I assume you are not using openSUSE at all, but a form of SUSE LInux Enterprise.

Which should mean that you are on the wrong forums.
Nevertheless people may try to help you here, but I hope all are aware of this.

I apologize, it is my first question here and did it wrong :worried:. Is it possible to change the tag?
I should be using opensuse-leap 15.4
My os info is as follows:

cat /etc/os-release
NAME="openSUSE Leap"
VERSION="15.4"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.4"
PRETTY_NAME="openSUSE Leap 15.4"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.4"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"

Changed tag and title.

P.S. The distribution here is spelled: openSUSE.

The output of susepaste is here.

And a small comment. on the other profile, same pc everything is fine! vlc, youtube, crome, okular all run simultaneously.

That log reports a massive amount of errors. The biggest one I recognize is:

kernel: vlc[3234]: segfault at 7f41b820b810 ip 00007f41b820b810 sp 00007f41b8312928 error 14

Given other user is OK, and the 52 QT lines it contains, best I can surmise is some theming issue that your user login has configured that the other does not. Have you changed any personal/desktop settings involving appearance lately?

Have you changed any personal/desktop settings involving appearance lately?

Not that I know of. The error appeared out of the blue. Moreover, at boot time I noticed the error below appearing 3 sequential times.

Failed to start Show Plymouth Boot Screen.

Plymouth is never installed here. It’s apparent purpose is to make the boot process emulate Windows, which is to say hide all activity before the login screen appears, including clues to problems.

Plymouth can be disabled or uninstalled, but since your alternate user has no such problem as you, I don’t imagine that would help you. One or more of the following (at a time) appended to the linu line at the Grub menu after striking the E key will disable it on a per boot basis:

noplymouth
plymouth=0
plymouth.enable=0
plymouth.disable=1

OK, lets leave plymouth. I have the feeling, that the other problems are hopeless to solve :frowning:

Given alternate user works OK, everything need not be discarded. With you logged out, root could rename your homedir, create a new one using /etc/skel/ to initialize it, assign it and its content your uid and gid, after which you can login with it, and copy the important parts into it from the renamed, such as .mozilla/, .thunderbird/, .config/chromium/, .config/falkon/, .config/libreoffice/, .config/user-dirs-.dirs, .config/vlc/ and other directory trees unrelated to KDE or Plasma.

Before getting that drastic, you could use IceWM or vtty login with text mode file manager like MC to selectively restore KDE/plasma configs from backup, or remove them to have them be recreated on next use. It’s a process KDE does not make easy: Bug 422529.

Given it’s only about two months until official 15.4 support ceases, it might be worth upgrading to 15.5 sooner rather than later. The Plasma version jump from 5.24 to 5.27 might make a difference.