Once I have built the essential components of KDE Plasma (kinit, kwin, dolphin, plasma-framework, plasma-desktop, etc) and put the result in /opt/kde, I can see it’s not sufficient to actually start the session.
I’ve set the following environment variables at system level:
Yes, I apologize for omitting the details in my first post.
Basically, my objective is to -starting from an ‘empty’ Debian machine without GUI at installation- build the latest stable version of KDE Plasma 5 from the source code for personal use.
I haven’t tried to run the install-sessions.sh… I didn’t know it was required. I’ll try tomorrow, is it the only script to run after installation or are they more?
I tried to provide the maximum details I could of my workflow, don’t hesitate to tell me if you need more.
Here are every step I went so far :
I install Debian 12 Bookworm on my machine, with no desktop environment.
I install git, cmake, build-essential, qtbase5-dev and other dependencies for the build (the list is a bit long but I can provide it).
I clone kdesrc-build from the standard repository, and put it in ~/kde/src/.
I skip the --initial-setup because I already wrote a list of dependencies as well as my kdesrc-buildrc file (same, I can provide it). The install prefix is set to /opt/kde.
I run kdesrc-build --rc-file=(rc file) --metadata-only
I run kdesrc-build --rc-file=(rc file) --src-only (packages), supplying the list of projects I want to build (I provided the list below).
I run kdesrc-build --rc-file=(rc file) --no-src (packages), supplying the same list of projects.
I put the mentionned environment variables in /etc/environment (maybe here lies my mistake…)
I install SDDM, configured to use the correct xsessions and wayland-sessions files in the installed location (here, /opt/kde/share/…).
I reboot my machine.
I Log in a X11 session.
I’m welcomed by a black screen, the Plasma loading screen is not showing, and my cursor is a cross…
The only logs I could find, in~/.xsession-errors :
Xsession: X session started for rubis at jeu. 11 mai 2023 18:58:46 CEST
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/rubis/.Xauthority
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
org.kde.startup: "kapplymousetheme" ("breeze_cursors", "24") exited with code 255
QIODevice::read (QFile, "/home/rubis/.config/kdedefaults/package"): device not open
kf.package: Invalid metadata for package structure "Plasma/LookAndFeel"
"applications.menu" not found in ()
org.kde.startup: "xsetroot" ("-cursor_name", "left_ptr") exited with code 255
The list of KDE projects I want to build :
I must mention that include-dependencies true is set in kdesrc-buildrc, so every projects in-between are also built.
I vote that you self help. By installing Debian 12 with KDE Plasma. Setting up kdesrc-build. Get Involved/development - KDE Community Wiki And logging into the KDE Plasma 5 session built using kdesrc-build. After you finish this, test it for a couple of weeks. Then get back with questions.
I did build all the packages mentionned in the Get Involved manual, and alas I’m still getting the black screen after logging in an X11 question… the only difference now is that the cursor is displaying well…
Hmm, I hoped it was as easy as a not installed xorg server
The packages on my distro are differently named, so I can’t even tell if you are missing anything.
One thing that could help: If you use systemd, post (or read) your journald.
The easiest way is probably(like the others said):
Use a regular Debian install and follow the Get Involved instructions. If that works:
Use a regular Debian install but this time install your stuff in /opt/kde (or wherever you want it)
If that works, save the list of installed packages.
Do it like you originally wanted (no gui debian, with your stuff in /opt/kde, or whatever you wanted)
Check the installed packaged list from step 2 to figure out whats missing.