Changeset ebf2e95


Ignore:
Timestamp:
07/20/2014 02:40:07 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
systemd-11177
Children:
6bc9f48
Parents:
abf6e26b
Message:

Finish KDE systemd integration.

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

Location:
kde/core
Files:
1 edited
1 moved

Legend:

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

    rabf6e26b rebf2e95  
    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 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>
    5955
    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>
     56<screen role="root"><userinput>make install-kdm</userinput></screen>
    6357
    64     <para>Additionally, you need to change the default run-level from 3 to 5:</para>
     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:
    6566
    66 <screen><userinput>sed -i 's#id:3:initdefault:#id:5:initdefault:#' /etc/inittab</userinput></screen>
     67<screen role="root"><userinput>ln -sfv &kde-dir;/bin/kdm /usr/bin/kdm</userinput></screen>
     68      </para>
     69    </note>
    6770
    6871    <para>You can now restart your system and see the KDE login
  • kde/core/core.xml

    rabf6e26b rebf2e95  
    3939  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kde-base-artwork.xml"/>
    4040  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kde-workspace-systemd.xml"/>
    41   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="config.xml"/>
     41  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="config-systemd.xml"/>
    4242
    4343</chapter>
Note: See TracChangeset for help on using the changeset viewer.