LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Dbus error when opening root terminal, is it fixable? (http://www.linuxquestions.org/questions/debian-26/dbus-error-when-opening-root-terminal-is-it-fixable-778178/)

linus72 12-26-2009 09:57 AM

Dbus error when opening root terminal, is it fixable?
 
OK
so I'm having issues with my 503box install
note that I have many debians & buntus on this PC and none of them do this...

Heres screenshots of the messages-

http://multidistro.com/Screenshot.png

and then when I click OK

http://multidistro.com/Screenshot-1.png

and then it starts normally?

here is the .dbus/system-bus/ file in both /home and /root

Code:

# This file allows processes on the machine with id 2598ec940824d53415d261e049613fcf using
# display :0 to find the D-Bus session bus with the below address.
# If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
# be used rather than this file.
# See "man dbus-launch" for more details.
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RJGl2b2pw5,guid=26964fe83da8798917c2345b4b36211a
DBUS_SESSION_BUS_PID=6723
DBUS_SESSION_BUS_WINDOWID=4194305

heres what the desktop icon, "Root Terminal", filename "gksu.desktop"
says

Code:

[Desktop Entry]
Name=Root Terminal
Encoding=UTF-8
Exec=gksu -D Terminal -- env -u ORBIT_SOCKETDIR /usr/bin/x-terminal-emulator
Icon=gksu-root-terminal
StartupNotify=true
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=GTK;Utility;TerminalEmulator;

I'm kinda lost on how to fix it?

I tried reinstalling dbus, and the kernel and everything
same result...

any ideas?
thanks

repo 12-26-2009 10:07 AM

You need a session bus running as well as the system bus. This normally
gets run automatically by session managers such as gnome-session. If
you're not using a session manager that does this you'll need to start
it yourself in your .xinitrc or .xsession script eg change:

Quote:

exec window_manager
to:
Quote:

exec dbus-launch --exit-with-session window_manager


All times are GMT -5. The time now is 08:01 PM.