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 install the systemd unit from the <xref linkend="bootscripts"/>
|
---|
53 | package by running the following command as the
|
---|
54 | <systemitem class="username">root</systemitem> user:</para>
|
---|
55 |
|
---|
56 | <screen role="root"><userinput>make install-kdm</userinput></screen>
|
---|
57 |
|
---|
58 | <note>
|
---|
59 | <para>
|
---|
60 | The systemd unit assumes that <command>kdm</command> is installed
|
---|
61 | in <filename class="directory">/usr/bin</filename>. If your &kde-dir;
|
---|
62 | is different than <filename class="directory">/usr</filename>,
|
---|
63 | create a symlink to get the systemd unit to work properly by
|
---|
64 | running the following command as the
|
---|
65 | <systemitem class="username">root</systemitem> user:
|
---|
66 |
|
---|
67 | <screen role="root"><userinput>ln -sfv &kde-dir;/bin/kdm /usr/bin/kdm</userinput></screen>
|
---|
68 | </para>
|
---|
69 | </note>
|
---|
70 |
|
---|
71 | <para>You can now restart your system and see the KDE login
|
---|
72 | screen.</para>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2 role="content">
|
---|
77 | <title>Installing further KDE packages</title>
|
---|
78 | <para>Every subsequent package can be built while having <application>KDE</application> up and
|
---|
79 | running, but remember to keep <envar>&kde-dir;</envar> set.</para>
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | </sect1>
|
---|