Re: DBUS Startup Question

Peter <[email protected]>
Newsgroups gmane.comp.gnome.garnome
Message-ID <[email protected]>
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


-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.