pub fn start_kde_session()Expand description
Start a KDE Plasma 6 session.
This function blocks until the KDE session ends (user logout) or KDE fails to start. On failure, it falls back to the built-in DE.
§Flow
- Initialize desktop subsystem (Wayland, fonts, etc.)
- Disable fbcon output (KWin will drive the framebuffer)
- Launch KDE init script via
load_user_program - Wait for the process to complete (blocks kernel thread)
- Restore fbcon on return
If the process exits too quickly, falls back to built-in DE.