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$</othername>
|
---|
13 | <date>$Date$</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 &&
|
---|
105 | useradd -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 &&
|
---|
114 | cd build &&
|
---|
115 |
|
---|
116 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
117 | -DCMAKE_BUILD_TYPE=Release \
|
---|
118 | .. &&
|
---|
119 | make</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 &&
|
---|
130 | install -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 > /etc/pam.d/sddm << "EOF" &&
|
---|
157 | <literal># Begin /etc/pam.d/sddm
|
---|
158 |
|
---|
159 | auth requisite pam_nologin.so
|
---|
160 | auth required pam_env.so
|
---|
161 |
|
---|
162 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
163 | auth include system-auth
|
---|
164 |
|
---|
165 | account include system-account
|
---|
166 | password include system-password
|
---|
167 |
|
---|
168 | session required pam_limits.so
|
---|
169 | session include system-session
|
---|
170 |
|
---|
171 | # End /etc/pam.d/sddm</literal>
|
---|
172 | EOF
|
---|
173 | cat > /etc/pam.d/sddm-autologin << "EOF" &&
|
---|
174 | <literal># Begin /etc/pam.d/sddm-autologin
|
---|
175 |
|
---|
176 | auth requisite pam_nologin.so
|
---|
177 | auth required pam_env.so
|
---|
178 |
|
---|
179 | auth required pam_succeed_if.so uid >= 1000 quiet
|
---|
180 | auth required pam_permit.so
|
---|
181 |
|
---|
182 | account include system-account
|
---|
183 |
|
---|
184 | password required pam_deny.so
|
---|
185 |
|
---|
186 | session required pam_limits.so
|
---|
187 | session include system-session
|
---|
188 |
|
---|
189 | # End /etc/pam.d/sddm-autologin</literal>
|
---|
190 | EOF
|
---|
191 | cat > /etc/pam.d/sddm-greeter << "EOF"
|
---|
192 | <literal># Begin /etc/pam.d/sddm-greeter
|
---|
193 |
|
---|
194 | auth required pam_env.so
|
---|
195 | auth required pam_permit.so
|
---|
196 |
|
---|
197 | account required pam_permit.so
|
---|
198 | password required pam_deny.so
|
---|
199 | session required pam_unix.so
|
---|
200 | -session optional pam_systemd.so
|
---|
201 |
|
---|
202 | # End /etc/pam.d/sddm-greeter</literal>
|
---|
203 | EOF</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>
|
---|