Re: GARNOME hal and dbus on FC4



2005/12/18, Bob Kashani <bobk ocf berkeley edu>:
> On Sun, 2005-12-18 at 20:34 +0200, Nikos Charonitakis wrote:
> > 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
>
> Make sure that ^^^ this points to where ever you installed 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?
>
> I just tried this script on FC4 and it works fine.
yes it works now :)
after some experiments, i find that GARNOME has an empty file at
$GARNOME/etc/dbu-1/system.conf
So i copied fedora's native /etc/dbus-1/system.conf and make some path
changes and now ti works...

Nikos
>
> > 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?
>
> Bob
>
> --
> Bob Kashani
> http://www.gnome.org/projects/garnome
> http://www.ocf.berkeley.edu/~bobk/garnome
>
> --
> garnome-list mailing list
> garnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/garnome-list
>



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