source: kde5/plasma/sddm.xml@ 94b4def9

systemd-13485
Last change on this file since 94b4def9 was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

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

  • Property mode set to 100644
File size: 7.5 KB
Line 
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="sddm" xreflabel="SDDM-&sddm-version;">
9 <?dbhtml filename="sddm.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy: krejzi $</othername>
13 <date>$Date: 2014-11-01 12:26:04 +0100 (Sat, 01 Nov 2014) $</date>
14 </sect1info>
15
16 <title>SDDM-&sddm-version;</title>
17
18 <indexterm zone="sddm">
19 <primary sortas="a-SDDM">SDDM</primary>
20 </indexterm>
21
22 <sect2 role="package">
23 <title>Introduction to SDDM</title>
24
25 <para>
26 The <application>SDDM</application> package contains a lightweight
27 display manager written in <application>Qt</application> and QML.
28 </para>
29
30 &lfs77_checked;
31
32 <bridgehead renderas="sect3">Package Information</bridgehead>
33 <itemizedlist spacing="compact">
34 <listitem>
35 <para>
36 Download (HTTP): <ulink url="&sddm-download-http;"/>
37 </para>
38 </listitem>
39 <listitem>
40 <para>
41 Download (FTP): <ulink url="&sddm-download-ftp;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download MD5 sum: &sddm-md5sum;
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download size: &sddm-size;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Estimated disk space required: &sddm-buildsize;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated build time: &sddm-time;
62 </para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">SDDM Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
69 <para role="required">
70 <xref linkend="cmake"/> and
71 <xref linkend="qt5"/>
72 </para>
73
74 <bridgehead renderas="sect4">Recommended</bridgehead>
75 <para role="recommended">
76 <xref linkend="linux-pam"/>
77 </para>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional">
81 <ulink url="http://sourceforge.net/projects/docutils/">Docutils</ulink>
82 </para>
83
84 <bridgehead renderas="sect4">Runtime Dependencies</bridgehead>
85 <para role="required">
86 <xref linkend="systemd"/>
87 </para>
88
89 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/sddm"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of SDDM</title>
96
97 <para>
98 It is recommended to have a dedicated user and group to take
99 control of the <command>sddm</command> daemon after it is
100 started. Issue the following commands as the
101 <systemitem class="username">root</systemitem> user:
102 </para>
103
104<screen role="root"><userinput>groupadd -g 64 sddm &amp;&amp;
105useradd -c "SDDM Daemon Owner" -d /var/lib/sddm -u 64 \
106 -g sddm -s /bin/false sddm</userinput></screen>
107
108 <para>
109 Install <application>SDDM</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>mkdir build &amp;&amp;
114cd build &amp;&amp;
115
116cmake -DCMAKE_INSTALL_PREFIX=/usr \
117 -DCMAKE_BUILD_TYPE=Release \
118 .. &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 This package does not come with a test suite.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install &amp;&amp;
130install -v -dm755 -o sddm -g sddm /var/lib/sddm</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/cmake-release.xml"/>
139
140 </sect2>
141
142 <sect2 role="configuration">
143 <title>Configuring SDDM</title>
144
145 <sect3>
146 <title>Linux PAM Configuration</title>
147
148 <para>
149 If you have built <application>SDDM</application>
150 with <application>Linux PAM</application> support,
151 create the necessary configuration files by running
152 the following commands as the <systemitem
153 class="username">root</systemitem> user:
154 </para>
155
156<screen role="root"><userinput>cat &gt; /etc/pam.d/sddm &lt;&lt; "EOF" &amp;&amp;
157<literal># Begin /etc/pam.d/sddm
158
159auth requisite pam_nologin.so
160auth required pam_env.so
161
162auth required pam_succeed_if.so uid &gt;= 1000 quiet
163auth include system-auth
164
165account include system-account
166password include system-password
167
168session required pam_limits.so
169session include system-session
170
171# End /etc/pam.d/sddm</literal>
172EOF
173cat &gt; /etc/pam.d/sddm-autologin &lt;&lt; "EOF" &amp;&amp;
174<literal># Begin /etc/pam.d/sddm-autologin
175
176auth requisite pam_nologin.so
177auth required pam_env.so
178
179auth required pam_succeed_if.so uid &gt;= 1000 quiet
180auth required pam_permit.so
181
182account include system-account
183
184password required pam_deny.so
185
186session required pam_limits.so
187session include system-session
188
189# End /etc/pam.d/sddm-autologin</literal>
190EOF
191cat &gt; /etc/pam.d/sddm-greeter &lt;&lt; "EOF"
192<literal># Begin /etc/pam.d/sddm-greeter
193
194auth required pam_env.so
195auth required pam_permit.so
196
197account required pam_permit.so
198password required pam_deny.so
199session required pam_unix.so
200-session optional pam_systemd.so
201
202# End /etc/pam.d/sddm-greeter</literal>
203EOF</userinput></screen>
204
205 </sect3>
206
207 <sect3 id="sddm-init">
208 <title>Systemd Units</title>
209
210 <para>
211 To start the <command>sddm</command> daemon at boot, enable
212 the previously installed systemd unit by running the following command
213 as the <systemitem class="username">root</systemitem> user:
214 </para>
215
216 <indexterm zone="sddm sddm-init">
217 <primary sortas="f-sddm">sddm</primary>
218 </indexterm>
219
220<screen role="root"><userinput>systemctl enable sddm</userinput></screen>
221
222 </sect3>
223
224 </sect2>
225
226 <sect2 role="content">
227 <title>Contents</title>
228
229 <segmentedlist>
230 <segtitle>Installed Programs</segtitle>
231 <segtitle>Installed Libraries</segtitle>
232 <segtitle>Installed Directories</segtitle>
233
234 <seglistitem>
235 <seg>
236 sddm and sddm-greeter
237 </seg>
238 <seg>
239 None
240 </seg>
241 <seg>
242 $QT5DIR/lib/qt5/qml/SddmComponents,
243 /usr/share/sddm and
244 /var/lib/sddm
245 </seg>
246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="sddm-prog">
255 <term><command>sddm</command></term>
256 <listitem>
257 <para>
258 is a display and login manager based on
259 <application>Qt</application> technologies.
260 </para>
261 <indexterm zone="sddm sddm-prog">
262 <primary sortas="b-sddm">sddm</primary>
263 </indexterm>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry id="sddm-greeter">
268 <term><command>sddm-greeter</command></term>
269 <listitem>
270 <para>
271 is an auxiliary process that displays the greeter,
272 a graphical user interface to perform the
273 authentication and select the session to run.
274 </para>
275 <indexterm zone="sddm sddm-greeter">
276 <primary sortas="b-sddm-greeter">sddm-greeter</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 </variablelist>
282
283 </sect2>
284
285</sect1>
Note: See TracBrowser for help on using the repository browser.