1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="kde-core-config" xreflabel="Starting KDE">
|
---|
9 | <?dbhtml filename="config.html"?>
|
---|
10 |
|
---|
11 | <sect1info>
|
---|
12 | <othername>$LastChangedBy$</othername>
|
---|
13 | <date>$Date$</date>
|
---|
14 | </sect1info>
|
---|
15 |
|
---|
16 | <title>Starting KDE</title>
|
---|
17 |
|
---|
18 | <bridgehead renderas="sect3">KDE Startup Dependencies</bridgehead>
|
---|
19 |
|
---|
20 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
21 | <para role="optional">
|
---|
22 | <xref linkend="dbus"/> (runtime)
|
---|
23 | </para>
|
---|
24 |
|
---|
25 | <para>After <application>Kde-workspace</application> has been installed, the
|
---|
26 | first important milestone has been reached. Now you need to configure your
|
---|
27 | system to start KDE.</para>
|
---|
28 |
|
---|
29 | <sect2 role="content">
|
---|
30 | <title>Starting KDE from the command prompt</title>
|
---|
31 |
|
---|
32 | <para>To start <application>KDE</application> from the command prompt, you
|
---|
33 | first need to modify your <filename>.xinitrc</filename> file:</para>
|
---|
34 |
|
---|
35 | <screen><userinput>cat > ~/.xinitrc << EOF
|
---|
36 | <literal># Begin .xinitrc
|
---|
37 |
|
---|
38 | exec dbus-launch --exit-with-session startkde
|
---|
39 |
|
---|
40 | # End .xinitrc</literal>
|
---|
41 | EOF</userinput></screen>
|
---|
42 |
|
---|
43 | <para>You can now start KDE using the <command>startx</command> command.</para>
|
---|
44 |
|
---|
45 | </sect2>
|
---|
46 |
|
---|
47 | <sect2 role="content">
|
---|
48 | <title>Starting KDE at boot</title>
|
---|
49 |
|
---|
50 | <para>KDE comes with a graphical login interface called KDM (the KDE Display
|
---|
51 | Manager), which provides a customizable graphical login at boot. To use KDM,
|
---|
52 | you need to create and enable a systemd unit by running the following commands
|
---|
53 | as the <systemitem class="username">root</systemitem> user:</para>
|
---|
54 |
|
---|
55 | <screen role="root"><userinput>cat > /lib/systemd/system/kdm.service << EOF &&
|
---|
56 | <literal>[Unit]
|
---|
57 | Description=K Display Manager
|
---|
58 | After=systemd-user-sessions.service
|
---|
59 |
|
---|
60 | [Service]
|
---|
61 | ExecStart=&kde-dir;/bin/kdm -nodaemon
|
---|
62 |
|
---|
63 | [Install]
|
---|
64 | Alias=display-manager.service</literal>
|
---|
65 | EOF
|
---|
66 | systemctl enable kdm</userinput></screen>
|
---|
67 |
|
---|
68 | <para>You can now restart your system and see the KDE login
|
---|
69 | screen.</para>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2 role="content">
|
---|
74 | <title>Installing further KDE packages</title>
|
---|
75 | <para>Every subsequent package can be built while having <application>KDE</application> up and
|
---|
76 | running, but remember to keep <envar>&kde-dir;</envar> set.</para>
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | </sect1>
|
---|