What is the best practice on starting a garnome/gnome session?



Currently I am starting gnome-2.1.40 on an ubunto 5.10 system in this
manner:

I have a *.desktop file in /usr/share/gdm/BuiltInSessions has this entry
in it:

Exec=/opt/gnome-2.14.0/bin/gnome-session-2.14.0

/opt/gnome-2.14.0/bin/gnome-session-2.14.0 contains the following:

#!/bin/sh

GARNOME=/opt/gnome-2.14.0
PATH=$GARNOME/bin:$GARNOME/sbin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.4/site-packages
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
XDG_DATA_DIRS=$GARNOME/share:/usr/share
XDG_CONFIG_DIRS=$GARNOME/etc/xdg:/etc/xdg
GDK_USE_XFT=1

export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
XDG_DATA_DIRS XDG_CONFIG_DIRS

dbus-launch --sh-syntax --exit-with-session $GARNOME/bin/gnome-session

All seems to working fine except I get this error on starting the
session:

Warning

Power Manager

This program cannot start until you start the dbus system service.

This is usually started by your operating system by default, and is
normally called messagebus.

It is strongly recommended you reboot your computer after starting
messagebus.

I assume I am not starting dbus correctly.

What should I do?

Thanks.




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