Ignore:
Timestamp:
10/28/2014 08:29:21 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
44ed64ac
Parents:
70eab9cd
Message:

Updates to kde core section.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kde/core/config-systemd.xml

    r70eab9cd rdbdc2d7  
    3636<literal># Begin .xinitrc
    3737
    38 exec ck-launch-session dbus-launch --exit-with-session startkde
     38exec dbus-launch --exit-with-session startkde
    3939
    4040# End .xinitrc</literal>
    4141EOF</userinput></screen>
    42 
    43     <note><para>If you are not using <application>ConsoleKit</application>, remove
    44     <userinput>ck-launch-session</userinput>.</para></note>
    4542
    4643    <para>You can now start KDE using the <command>startx</command> command.</para>
     
    5350    <para>KDE comes with a graphical login interface called KDM (the KDE Display
    5451    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>
     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>
    5954
    60 <screen><userinput>cat &gt;&gt; /etc/inittab &lt;&lt; EOF
    61 <literal>kd:5:respawn:/opt/kde/bin/kdm</literal>
    62 EOF</userinput></screen>
     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
    6359
    64     <para>Additionally, you need to change the default run-level from 3 to 5:</para>
     60[Service]
     61ExecStart=&kde-dir;/bin/kdm -nodaemon
    6562
    66 <screen><userinput>sed -i 's#id:3:initdefault:#id:5:initdefault:#' /etc/inittab</userinput></screen>
     63[Install]
     64Alias=display-manager.service</literal>
     65EOF
     66systemctl enable kdm</userinput></screen>
    6767
    6868    <para>You can now restart your system and see the KDE login
     
    8888    <para>Every subsequent package can be built while having
    8989    <application>KDE</application> up and running, but remember to keep
    90     <envar>&kde-dir;</envar> and <envar>&qt4-dir;</envar> set.</para>
     90    <envar>&kde-dir;</envar> set.</para>
    9191
    9292  </sect2>
Note: See TracChangeset for help on using the changeset viewer.