Re: DBUS Startup Question
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Subject: Re: DBUS Startup Question
- Date: Thu, 05 Oct 2006 09:48:00 -0400
Peter,
Using startx /.xinitrc /garnome-session does work.
I launch the X-server and GARNOME desktop by running startx, after
command line based log in, which automatically runs the .xinitrc shell
script shown below, which sets PATH and then execs garnome-session. The
last few lines in my garnome-session file are:
DBUS_LAUNCH="$GARNOME/bin/dbus-launch --exit-with-session"
# export variables
export ACLOCAL_FLAGS ACLOCAL_AMFLAGS PATH MANPATH
LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT
XDG_DATA_DIRS XDG_CONFIG_DIRS
# exec GARNOME's gnome-session
exec $DBUS_LAUNCH $GARNOME/bin/gnome-session
So something is amiss with your configuration.
Connect to #garnome IRC channel and maybe we can figure out what is
happening on your system.
-Joseph
==============================================================================
On Thu, 2006-10-05 at 09:23 -0400, Peter wrote:
> On Wed, 04 Oct 2006 21:42:11 -0400, Joseph E. Sacco, Ph.D. wrote:
>
> > Peter,
> >
> > If you are using 'startx', simply recreate a .xinitrc file that exec's
> > garnome-session.
> >
> > For example:
> >
> >
> > #!/bin/sh
> >
> > PATH=/opt/garnome/2.16.0/bin:$PATH
> >
> > exec garnome-session
> >
> >
> > Then run 'startx'
> >
> > -Joseph
> >
>
> Thanks. It absolutely does not work without embedding $DBUS_LAUNCH in the
> startx command. By not doing it, errors appear that none of the gnome apps
> can connect to the bus.
>
> Here are some DBUS variables when starting with:
> startx $DBUS_LAUNCH gnome-session
>
> bash-3.1$ echo $DBUS_SESSION_ADDRESS
>
> bash-3.1$ set |grep ^D
> DBUS_LAUNCH='/opt/gnome/2.16.1/bin/dbus-launch --exit-with-session'
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-noA7livpDS,guid=99012545bd80d2b86877310386fbf600
> DESKTOP_STARTUP_ID=
> DIRSTACK=()
> DISPLAY=:0.0
>
> Now, if I have dbus started outside of the startx gnome-session command
> the following error is displayed in a terminal, and the system is
> functionless:
>
> SESSION_MANAGER=local/mars:/tmp/.ICE_unix/4320
> mapping method init - connect: Permission denied
>
> (nautilus:4332): libgnomevfs-WARNING **: module
> '/opt/gnome/2.16.1/lib/gnome-vfs-2.0/modules/libmapping.so' returned a
> NULL handle
> mapping method init - connect: Permission denied
>
> The above line was repeated a number of times. Closing the terminal error
> window ended the session.
>
> I could not open another term to view the environment variables.
>
> So, for me at least, I MUST include $DBUS_LAUNCH when starting any WM that
> will use gnome. Otherwise, none of the daemons will work.
>
> HTH
>
>
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]