Changeset 52250565
- Timestamp:
- 10/06/2020 12:16:17 PM (4 years ago)
- Branches:
- 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6d44b69
- Parents:
- a6b95b9d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
ra6b95b9d r52250565 1 1 <!-- $LastChangedBy$ $Date$ --> 2 2 3 <!ENTITY day "0 5"> <!-- Always 2 digits -->3 <!ENTITY day "06"> <!-- Always 2 digits --> 4 4 <!ENTITY month "10"> <!-- Always 2 digits --> 5 5 <!ENTITY year "2020"> … … 7 7 <!ENTITY copyholder "The BLFS Development Team"> 8 8 <!ENTITY version "&year;-&month;-&day;"> 9 <!ENTITY releasedate "October 5th, &year;">9 <!ENTITY releasedate "October 6th, &year;"> 10 10 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 11 11 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> -
gnome/platform/gdm.xml
ra6b95b9d r52250565 128 128 passwd -ql gdm</userinput></screen> 129 129 130 <!--131 <note revision="sysv">132 <para>133 The <application>gdm</application> login screen is managed by134 <application>gnome-shell</application>, which relies on the135 <command>systemd-localed</command> daemon to get the system136 settings. Since this daemon is not present on this system, a137 <command>sed</command> is applied in the <xref138 linkend="gnome-shell"/> instructions to change this behavior,139 but then <application>gdm</application> uses the system settings,140 which default to a US <quote>qwerty</quote> keyboard layout. This may141 be an inconvience to enter a password when the machine keyboard142 has a different layout. One possibility is to use the screen-keyboard143 from the accessibility menu. Another possibility is to change the144 defaults at compile time, by creating the following file:145 </para>146 147 <screen><userinput>cat > data/dconf/defaults/01-keyboard << EOF148 <literal>[org/gnome/desktop/input-sources]149 sources=[('xkb','<replaceable>layout</replaceable>')]</literal>150 EOF</userinput></screen>151 152 <para>153 where <replaceable>layout</replaceable> should be replaced with154 the acronym for your keyboard layout (one of the filenames in155 <filename class="directory">/usr/share/X11/xkb/symbols</filename>).156 </para>157 </note>158 -->159 130 <para> 160 131 Install <application>GDM</application> by running the following … … 270 241 271 242 <para revision="sysv"> 272 To start the <command>gdm</command> automatically when the system 273 is booted, install the <filename>/etc/rc.d/init.d/gdm</filename> 274 init script included in the <xref linkend="bootscripts"/> package and 275 set the default runlevel to 5 (graphical login) as the 276 <systemitem class="username">root</systemitem> user: 277 </para> 278 279 <para revision="systemd"> 280 To start the <command>gdm</command> daemon at boot, enable 281 the previously installed systemd unit by running the following command 243 To start <command>gdm</command> automatically when the system is 244 switched to runlevel 5, install the 245 <filename>/etc/rc.d/init.d/xdm</filename> script and the 246 <filename>/etc/sysconfig/xdm</filename> configuration file 247 included in the <xref linkend="bootscripts"/> package 248 and adjust <filename>/etc/inittab</filename> by running 282 249 as the <systemitem class="username">root</systemitem> user: 283 250 </para> … … 294 261 <screen role="root" revision="sysv"><userinput>sed /initdefault/s/3/5/ -i /etc/inittab</userinput></screen> 295 262 263 <para revision="systemd"> 264 To start the <command>gdm</command> daemon at boot, enable 265 the previously installed systemd unit by running the following command 266 as the <systemitem class="username">root</systemitem> user: 267 </para> 268 269 <screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen> 270 271 <!-- [pierre October 2020] I don't understand why this is here: power 272 management works perfectly well 296 273 <para revision="sysv"> 297 274 You should also disable default elogind power management: … … 302 279 AllowHibernation=no</literal> 303 280 EOF</userinput></screen> 304 305 <screen role="root" revision="systemd"><userinput>systemctl enable gdm</userinput></screen> 281 --> 306 282 307 283 </sect3> -
x/dm/lightdm.xml
ra6b95b9d r52250565 310 310 <phrase revision="systemd">Systemd Unit</phrase></title> 311 311 312 <para revision="sysv">313 Install the <filename revision="sysv">/etc/rc.d/init.d/lightdm</filename>314 init script from the <xref linkend="bootscripts"/>315 </para>316 317 <screen role="root" revision="sysv"><userinput>make install-lightdm</userinput></screen>318 312 <indexterm zone="lightdm lightdm-bootscript"> 319 313 <primary sortas="f-lightdm">lightdm</primary> 320 314 </indexterm> 321 315 316 <para revision="sysv"> 317 To start <command>lightdm</command> automatically when the system is 318 switched to runlevel 5, install the 319 <filename>/etc/rc.d/init.d/xdm</filename> script and the 320 <filename>/etc/sysconfig/xdm</filename> configuration file 321 included in the <xref linkend="bootscripts"/> package 322 and adjust <filename>/etc/inittab</filename> by running 323 as the <systemitem class="username">root</systemitem> user: 324 </para> 325 326 <screen role="root" revision="sysv"><userinput>make install-lightdm</userinput></screen> 327 322 328 <para revision="systemd"> 323 329 Install and enable the systemd unit. From the … … 334 340 335 341 <para> 336 If the lightdm bootscript has been installed, start lightdm by running, as the 337 <systemitem class="username">root</systemitem> user: 338 </para> 339 340 <screen role="root"><userinput>/etc/rc.d/init.d/lightdm start</userinput></screen> 342 The <command>lightdm</command> greeter can be started from the 343 command line as the <systemitem class="username">root</systemitem> 344 user: 345 </para> 346 347 <screen role="root"><userinput>telinit 5</userinput></screen> 341 348 342 349 <para> 343 By convention, X should be executed at runlevel 5, consequently, the 344 same is true for <application>lightdm</application>. However, LFS default 345 runlevel is 3. Changing to runlevel 5, from a console terminal, as 346 <systemitem class="username">root</systemitem> user, starts the 347 <command>lightdm</command> bootscript, bringing up the greeter screen: 348 </para> 349 350 <screen role="root"><userinput>init 5</userinput></screen> 351 352 <para> 353 In order to permanently set the default to 5, starting the 354 <command>lightdm</command> greeter screen automatically, modify 350 Alternatively the runlevel can be permanently set to 5, starting the 351 <command>lightdm</command> greeter screen automatically, by modifying 355 352 <filename>/etc/inittab</filename>. As the <systemitem 356 353 class="username">root</systemitem> user: -
x/dm/lxdm.xml
ra6b95b9d r52250565 221 221 222 222 <sect3 id="lxdm-init"> 223 <title>Boot Script</title> 223 <title><phrase revision="sysv">Boot Script</phrase> 224 <phrase revision="systemd">Systemd Unit</phrase></title> 225 226 <indexterm zone="lxdm lxdm-init"> 227 <primary sortas="f-lxdm">lxdm</primary> 228 </indexterm> 224 229 225 230 <para revision="sysv"> 226 Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from 227 the <xref linkend="bootscripts"/> package. 228 </para> 231 To start <command>lxdm</command> automatically when the system is 232 switched to runlevel 5, install the 233 <filename>/etc/rc.d/init.d/xdm</filename> script and the 234 <filename>/etc/sysconfig/xdm</filename> configuration file 235 included in the <xref linkend="bootscripts"/> package 236 and adjust <filename>/etc/inittab</filename> by running 237 as the <systemitem class="username">root</systemitem> user: 238 </para> 239 240 <screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen> 229 241 230 242 <para revision="systemd"> … … 233 245 </para> 234 246 235 <indexterm zone="lxdm lxdm-init">236 <primary sortas="f-lxdm">lxdm</primary>237 </indexterm>238 239 <screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>240 247 <screen role="root" revision="systemd"><userinput>systemctl enable lxdm</userinput></screen> 241 248 … … 276 283 277 284 <para> 278 You can manually start <command>lxdm</command>, e.g, if the bootscript 279 has been installed, by running, as <systemitem 285 The <command>lxdm</command> greeter can be started from the command 286 line as the <systemitem class="username">root</systemitem> user: 287 </para> 288 289 <screen role="root"><userinput>telinit 5</userinput></screen> 290 291 <para> 292 Alternatively the runlevel can be permanently set to 5, starting the 293 <command>lxdm</command> greeter screen automatically, by modifying 294 <filename>/etc/inittab</filename>. As the <systemitem 280 295 class="username">root</systemitem> user: 281 </para>282 283 <screen role="root"><userinput>/etc/rc.d/init.d/lxdm start</userinput></screen>284 285 <para>286 By convention, X should be executed at runlevel 5, consequently, the287 same is true for <application>lxdm</application>. However, the LFS default288 runlevel is 3. Changing to runlevel 5, from the console (as289 <systemitem class="username">root</systemitem> user) starts the290 <command>lxdm</command> bootscript and presents the291 greeter screen:292 </para>293 294 <screen role="root"><userinput>init 5</userinput></screen>295 296 <para>297 In order to permanently set the default to 5, starting the298 <command>lxdm</command> greeter screen automatically, you can modify299 <filename>/etc/inittab</filename>. As the <systemitem300 class="username">root</systemitem> user:301 296 </para> 302 297 … … 304 299 sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen> 305 300 306 <para>307 You should also disable default elogind power management:308 </para>309 310 <screen role="root"><userinput>cat >> /etc/elogind/logind.conf << "EOF"311 <literal>AllowSuspend=no312 AllowHibernation=no</literal>313 EOF</userinput></screen>314 315 301 <note> 316 <para>302 <para> 317 303 One important script, executed after login is 318 304 <filename>/etc/lxdm/Xsession</filename> which we have fixed to fit 319 305 BLFS specifications. 320 </para>306 </para> 321 307 </note> 322 308 … … 324 310 325 311 </sect2> 326 <!--Required section-->312 327 313 <sect2 role="content"> 328 314 <title>Contents</title> … … 352 338 <?dbhtml list-presentation="table"?> 353 339 354 <!-- If the program or library name conflicts (is the same) as the355 package name, add -prog or -lib to the varlistentry entity id356 and the 2nd entry of the indexterm zone entity -->357 358 340 <varlistentry id="lxdm-prog"> 359 341 <term><command>lxdm</command></term>
Note:
See TracChangeset
for help on using the changeset viewer.