Starting KDE

KDE Startup Dependencies


D-Bus (runtime)

After Kde-workspace has been installed, the first important milestone has been reached. Now you need to configure your system to start KDE.

Starting KDE from the command prompt

To start KDE from the command prompt, you first need to modify your .xinitrc file:

cat > ~/.xinitrc << EOF
# Begin .xinitrc

exec dbus-launch --exit-with-session startkde

# End .xinitrc

You can now start KDE using the startx command.

Starting KDE at boot

KDE comes with a graphical login interface called KDM (the KDE Display Manager), which provides a customizable graphical login at boot. To use KDM, you need to install the systemd unit from the blfs-systemd-units-20140720 package by running the following command as the root user:

make install-kdm


The systemd unit assumes that kdm is installed in /usr/bin. If your $KDE_PREFIX is different than /usr, create a symlink to get the systemd unit to work properly by running the following command as the root user:

ln -sfv $KDE_PREFIX/bin/kdm /usr/bin/kdm

You can now restart your system and see the KDE login screen.

Installing further KDE packages

Every subsequent package can be built while having KDE up and running, but remember to keep $KDE_PREFIX set.

Last updated on 2014-07-24 14:48:58 +0000