source: kde/core/config-systemd.xml@ fd18bfb

kde5-14686 systemd-13485
Last change on this file since fd18bfb was a939ab2a, checked in by Krejzi <krejzi@…>, 10 years ago

Checks and fixes to kde packages.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@14040 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[d275f967]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
[c9df31a]8<sect1 id="kde-core-config" xreflabel="Starting KDE">
[d275f967]9 <?dbhtml filename="config.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
[c9df31a]16 <title>Starting KDE</title>
[0d7900a]17
[de1a0d9]18 <bridgehead renderas="sect3">KDE Startup Dependencies</bridgehead>
19
20 <bridgehead renderas="sect4">Optional</bridgehead>
21 <para role="optional">
[4e349b9]22 <xref linkend="dbus"/> (runtime)
[de1a0d9]23 </para>
24
[0d7900a]25 <para>After <application>Kde-workspace</application> has been installed, the
26 first important milestone has been reached. Now you need to configure your
[c9df31a]27 system to start KDE.</para>
[0d7900a]28
[d275f967]29 <sect2 role="content">
[c9df31a]30 <title>Starting KDE from the command prompt</title>
[d275f967]31
[0d7900a]32 <para>To start <application>KDE</application> from the command prompt, you
[d275f967]33 first need to modify your <filename>.xinitrc</filename> file:</para>
[0d7900a]34
[2a7334e8]35<screen><userinput>cat &gt; ~/.xinitrc &lt;&lt; EOF
36<literal># Begin .xinitrc
[d275f967]37
[3452097f]38exec dbus-launch --exit-with-session startkde
[d275f967]39
[2a7334e8]40# End .xinitrc</literal>
[d275f967]41EOF</userinput></screen>
42
[c9df31a]43 <para>You can now start KDE using the <command>startx</command> command.</para>
[0d7900a]44
[d275f967]45 </sect2>
[0d7900a]46
[d275f967]47 <sect2 role="content">
[c9df31a]48 <title>Starting KDE at boot</title>
[0d7900a]49
50 <para>KDE comes with a graphical login interface called KDM (the KDE Display
[2a7334e8]51 Manager), which provides a customizable graphical login at boot. To use KDM,
[a939ab2a]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 &gt; /lib/systemd/system/kdm.service &lt;&lt; EOF &amp;&amp;
56<literal>[Unit]
57Description=K Display Manager
58After=systemd-user-sessions.service
59
60[Service]
61ExecStart=&kde-dir;/bin/kdm -nodaemon
62
63[Install]
64Alias=display-manager.service</literal>
65EOF
66systemctl enable kdm</userinput></screen>
[d275f967]67
[2a7334e8]68 <para>You can now restart your system and see the KDE login
[d275f967]69 screen.</para>
[0d7900a]70
[d275f967]71 </sect2>
[0d7900a]72
[d275f967]73 <sect2 role="content">
[c9df31a]74 <title>Installing further KDE packages</title>
[0d7900a]75 <para>Every subsequent package can be built while having <application>KDE</application> up and
[23f5584]76 running, but remember to keep <envar>&kde-dir;</envar> set.</para>
[d275f967]77 </sect2>
[0d7900a]78
[de1a0d9]79</sect1>
Note: See TracBrowser for help on using the repository browser.