You are not logged in.
Pages: 1
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
You need to start a user session. Look at 'man dbus-launch'.
Offline
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
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
Pages: 1