GARNOME hal and dbus on FC4



hi
I m trying unsuccesfully to run this script from GARNOME extras in
order to use hal and dbus and not my system outdated versions.

#!/bin/bash

GARNOME=$HOME/garnome

## Use GARNOME's dbus and hal

if [ `grep "<user>messagebus</user>" $GARNOME/etc/dbus-1/system.conf` ]; then
        more $GARNOME/etc/dbus-1/system.conf | \
        sed 's,<user>messagebus</user>,<user>dbus</user>,' > \
        $GARNOME/etc/dbus-1/system.conf;
fi

su -c "pkill dbus; \
       /sbin/service haldaemon stop >/dev/null 2>&1; \
       pkill hald; \
       rm -rf $GARNOME/var/run/messagebus.pid; \
       $GARNOME/bin/dbus-daemon --system; \
       $GARNOME/sbin/hald --retain-privileges"

it fails when it runs  $GARNOME/bin/dbus-daemon --system;
with this message:

"Failed to start message bus: Unknown element <user> at root of
configuration file"

i tried manually to figure this putting various users
garnome/etc/dbus-1/system.conf such as
dbus, messagebus, 81 but none off them was succesfull...

what can i do?

Note:
i realized that my system does not have any "messagebus" user it just
has a "dbus" user with id 81
i may  have to create this messagebus user, but with what attributes?

Thanks in advance
Nikos



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]