You are not logged in.

#1 2006-08-22 16:38:17

Manifold
Member
Registered: 2006-08-16
Posts: 64

Unable to determine address of message bus

Guys, I'm in need of help again.

terminal --default-working-directory=/home/clem

The above command throws out the message:

Unable to register terminal service: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)

A terminal window with the default working directory of / always appears, just like a normal 'terminal' command.

Pacman tells me I have already installed dbus, I have checked the wiki, there is no help on 'dbus'.

Any ideas?

Offline

#2 2006-08-22 17:27:54

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Unable to determine address of message bus

You need to start a user session. Look at 'man dbus-launch'.

Offline

#3 2006-08-22 17:33:38

Manifold
Member
Registered: 2006-08-16
Posts: 64

Re: Unable to determine address of message bus

So.. according to the manual, I stick

 ## test for an existing bus daemon, just to be safe
         if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
             ## if not found, launch a new one
             eval `dbus-launch --sh-syntax --exit-with-session`
             echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
         fi

..into my ..xinitrc?

Offline

#4 2006-08-22 18:35:56

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Unable to determine address of message bus

No, in your .bashrc. I find that more convenient, but if you want to start a dbus session only when starting X, put

exec dbus-launch --exit-with-session foo

in .xinitrc.

Offline

Board footer

Powered by FluxBB