I just happened to reinstall my system from scratch last week. And I made sure that Xorg was installed and selected under Settings > SDDM > Behaviour, because I remember this now being a choice due to this issue I had, where Xorg had been deleted from my 2 long-term set-up’s and I had to reinstall Xorg.
Issue
I was actually going to say that KDE had changed Xorg to Wayland on reboot, but after a screenshot, I can see that Xorg has been deleted again upon update or reboot.
So, I opened another thread with them, because I thought it was a slightly different issue, but it is not and that’s when a KDE developer told me to check with Manjaro. Also, I remember that I had another thread for this here in Manjaro, so I am just now going back and forth between the two forums and the issue keeps resurfacing.
Environment
I am in the testing branch
Manjaro 25.1.0
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.1.158-2-MANJARO (64-bit)
Since Plasma 6.4 the wayland session will be the only one installed when the users does not manually specify kwin-x11.
With the split of kwin into kwin-wayland and kwin-x11, users running the old X11 session needs to manually install plasma-x11-session, or they will not be able to login. Currently pacman is not able to figure out your personal setup, and it wouldn’t be ok to install plasma-x11-session and kwin-x11 for every one using Plasma.
tldr: Install plasma-x11-session if you are still using x11
X11 is no longer installed by default for new installs. An update shouldn’t remove valid packages unless there’s a conflict.
But this new install with the latest KDE ISO downloaded from the Manjaro site about a week ago had Xorg installed in it and it has been deleted after a reboot today.
Again, I checked after the fresh system install, because I use Xorg and it was there. And now, it has been uninstalled as you can see in the screenshot. This is not the first time that I am running into this issue.
Nope - nothing has been uninstalled - the ability to run an x11 session was part of Plasma session but has been removed by upstream KDE Plasma.
On Plasma 6.4 the wayland session will be the only one installed when the users does not manually specify kwin-x11.
With the recent split of kwin into kwin-wayland and kwin-x11, users running the old X11 session needs to manually install plasma-x11-session, or they will not be able to login. Currently pacman is not able to figure out your personal setup, and it wouldn’t be ok to install plasma-x11-session and kwin-x11 for every one using Plasma.
tldr: Install plasma-x11-session if you are still using x11
What you see is a consequence of changes in Plasma - and when you switch branch from stable to testing - you jump from Plasma 6.3.6 to Plasma 6.5.3 - there fore you are affected and you must manually install the x11-session
Alright, but it was already installed. I checked right after installing the system, because I need it for my set-up and I know that this was now a choice and it had already disappeared once from two systems. So, this is now the third time that moving plasma versions has uninstalled plasma-x11-session.
The only time you will experience the removal of the session option in sddm for launching an x11 session, is when you switch from stable to testing.
I think you confuse the option in sddm with the actual package - because a package explicitly installed by the user will not get removed on updates.
Plasma used to provide a launcher in /usr/share/xsessions and that launcher was part of a plasma package so it will be removed when that package is upgraded.
@Centaro it is simple. With Plasma release 6.4 the X11 files got split out. So if you regular update your system from 6.3 series, which still shipped the files in kwin and plasma-session packages and you didn’t install plasma-x11-session, which is a new package the X11 session won’t be available. Upstream Arch decided not to provide meta packages which would also install those new split packages.
New ISOs will provide Wayland only Plasma with 25.1 release of Manjaro Linux. Same goes for the GNOME edition. Only XFCE will default to X11 still and will ship it on the upcoming release of Manjaro.
sudo pacman -Syu plasma-x11-session
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
error: target not found: plasma-x11-session
It seems to be in the AUR only, but which one is the correct choice (if at all)?
OK - that is understandable - just to be crystal clear
Given the reference to Arch Linux announcement and
I thought I made it very clear, the x11 session launcher is default present on stable but removed on testing (/usr/share/xsessions/plasma.desktop) because the plasma-workspace package no longer provides the launcher.
a package explicitly installed by the user will not get removed on updates.
This is what confused me, as x11 was never removed for me… this could be answered with pacman -Qi plasma-x11-session… as mine is explicit, it remained.