Re: GARNOME hal and dbus on FC4



On Mon, 2005-12-19 at 00:51 +0200, Nikos Charonitakis wrote:
> 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...

I think this might have something to do with the fact that I used 'more'
instead of 'cat'...I think that 'cat' is more reliable. I have switched
it on the page to 'cat' now, hopefully that should fix it. :)

Bob

-- 
Bob Kashani
http://www.gnome.org/projects/garnome
http://www.ocf.berkeley.edu/~bobk/garnome




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