- Timestamp:
- 07/20/2014 02:40:07 PM (10 years ago)
- Branches:
- systemd-11177
- Children:
- 6bc9f487
- Parents:
- abf6e26b
- Location:
- kde/core
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kde/core/config-systemd.xml
rabf6e26b rebf2e95 36 36 <literal># Begin .xinitrc 37 37 38 exec ck-launch-sessiondbus-launch --exit-with-session startkde38 exec dbus-launch --exit-with-session startkde 39 39 40 40 # End .xinitrc</literal> 41 41 EOF</userinput></screen> 42 43 <note><para>If you are not using <application>ConsoleKit</application>, remove44 <userinput>ck-launch-session</userinput>.</para></note>45 42 46 43 <para>You can now start KDE using the <command>startx</command> command.</para> … … 53 50 <para>KDE comes with a graphical login interface called KDM (the KDE Display 54 51 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> 59 55 60 <screen><userinput>cat >> /etc/inittab << 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> 63 57 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: 65 66 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> 67 70 68 71 <para>You can now restart your system and see the KDE login -
kde/core/core.xml
rabf6e26b rebf2e95 39 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kde-base-artwork.xml"/> 40 40 <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"/> 42 42 43 43 </chapter>
Note:
See TracChangeset
for help on using the changeset viewer.