Skip to main content
Topic: Login to Wayland failing (Read 154 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Login to Wayland failing

Hi I had the following issue I addressed in this Reddit post (https://www.reddit.com/r/artixlinux/comments/1i4hgnl/wont_log_into_wayland/)

When installing the KDE-Plasma OpenRC .iso to my Thinkpad T460 Intel CPU i7 as my daily driver, Wayland was erroring by showing a black screen before reverting back to the login screen. Only X11 works.

I thought it was only because I didn't have plasma-wayland-protocols installed, but I realized that in my other laptop that I experimented w/ (Thinkpad T440 Intel CPU i5) that I had changed the /usr/share/xsessions/ to include /plasmawayland.desktop and that's the reason it worked.

So I did that with my T460... and Wayland worked, except that the loginscreen was in the background and the Wayland desktop was in a small box (1/3 of the screen still) in the top-left of the screen. Very odd since my T440 didn't do that.

I realized then that I should've added plasmawayland.desktop to wayland-sessions (a directory I didn't know existed before which had x11 in it (as xsessions did too). So I added it to there, then finding (wayland) (wayland) as a duplicate (I mean that the login screen had Plasma (wayland), Plasma (wayland) (wayland), and then Plasma (X11)).

After that, having realized that xsessions didn't need plasmawayland.desktop since wayland-sessions is where the plasmawayland.desktop config needed to be, I deleted the xsessions one and the duplicate (wayland)(wayland) disappeared.

Plasma (Wayland) didnt work tho (in T460), and that's when I realized that I should've left plasmwayland.desktop in xsessions (which in the T440 actually did have plasmawayland.desktop in wayland-sessions directory without me having added it, which the T460 didn't have.

But when trying to add xsessions plasmawayland.desktop back to it, the (wayland)(wayland) wouldn't show up on the login, just plasma (wayland), so that's where I've rage quitted.

There's so many things that haven't made sense, and btw I did set permissions to the xsessions one, even tho before it had worked without setting permissions... and this time it isn't working.

I believe there's some serious issues with the wayland directory stuff, however it works. This is my first going through directories and I was sure I figured it out in the T440, but since Wayland only worked in Xsessions (which is supposed to be for X11 only)... there's something wrong :D

Anyway if there's a quick fix that I can make to get Wayland working on the T460 that'd be great. I was hoping that with my experiments done on the T440 that having duplicated those changes to the T460 would've worked (I did all the same updates and everything).

I'm not switching distros as my daily driver since OpenRC has been great on Artix otherwise, and I've gotten comfortable w/ the Arch lingo on here. Though for security purposes I hope Wayland get's a patch on KDE-Plasma! For now I'm going to install the Artix base install on the T440 and see if there's issues installing KDE-Plasma on it, if Wayland works then I might do it on the T460... or just wait for a patch. Thanks for reading this!
Graphic designer loving the linux tools


Re: Login to Wayland failing

Reply #2
Intel i5-i7 (T460 has i7) w/ integrated GPU (so Intel). There's 2 other users in the Reddit thread I linked that have my issue, I'm not sure what GPU they have but one of them had issues with Dinit it seems, tho I asked them for clarification.

Also in case this matters, I did Offline install of the KDE-Plasma OpenRC .iso from the Stable Iso images (no mirrors or tested .iso)
Graphic designer loving the linux tools

Re: Login to Wayland failing

Reply #3
What is the output of: pacman -Q|grep 'intel\|mesa'

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons

Re: Login to Wayland failing

Reply #4
Here's the output:

pacman -Q | grep 'intel\|mesa'

intel-ucode 20241112-1
libva-intel-driver 2.4.1-3
mesa 1:24.3.3-2
mesa-utils 9.0.0-5
vulkan-intel 1:24.3.3-2
xf86-video-intel 1:2.99.917+923+gb74b67f0-2.2
Graphic designer loving the linux tools

Re: Login to Wayland failing

Reply #5
The xf86-video-intel package should maybe not be present as per https://wiki.archlinux.org/title/Intel_graphics#Installation

To see what the error is, stop and disable the DM service and run start kde from the console.

artist
Linux is simple; use Artix, or Submit Your System To Evil Malicious D(a)emons