Changeset 3565e02
- Timestamp:
- 11/19/2005 11:59:27 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
- cdb6f7a
- Parents:
- 01bf7b38
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r01bf7b38 r3565e02 1 <!ENTITY day "1 8">1 <!ENTITY day "19"> 2 2 <!ENTITY month "11"> 3 3 <!ENTITY year "2005"> -
general/sysutils/dbus.xml
r01bf7b38 r3565e02 6 6 7 7 <!ENTITY dbus-download-http "http://dbus.freedesktop.org/releases/dbus-&dbus-version;.tar.gz"> 8 <!ENTITY dbus-download-ftp " 8 <!ENTITY dbus-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/dbus-&dbus-version;.tar.gz"> 9 9 <!ENTITY dbus-md5sum "1addd5b600a8a4550766005d1f59401b"> 10 10 <!ENTITY dbus-size "1.6 MB"> … … 182 182 <screen role="root"><userinput>make install-dbus</userinput></screen> 183 183 184 <para>Note that this boot script only starts the system-wide 185 <application>D-BUS</application> daemon. Each user requiring access to 186 <application>D-BUS</application> services will also need to run a 187 session daemon as well. There are many methods you can use to start a 188 session daemon using the <command>dbus-launch</command> command. Review 189 the <command>dbus-launch</command> man page for details about the 190 available parameters and options. Here are some suggestions and 191 examples:</para> 192 193 <itemizedlist spacing="compact"> 194 <listitem> 195 <para>Add <command>dbus-launch</command> to the line in the 196 <filename>~/.xinitrc</filename> file that starts your graphical 197 desktop environment as shown in <xref linkend="gnome-config"/>.</para> 198 </listitem> 199 <listitem> 200 <para>If you use <command>xdm</command> or some other display manager 201 that calls the <filename>~/.xsession</filename> file, you can add 202 <command>dbus-launch</command> to the line in your 203 <filename>~/.xsession</filename> file that starts your graphical 204 desktop environment. The syntax would be similar to the example in 205 the <filename>~/.xinitrc</filename> file.</para> 206 </listitem> 207 <listitem> 208 <para>If you use <command>gdm</command> or some other display manager 209 that utilizes custom files to initiate sessions, use the example in 210 <xref linkend="gdm-config-dbus"/> of the 211 <application>GDM</application> instructions to create a file 212 containing <command>dbus-launch</command>.</para> 213 </listitem> 214 <listitem> 215 <para>The examples shown previously use 216 <command>dbus-launch</command> to specify a program to be run. This 217 has the benefit (when also using the 218 <parameter>--exit-with-session</parameter> parameter) of stopping the 219 session daemon when the specified program is stopped. You can also 220 start the session daemon in your system or personal startup scripts 221 by adding the following lines:</para> 222 223 <screen><userinput><literal># Start the D-BUS session daemon 224 eval `dbus-launch` 225 export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen> 226 227 <para>This method will not stop the session daemon when you exit 228 your shell, therefore you should add the following line to your 229 <filename>~/.bash_logout</filename> file:</para> 230 231 <screen><userinput><literal># Kill the D-BUS session daemon 232 kill $DBUS_SESSION_BUS_PID</literal></userinput></screen> 233 </listitem> 234 <listitem> 235 <para>If you use <application>Linux-PAM</application>, you can review 236 the <ulink 237 url="&hints-root;/downloads/files/execute-session-scripts-using-pam.txt"> 238 Execute Session Scripts Using PAM</ulink> hint to see if it would work 239 for you.</para> 240 </listitem> 241 </itemizedlist> 242 184 243 </sect3> 185 244 -
gnome/add/gdm.xml
r01bf7b38 r3565e02 181 181 </indexterm> 182 182 183 <para><command>gdm</command> can be tested by executing it from a 184 <systemitem class="username">root</systemitem> console.</para> 183 <para id="gdm-config-dbus">If you have <application>D-BUS</application> 184 installed and you want to start the session 185 <application>D-BUS</application> daemon when you start the GNOME desktop 186 environment using <command>gdm</command>, you'll need to create a new 187 Xsession file. Create the file using the following command as the root 188 user.</para> 189 190 <screen role="root"><userinput>cat > $GNOME_PREFIX/share/xsessions/gnome-dbus.desktop << "EOF" 191 <literal>[Desktop Entry] 192 Encoding=UTF-8 193 Name=GNOME with D-BUS 194 Comment=GNOME Desktop with D-BUS support 195 Exec=dbus-launch --exit-with-session gnome-session 196 TryExec=/usr/bin/dbus-launch 197 Icon= 198 Type=Application</literal> 199 200 EOF</userinput></screen> 201 202 <para>Choose this session using the session selection dialog on the 203 display manager login screen. You also have the opportunity to make this 204 your default session.</para> 205 206 <para><command>gdm</command> can be tested by executing it as the 207 <systemitem class="username">root</systemitem> user. Use the 208 <command>gdm-stop</command> command if you wish to stop the display 209 manager.</para> 185 210 186 211 </sect3> … … 194 219 <envar>GNOME_PREFIX</envar> environment variable is anything other than 195 220 <filename class='directory'>/usr</filename> or 196 <filename class='directory'>/opt/gnome-2.10</filename>, you will need to 197 modify the <envar>PATH</envar> statement in the script to include the 198 path where you have <application>GNOME</application> installed.</para> 221 <filename class='directory'>/opt/gnome-&gnome-version;</filename>, you 222 will need to modify the <envar>PATH</envar> statement in the script to 223 include the path where you have <application>GNOME</application> 224 installed.</para> 199 225 200 226 <indexterm zone="gdm gdm-init"> -
gnome/core/config.xml
r01bf7b38 r3565e02 27 27 daemon here, use the following command instead of the one shown above:</para> 28 28 29 <screen><userinput>echo "exec dbus-launch -- sh-syntax --exit-with-session gnome-session" >> ~/.xinitrc</userinput></screen>29 <screen><userinput>echo "exec dbus-launch --exit-with-session gnome-session" >> ~/.xinitrc</userinput></screen> 30 30 31 31 <note> -
introduction/welcome/changelog.xml
r01bf7b38 r3565e02 43 43 44 44 <listitem> 45 <para>November 19th, 2005</para> 46 <itemizedlist> 47 <listitem> 48 <para>[randy] - Added notes to start a D-BUS session daemon to the 49 D-BUS, GDM and GNOME Configuration instructions.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 53 54 <listitem> 45 55 <para>November 18th, 2005</para> 46 56 <itemizedlist>
Note:
See TracChangeset
for help on using the changeset viewer.