⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

start_kde_session

Function start_kde_session 

Source
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

  1. Initialize desktop subsystem (Wayland, fonts, etc.)
  2. Disable fbcon output (KWin will drive the framebuffer)
  3. Launch KDE init script via load_user_program
  4. Wait for the process to complete (blocks kernel thread)
  5. Restore fbcon on return

If the process exits too quickly, falls back to built-in DE.