Changeset cfe2f1b6
- Timestamp:
- 04/28/2012 12:59:46 PM (12 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 512577a9
- Parents:
- 61f9c87
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r61f9c87 rcfe2f1b6 789 789 790 790 <!-- System Services --> 791 <!ENTITY gdm-version "3. 2.1.1">791 <!ENTITY gdm-version "3.4.1"> 792 792 793 793 <!-- Chapter 33 --> -
general/sysutils/dbus.xml
r61f9c87 rcfe2f1b6 280 280 the <filename>~/.xinitrc</filename> file.</para> 281 281 </listitem> 282 <!-- Enabled by default. 282 283 <listitem> 283 284 <para>If you use <command>gdm</command> or some other display manager … … 286 287 <application>GDM</application> instructions to create a file 287 288 containing <command>dbus-launch</command>.</para> 288 </listitem> 289 </listitem>--> 289 290 <listitem> 290 291 <para>The examples shown previously use -
gnome/core/gdm.xml
r61f9c87 rcfe2f1b6 5 5 %general-entities; 6 6 7 <!ENTITY gdm-download-http "&gnome-download-http;/gdm/ &gnome-version;/gdm-&gdm-version;.tar.xz">8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/ &gnome-version;/gdm-&gdm-version;.tar.xz">9 <!ENTITY gdm-md5sum " df3f38061066f5e0816676b4eef7854a">7 <!ENTITY gdm-download-http "&gnome-download-http;/gdm/3.4/gdm-&gdm-version;.tar.xz"> 8 <!ENTITY gdm-download-ftp "&gnome-download-ftp;/gdm/3.4/gdm-&gdm-version;.tar.xz"> 9 <!ENTITY gdm-md5sum "fda0470340f9c0bc2f8daccb280af520"> 10 10 <!ENTITY gdm-size "1.6 MB"> 11 <!ENTITY gdm-buildsize "5 9MB">12 <!ENTITY gdm-time "0. 7SBU">11 <!ENTITY gdm-buildsize "50 MB"> 12 <!ENTITY gdm-time "0.8 SBU"> 13 13 ]> 14 14 … … 58 58 </itemizedlist> 59 59 60 < !--<bridgehead renderas="sect3">Additional Downloads</bridgehead>60 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 61 61 <itemizedlist spacing="compact"> 62 62 <listitem> 63 63 <para>Required patch: <ulink 64 url="&patch-root;/gdm-&gdm-version;-fixes-1.patch"/></para> 65 </listitem> 66 </itemizedlist>--> 64 url="&patch-root;/gdm-&gdm-version;-vt-allocation-hack-1.patch"/></para> 65 </listitem> 66 <listitem> 67 <para>Required patch: <ulink 68 url="&patch-root;/gdm-&gdm-version;-blfs-patch-1.patch"/></para> 69 </listitem> 70 </itemizedlist> 67 71 68 72 <bridgehead renderas="sect3">GDM Dependencies</bridgehead> 69 73 70 74 <bridgehead renderas="sect4">Required</bridgehead> 71 <para role="required"><xref linkend="accountsservice"/>, 72 <xref linkend="gnome-panel"/>, 73 <xref linkend="linux-pam"/>, and 74 <xref linkend="xorg7-lib"/></para> 75 <para role="required"> 76 <xref linkend="accountsservice"/>, 77 <xref linkend="dconf"/>, 78 <xref linkend="gtk3"/>, 79 <xref linkend="libcanberra"/>, 80 <xref linkend="linux-pam"/> and 81 <xref linkend="nss"/> 82 </para> 83 84 <bridgehead renderas="sect4">Required (runtime)</bridgehead> 85 <para role="required"> 86 <xref linkend="gnome-session"/> and either 87 <xref linkend="gnome-shell"/> or 88 <xref linkend="gnome-panel"/> and 89 <xref linkend="metacity"/> (for the Greeter Window Manager). 90 </para> 75 91 76 92 <bridgehead renderas="sect4">Recommended</bridgehead> 77 <para role="recommended"><xref linkend="consolekit"/> 78 (Required for Shutdown/Restart functionality) and 79 <xref linkend="polkit-gnome"/></para> 93 <para role="recommended"> 94 <xref linkend="consolekit"/> 95 (Required for Shutdown/Restart functionality), 96 <xref linkend="libxklavier"/> and 97 <xref linkend="upower"/> 98 </para> 80 99 81 100 <bridgehead renderas="sect4">Optional</bridgehead> 82 101 <para role="optional"> 83 <xref linkend='check'/> (required to run the testsuite),84 <xref linkend="upower"/>,85 <xref linkend="libxklavier"/>, and86 < xref linkend="tcpwrappers"/></para>102 <xref linkend="check"/> (required to run the testsuite), 103 <xref linkend="gobject-introspection"/> and 104 <xref linkend="tcpwrappers"/> 105 </para> 87 106 88 107 <para condition="html" role="usernotes">User Notes: … … 95 114 96 115 <para>It is recommended to have a dedicated user and group to take 97 control of the <command>gdm -binary</command> daemon after it is116 control of the <command>gdm</command> daemon after it is 98 117 started. Issue the following commands as the 99 118 <systemitem class="username">root</systemitem> user:</para> … … 101 120 <screen role='root'><userinput>groupadd -fg 21 gdm && 102 121 useradd -c "GDM Daemon Owner" -d /var/lib/gdm -u 21 \ 103 -g gdm -s /bin/false gdm || [ $? == 9 ]</userinput></screen>122 -g gdm -s /bin/false gdm</userinput></screen> 104 123 105 124 <para>Install <application>GDM</application> by running 106 125 the following commands as an unprivileged user:</para> 107 126 108 <screen><userinput> <!--patch -Np1 -i ../gdm-&gdm-version;-fixes-1.patch &&-->109 ./configure --prefix=$GNOME_PREFIX \ 110 --sysconfdir=$GNOME_SYSCONFDIR\111 -- libexecdir=$GNOME_PREFIX/lib/gdm\127 <screen><userinput>patch -Np1 -i ../gdm-&gdm-version;-vt-allocation-hack-1.patch && 128 patch -Np1 -i ../gdm-&gdm-version;-blfs-patch-1.patch && 129 ./configure --prefix=/usr \ 130 --sysconfdir=/etc \ 112 131 --localstatedir=/var \ 113 --with-pam-prefix=/etc \ 114 --enable-static=no && 132 --libexecdir=/usr/lib/gdm \ 133 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \ 134 --disable-static && 115 135 make</userinput></screen> 116 136 … … 121 141 122 142 <screen role='root'><userinput>make install && 123 ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/gnome-settings-daemon \ 124 $GNOME_PREFIX/lib/gdm && 125 ln -fsv /usr/lib/ConsoleKit/ck-get-x11-display-device \ 126 $GNOME_PREFIX/lib/gdm && 127 ln -fsv /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 \ 128 $GNOME_PREFIX/lib/gdm && 129 ln -fsv /usr/lib/gnome-session/gnome-session-check-accelerated \ 130 $GNOME_PREFIX/lib/gdm 131 </userinput></screen> 132 133 <para>If your <envar>GNOME_SYSCONFDIR</envar> is <emphasis>not</emphasis> 134 simply <filename class="directory">/etc</filename> then you need to create 135 some more symlinks so that the menus and some <literal>.desktop</literal> 136 files (in particular <filename>gnome-settings-daemon.desktop</filename>) will 137 be found, because <envar>XDG_CONFIG_DIRS</envar> is not respected when 138 <command>gdm</command> invokes <command>gnome-session</command>. Run the 139 following commands, still as the <systemitem class="username">root</systemitem> 140 user:</para> 141 142 <screen role='root'><userinput>ln -sfv $GNOME_SYSCONFDIR/xdg/menus /etc/xdg && 143 pushd $GNOME_SYSCONFDIR/xdg/autostart && 144 FILES=`ls` && 145 popd && 146 for F in $FILES; do 147 ln -sfv $GNOME_SYSCONFDIR/xdg/autostart/$F /etc/xdg/autostart 148 done 143 chown -R -v gdm:gdm /var/lib/gdm /var/cache/gdm /var/log/gdm 149 144 </userinput></screen> 150 145 … … 154 149 <title>Command Explanations</title> 155 150 151 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 152 href="../../xincludes/gnome-prefix.xml"/> 153 156 154 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 157 href="../../xincludes/gnome-prefix.xml"/> 158 159 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 160 href="../../xincludes/gnome-sysconfdir.xml"/> 161 162 <para><parameter>--libexecdir=$GNOME_PREFIX/lib/gdm</parameter>: This 155 href="../../xincludes/gnome-sysconfdir.xml"/> --> 156 157 <para><parameter>--libexecdir=/usr/lib/gdm</parameter>: This 163 158 parameter is used so that the <application>GDM</application> internal 164 159 support programs are installed in the preferred location of <filename 165 class='directory'>$GNOME_PREFIX/lib/gdm</filename> instead of <filename 166 class='directory'>$GNOME_PREFIX/libexec</filename>.</para> 167 168 <para><parameter>--localstatedir=/var</parameter>: This command 169 puts files in <filename class="directory">/var</filename> instead of 170 <filename class="directory">$GNOME_PREFIX/var</filename>.</para> 171 172 <para><parameter>--with-pam-prefix=/etc</parameter>: This command puts 173 <application>PAM</application> configuration files in 174 <filename class="directory">/etc/pam.d</filename> instead of 175 <filename class="directory">$GNOME_SYSCONFDIR</filename>.</para> 176 177 <para><parameter>--enable-static=no</parameter>: This switch prevents the static 178 libraries being installed.</para> 179 180 <para><parameter>ln -fsv $GNOME_PREFIX/lib/gnome-settings-daemon/...</parameter>: 181 these three symlinks allow the shutdown/restart functions in 182 <application>gdm</application> to work.</para> 160 class='directory'>/usr/lib/gdm</filename> instead of <filename 161 class='directory'>/usr/libexec</filename>.</para> 162 163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 164 href="../../xincludes/static-libraries.xml"/> 183 165 184 166 </sect2> … … 190 172 <title>Config Files</title> 191 173 192 <para><filename> $GNOME_SYSCONFDIR/gdm/custom.conf</filename></para>174 <para><filename>/etc/gdm/custom.conf</filename></para> 193 175 194 176 <indexterm zone="gdm gdm-config"> 195 <primary sortas="e-etc-g nome-&gnome-version;&gnome-minor-version;gdm-custom.conf">196 $GNOME_SYSCONFDIR/gdm/custom.conf</primary>177 <primary sortas="e-etc-gdm-custom.conf"> 178 /etc/gdm/custom.conf</primary> 197 179 </indexterm> 198 180 … … 203 185 204 186 <para>The GDM daemon is configured using the 205 <filename> $GNOME_SYSCONFDIR/gdm/custom.conf</filename> file.187 <filename>/etc/gdm/custom.conf</filename> file. 206 188 Default values are stored in GConf in the 207 189 <filename>gdm.schemas</filename> file. It is recommended that end-users 208 modify the <filename> $GNOME_SYSCONFDIR/gdm/custom.conf</filename> file190 modify the <filename>/etc/gdm/custom.conf</filename> file 209 191 because the schemas file may be overwritten when the user updates their 210 192 system to have a newer version of GDM.</para> 211 212 <para>The <application>GDM</application> <application>PAM</application>213 configuration files contain modules not present in a BLFS installation.214 Issue the following215 commands as the <systemitem class="username">root</systemitem> user to216 replace those files with files containing correctly specified217 modules:</para>218 219 <screen role="root"><userinput>cat > /etc/pam.d/gdm << "EOF"220 <literal>auth required pam_env.so221 auth required pam_unix.so222 account required pam_nologin.so223 account required pam_unix.so224 password required pam_unix.so225 session optional pam_keyinit.so force revoke226 session required pam_unix.so227 session required pam_loginuid.so228 session optional pam_console.so</literal>229 230 EOF231 chmod -v 644 /etc/pam.d/gdm232 233 cat > /etc/pam.d/gdm-autologin << "EOF"234 <literal>auth required pam_env.so235 auth required pam_permit.so236 account required pam_nologin.so237 account required pam_unix.so238 password required pam_unix.so239 session optional pam_keyinit.so force revoke240 session required pam_unix.so241 session required pam_loginuid.so242 session optional pam_console.so</literal>243 244 EOF245 chmod -v 644 /etc/pam.d/gdm-autologin246 247 cat > /etc/pam.d/gdm-welcome << "EOF"248 <literal>auth required pam_env.so249 auth required pam_permit.so250 account required pam_nologin.so251 account required pam_unix.so252 password required pam_unix.so253 session required pam_loginuid.so254 session optional pam_keyinit.so force revoke255 session required pam_unix.so</literal>256 257 EOF258 chmod -v 644 /etc/pam.d/gdm-welcome259 </userinput></screen>260 261 <indexterm zone="gdm gdm-config">262 <primary sortas="e-etc-pam.d-gdm">/etc/pam.d/gdm</primary>263 </indexterm>264 <indexterm zone="gdm gdm-config">265 <primary266 sortas="e-etc-pam.d-gdm-autologin">/etc/pam.d/gdm-autologin</primary>267 </indexterm>268 269 <para id="gdm-config-dbus">The shipped <filename>gnome.desktop</filename>270 file does not start the session <application>D-BUS</application> daemon, and271 as a result not all the files required by a <application>GNOME</application>272 window manager will be found. You can create a new273 Xsession file using the following command as the root user.</para>274 275 <screen role="root"><userinput>cat > $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop << "EOF"276 <literal>[Desktop Entry]277 Encoding=UTF-8278 Name=GNOME with D-BUS279 Comment=GNOME Desktop with D-BUS support280 Exec=dbus-launch --exit-with-session gnome-session281 TryExec=/usr/bin/dbus-launch282 Icon=283 Type=Application</literal>284 285 EOF286 chmod -v 644 $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop</userinput></screen>287 288 <para>Choose this session using the session selection dialog on the289 display manager login screen. You also have the opportunity to make this290 your default session.</para>291 292 <para>After you have compared the results from using these two different293 files, and particularly if the translations in the shipped file are useful294 to you, you can edit the <literal>Exec</literal> and <literal>TryExec</literal>295 commands in the provided <filename>gnome.desktop</filename> file. Alternatively,296 you can delete it if you find it useless.</para>297 298 <note>299 <para>You may use the <filename class='extension'>.desktop</filename>300 file created above as an example to create additional301 <filename class='extension'>.desktop</filename> files and add any other302 desired items to the <application>GDM</application> display manager session303 selection menu.</para>304 </note>305 193 306 194 <important> … … 322 210 <para>To start a graphical login when the system is booted, install the 323 211 <filename>/etc/rc.d/init.d/gdm</filename> init script included in the 324 <xref linkend="bootscripts"/> package. If your212 <xref linkend="bootscripts"/> package.<!-- If your 325 213 <envar>GNOME_PREFIX</envar> environment variable is anything other than 326 214 <filename class='directory'>/usr</filename> or <filename … … 328 216 you will need to modify the <envar>PATH</envar> statement in the script 329 217 to include the path where you have <application>GNOME</application> 330 installed. </para>218 installed.--></para> 331 219 332 220 <indexterm zone="gdm gdm-init"> … … 355 243 356 244 <seglistitem> 357 <seg> Default, Default.sample, Default, Default, Xsession, gdm,358 gdm-screenshot, gdmflexiserver, gdm-crash-logger, gdm-factory-slave,359 gdm-host-chooser, gdm-product-slave, gdm-session-worker,360 gdm-simple-chooser, gdm-simple-greeter, gdm-simple-slave,361 gdm-user-switch-applet, gdm-xdmcp-chooser-slave, gdm, and gdm-binary</seg>362 < seg>libfingerprint.so, libpassword.so, libsmartcard.so</seg>363 <seg> $GNOME_SYSCONFDIR/{dbus-1/system.d.gdm/{Init,PostLogin,PostSession,PreSession}},364 <envar>$GNOME_PREFIX</envar>/{lib/gdm,share/{gnome/help/gdm/*,omf/gdm,365 pixmaps/faces}},366 /var/{cache/gdm,gdm,lib/gdm/.gconf.mandatory,log/gdm,367 run/gdm/greeter}</seg>245 <seg> 246 gdm, gdmflexiserver and gdm-screenshot 247 </seg> 248 <seg> 249 libgdmgreeter.so and libgdmsimplegreeter.so 250 </seg> 251 <seg> 252 /etc/dconf/db/gdm.d, /etc/gdm, /usr/include/gdm, 253 /usr/lib/gdm, /usr/share/gdm, /usr/share/gnome/help/gdm, 254 /usr/share/omf/gdm and /var/{cache,lib,log,run}/gdm 255 </seg> 368 256 </seglistitem> 369 257 </segmentedlist> … … 373 261 <?dbfo list-presentation="list"?> 374 262 <?dbhtml list-presentation="table"?> 263 264 <varlistentry id="gdm-prog"> 265 <term><command>gdm</command></term> 266 <listitem> 267 <para>is the <application>GNOME</application> based login prompt.</para> 268 <indexterm zone="gdm gdm-prog"> 269 <primary sortas="b-gdm">gdm</primary> 270 </indexterm> 271 </listitem> 272 </varlistentry> 375 273 376 274 <varlistentry id="gdmflexiserver"> … … 395 293 </varlistentry> 396 294 397 <varlistentry id="gdm-prog">398 <term><command>gdm</command></term>399 <listitem>400 <para>is a wrapper script to execute the401 <application>GDM</application> binary, the configurable402 <application>GNOME</application> based login prompt.</para>403 <indexterm zone="gdm gdm-prog">404 <primary sortas="b-gdm">gdm</primary>405 </indexterm>406 </listitem>407 </varlistentry>408 409 <varlistentry id="gdm-binary">410 <term><command>gdm-binary</command></term>411 <listitem>412 <para>is the <application>GNOME</application> based login prompt.</para>413 <indexterm zone="gdm gdm-binary">414 <primary sortas="b-gdm-binary">gdm-binary</primary>415 </indexterm>416 </listitem>417 </varlistentry>418 419 <!--<varlistentry id="gdm-restart">420 <term><command>gdm-restart</command></term>421 <listitem>422 <para>sends the HUP signal to the <application>GDM</application>423 daemon so that it restarts. It's used after the config file424 is edited</para>425 <indexterm zone="gdm gdm-restart">426 <primary sortas="b-gdm-restart">gdm-restart</primary>427 </indexterm>428 </listitem>429 </varlistentry>430 431 <varlistentry id="gdm-safe-restart">432 <term><command>gdm-safe-restart</command></term>433 <listitem>434 <para>sends the USR1 signal to the <application>GDM</application>435 daemon so that it restarts. It's used after the config file436 is edited.</para>437 <indexterm zone="gdm gdm-safe-restart">438 <primary sortas="b-gdm-safe-restart">gdm-safe-restart</primary>439 </indexterm>440 </listitem>441 </varlistentry>442 443 <varlistentry id="gdm-stop">444 <term><command>gdm-stop</command></term>445 <listitem>446 <para>sends the TERM signal to the <application>GDM</application>447 daemon so that it stops. It's used after the config file is448 edited.</para>449 <indexterm zone="gdm gdm-stop">450 <primary sortas="b-gdm-stop">gdm-stop</primary>451 </indexterm>452 </listitem>453 </varlistentry>-->454 455 295 </variablelist> 456 296 -
introduction/welcome/changelog.xml
r61f9c87 rcfe2f1b6 61 61 <para>[krejzi] - gvfs 1.12.2.</para> 62 62 </listitem> 63 <listitem> 64 <para>[krejzi] - gdm 3.4.1.</para> 65 </listitem> 63 66 </itemizedlist> 64 67 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.