Re: Chrome interferes with KDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday, October 2, 2022 1:12:39 P.M. MDT Jerome wrote:
> [Fedora 34]
> 
> After 70 days of uptime, Chrome (prior and latest version) is interfering
> with:
> 
> - opening apps from the QuickLaunch panel
> - opening Gwenview from a KMail link to an image
> - Ctrl-Esc for System Activity
> 
> When Chrome ISN'T open - all these work.
> 
> When Chrome IS open:
> 
> - nothing opens from QuickLaunch, or the requested app (eg: KWrite)
> coredumps - Gwenview crashes
> - Ctrll-Esc doesn't open System Activity
> 
> I've done a   plasmashell --restart &   and that hasn't made a difference.
> 
> Has anyone seen this behaviour before?


A follow-up:

I tried running kompare from a konsole and get this:


Maximum number of clients reachedqt.qpa.xcb: could not connect to display :0
qt.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.

Aborted (core dumped)


So I Googled for "Maximum number of clients reached qt.qpa.xcb" and found Xorg 
has a default of 256, apparently hard-coded into the source.

Two example results:

  https://www.reddit.com/r/archlinux/comments/u0095w/
dealing_with_an_issue_that_often_happens_after/

  https://unix.stackexchange.com/questions/368017/cant-start-applications-due-to-maximum-number-of-clients-reached-error

The solution seems to be to start X with a larger --maxclients with

/etc/X11/xorg.conf.d/99-maxclients.conf:

Section "ServerFlags"
    Option "MaxClients" "512"
EndSection

Which I am about to try.

In testing with

    lsof -U +c 15 | cut -f1 -d' ' | sort | uniq -c | sort -rn | head -3

    381 chrome
    255 Xorg
    180 kded5

Closing enough things (like KWrite windows) to get Xorg to 255 or less clears 
the problem while I wait for a good time to log out/in again.








[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux