Re: Garnome 2.20.0 - System Administartion



On Fri, 12 Oct 2007 14:35:00 +0100, Thomas wrote:

> I am a new user of Garnome and a long time user of Slackware. Can anyone
> give me some idea on how to get the System->Administration tools to
> work. e.g network-admin.
> When I try these I get:-
> "The configuration could not be loaded" "You are not allowed to access
> the system configuration" The system log file shows:
> "Liboobs WARNING The name org.freedesktop.SystemToolsBackends was not
> provided in any .service files"
> 
> Thankyou in advance
> 
> Tom Gibson

Sounds like a dbus issue. See the README. While Slackware-12 has dbus, 
garnome installs files in its own $GARNOME/etc and therein lies a problem. 
When the system loads dbus, it will not see the garnome dbus configuration.

In the README there is documentation to work around this.

#!/bin/bash

GARNOME=$HOME/garnome

## Use GARNOME's DBus, HAL, and Avahi

## Fedora users should uncomment this section
#if [ `grep "<user>messagebus</user>" $GARNOME/etc/dbus-1/system.conf` ]; 
then
#       cat $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; \
       pkill avahi-daemon; \
       pkill avahi-dnsconfd; \
       pkill hald; \
       rm -rf $GARNOME/var/run/messagebus.pid; \
       rm -rf $GARNOME/var/run/avahi-daemon/pid; \
       rm -rf $GARNOME/var/run/haldaemon.pid; \
       $GARNOME/bin/dbus-daemon --system; \
       $GARNOME/sbin/avahi-daemon -D; \
       $GARNOME/sbin/avahi-dnsconfd -D; \
       $GARNOME/sbin/hald"

   Once the DBus, HAL, and Avahi daemons are running you must create a
   garnome-session script to start GARNOME. An example startup script
   would look like:

#!/bin/bash

GARNOME=$HOME/garnome

PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.4/site-packages:$GARNOME/lib/python2.4/
site-packages/gtk-2.0
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1
XDG_DATA_DIRS=$GARNOME/share
XDG_CONFIG_DIRS=$GARNOME/etc/xdg
MANPATH=$GARNOME/man:$MANPATH
DBUS_LAUNCH="$GARNOME/bin/dbus-launch --exit-with-session"

export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH \
       GDK_USE_XFT XDG_DATA_DIRS XDG_CONFIG_DIRS MANPATH DBUS_LAUNCH

exec $DBUS_LAUNCH $GARNOME/bin/gnome-session



-- 
Peter




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