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-launch"/> (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 ck-launch-session dbus-launch --exit-with-session startkde
|
---|
39 |
|
---|
40 | # End .xinitrc</literal>
|
---|
41 | EOF</userinput></screen>
|
---|
42 |
|
---|
43 | <note><para>If you are not using <application>ConsoleKit</application>, remove
|
---|
44 | <userinput>ck-launch-session</userinput>.</para></note>
|
---|
45 |
|
---|
46 | <para>You can now start KDE using the <command>startx</command> command.</para>
|
---|
47 |
|
---|
48 | </sect2>
|
---|
49 |
|
---|
50 | <sect2 role="content">
|
---|
51 | <title>Starting KDE at boot</title>
|
---|
52 |
|
---|
53 | <para>KDE comes with a graphical login interface called KDM (the KDE Display
|
---|
54 | Manager), which provides a customizable graphical login at boot. To use KDM,
|
---|
55 | you need to edit your <filename>/etc/inittab</filename> file (as the
|
---|
56 | <systemitem class="username">root</systemitem> user).
|
---|
57 | First, setup run-level 5 to start KDM (adjust
|
---|
58 | the path to kdm according to your system):</para>
|
---|
59 |
|
---|
60 | <screen><userinput>cat >> /etc/inittab << EOF
|
---|
61 | <literal>kd:5:respawn:/opt/kde/bin/kdm</literal>
|
---|
62 | EOF</userinput></screen>
|
---|
63 |
|
---|
64 | <para>Additionally, you need to change the default run-level from 3 to 5:</para>
|
---|
65 |
|
---|
66 | <screen><userinput>sed -i 's#id:3:initdefault:#id:5:initdefault:#' /etc/inittab</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> and <envar>&qt4-dir;</envar> set.</para>
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | </sect1>
|
---|