Hello folks! I’ve been having this issue seen in the screenshot. I get this Wayland window and krunner and other things run in there. After a time I even get the login screen inside the wayland window. If I close it I lose krunner, alt-tab, and other keyboard shortcuts.

Not sure how this is happening or how to make it go away. I did try Wayland at one point but it wasn’t quite working out for me and since I reverted back to X11 I get this issue.

If anyone’s wondering, my main issue with Wayland was that it wasn’t setting the DISPLAY and WAYLAND_DISPLAY environment variables for some reason, and this would cause all kinds of software like Steam and Firefox to not even launch. I tried setting them manually but that didn’t go do well either.

Edit: Thank you all! With your help I managed to find and fix it - it was my fault due to a systemd override launching a service after kwin_wayland.

[Unit]
Requires=plasma-kwin_wayland.service
After=plasma-kwin_wayland.service
[Install]
WantedBy=graphical-session.target

That was the issue. Remved the override and everything works!
I even tried Wayland again and now the display variables are defined correctly from the get go and everything works - although this has been on again off again so it might stop working at one point.

  • moreeni@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Unrelated to the issue, but related to the last paragraph: have you tried installing XWayland?

    • highduc@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      1 year ago

      Yeah it’s installed (and was at the time I was having the issues too). I didn’t know how to troubleshoot to see if it’s actually working as intended.

      $ paru -Ss xwayland
      extra/xorg-xwayland 23.2.1-1 [0B 2.23MiB] [Installed] (xorg)
      run X clients under wayland