On Tue, 2005-10-11 at 10:42 -0500, Randy McMurchy wrote:
> Other than than, the BLFS book D-BUS instructions need to be updated
> to include starting the D-BUS user session daemon (instructions right
> now are in the GNOME post-installation configuration section). The
> HAL instructions need to be updated to include some minor tweaks to
> the policy settings and
> 
> RUN+="/usr/sbin/hal.hotplug"
> 
> needs to be added to the Udev rules.

Yep, that's the one I've seen mentioned on the hal lists. Is it simply a
case of adding that line to the udev rules file, or is there more
involved?

Regarding the dbus user session, I've attached a patch I've created for
gdm which starts this for the default session... you may want to use it.

> It's also important that the HAL package is compiled with 
> --with-fstab-sync passed to configure so that the fstab-sync program
> is built.

Actually, I use pmount instead, rather than have HAL manipulating the
fstab file. I find it a somewhat cleaner approach, and pretty easy to
setup (just needs some extra config switches when building g-v-m).

I assume btw that you're using some kind of patch for util-linux, to
make mount ignore the 'managed' option that fstab-sync uses?

Simon.
diff -Naur gdm-2.8.0.5/config/Xsession.in gdm-2.8.0.5-patch/config/Xsession.in
--- gdm-2.8.0.5/config/Xsession.in	2005-07-19 19:53:41.000000000 +1200
+++ gdm-2.8.0.5-patch/config/Xsession.in	2005-10-12 22:33:22.000000000 +1300
@@ -224,6 +224,14 @@
   fi
 fi
 
+# add dbus-launch if found
+dbuslaunch="`gdmwhich dbus-launch`"
+if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
+    command="$dbuslaunch --exit-with-session $command"
+elif [ -z "$dbuslaunch" ] ; then
+    echo "$0: dbus-launch not found!"
+fi
+
 # add ssh-agent if found
 sshagent="`gdmwhich ssh-agent`"
 if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to