Not connected to D-Bus server - Virtualbox

guru

Well-Known Member
Guten Abend!

Schlichtes Problem, wenn ich virtualbox-ose per Konsole starte, kann ich im dritten Unterfenster kein Disc-Image auswählen, in sekündlichen Fluten bekomme ich diese Fehlermeldungen, darunter der Programmabbruch. virtualbox-ose

Code:
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/dragonplayer_play_dvd.desktop" specifies undefined mimetype/servicetype "media/dvdvideo"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "kerfuffle_libarchive_readonly.desktop" specifies undefined mimetype/servicetype "application/x-servicepack"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "marble_part_kmz.desktop" specifies undefined mimetype/servicetype "MimeType=application/vnd.google-earth.kmz"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "/usr/local/share/applications/kde4/ark.desktop" specifies undefined mimetype/servicetype "application/x-servicepack"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "/usr/local/share/applications/kde4/ark.desktop" specifies undefined mimetype/servicetype "application/lha"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "/usr/local/share/applications/kde4/ark.desktop" specifies undefined mimetype/servicetype "application/maclha"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "ServiceMenus/imageconverter.desktop" specifies undefined mimetype/servicetype "image/*"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "plasma-kpart.desktop" specifies undefined mimetype/servicetype "KParts/Part"
kbuildsycoca4(1544) KBuildServiceFactory::populateServiceTypes: "kfontviewpart.desktop" specifies undefined mimetype/servicetype "fonts/package"
kbuildsycoca4(1544) KBuildSycoca::save: Saving
kbuildsycoca4(1544) kdemain: Emitting notifyDatabaseChanged ("apps")
Qt CRITICAL: startkdeinitlock(1520): couldn't create slave: "Cannot talk to klauncher: Not connected to D-Bus server"
kdeinit4: Shutting down running client.
klauncher: Exiting on signal 15
^C
guru@antares:~/Downloads % Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KDE Daemon (kded) already running.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
kbuildsycoca4(1550) kdemain: Reusing existing ksycoca
kbuildsycoca4(1550) KBuildSycoca::recreate: Recreating ksycoca file ("/var/tmp/kdecache-guru/ksycoca4", version 242)
kbuildsycoca4(1550) KBuildSycoca::build: Still in the time dict (i.e. deleted files) ("apps")
kbuildsycoca4(1550) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/usr/home/guru/.config/menus/applications-merged/wine-Programs-Steam-Portal 2.menu"
kbuildsycoca4(1550) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/usr/home/guru/.config/menus/applications-merged/wine-Programs-Steam-Steam.menu"
kbuildsycoca4(1550) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/usr/home/guru/.config/menus/applications-merged/wine-Programs-Diablo III-Diablo III.menu"
kbuildsycoca4(1550) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/usr/home/guru/.config/menus/applications-merged/wine-Programs-Battle.net-Battle.net.menu"
kbuildsycoca4(1550) VFolderMenu::mergeFile: VFolderMenu::mergeFile: "/usr/home/guru/.config/menus/applications-merged/wine-Programs-Steam-Half-Life 2.menu"
kbuildsycoca4(1550) VFolderMenu::pushDocInfo: Menu "applications-kmenuedit.menu" not found.
kbuildsycoca4(1550) VFolderMenu::processMenu: Processing KDE Legacy dirs for <KDE>
kbuildsycoca4(1550) VFolderMenu::processKDELegacyDirs:
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/share/applications/"
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/local/share/applications/"
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/local/share/applications/kde4"
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/local/share/applications/openoffice-4.1.2"
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/home/guru/.local/share/applications/"
kbuildsycoca4(1550) VFolderMenu::loadApplications: Looking up applications under "/usr/home/guru/.local/share/applications/wine

[ ... ]

guru@antares:~/Downloads % pkg info virtualbox-ose
virtualbox-ose-4.3.38
Name  : virtualbox-ose
Version  : 4.3.38
Installed on  : Mon May  9 22:46:26 2016 CEST
Origin  : emulators/virtualbox-ose
Architecture  : freebsd:10:x86:64
Prefix  : /usr/local
Categories  : emulators
Licenses  : GPLv2
Maintainer  : vbox@FreeBSD.org
WWW  : http://www.virtualbox.org/
Comment  : General-purpose full virtualizer for x86 hardware
Options  :
  DBUS  : on
  DEBUG  : off
  GUESTADDITIONS : off
  MANUAL  : off
  NLS  : on
  PULSEAUDIO  : off
  PYTHON  : on
  QT4  : on
  R0LOGGING  : off
  UDPTUNNEL  : on
  VDE  : off
  VNC  : on
  VPX  : off
  WEBSERVICE  : on
  X11  : on
Shared Libs required:
  libcurl.so.4
  libvncserver.so.0
  libXext.so.6
  libXcursor.so.1
  libGL.so.1
  libQtCore.so.4
  libQtNetwork.so.4
  libSDL-1.2.so.0
  libxml2.so.2
  libXt.so.6
  libpng16.so.16
  libpython2.7.so.1
  libXmu.so.6
  libQtOpenGL.so.4
  libXinerama.so.1
  libQtGui.so.4
  libX11.so.6
Annotations  :
  cpe  : cpe:2.3:a:oracle:vm_virtualbox:4.3.38:::::freebsd10:x64
  repo_type  : binary
  repository  : FreeBSD

Was könnt's da haben? Hab diverse Foren durchsucht und nirgends was hinreichendes gefunden. Weder
Code:
guru@antares:~/Downloads %  kbuildsycoca4 --noincremental
noch ein
Code:
guru@antares:~/Downloads %  dbus-launch virtualbox
änderten was an der Situation.

Danke für die Hilfe!

guru
 
Hast du
dbus_enable="YES"
in
/etc/rc.conf?

Wenn nein, mach das mal.

Dann
service dbus start
oder einen klassischen Reboot und probiers nochmal.

Könnte sein, dass du noch
hald_enable="YES"
setzen musst.

Da du wohl eine grafische Oberfläche nutzt, sollte das sowieso aktiviert sein.
 
Hallo, danke für die Antwort!

Ist aber alles schon so gesetzt:

Code:
root@antares:/home/guru # cat /etc/rc.conf
hostname="antares"
keymap="de"
ifconfig_re0="DHCP"
sshd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
dbus_enable="YES"
hald_enable="YES"
kdm4_enable="YES"
lpd_enable="YES"
vboxnet_enable="YES"
 
Hi

Das ist ein Problem mit qt4/qt5 dreinfuckerei, oder was in der Richtung.

Starte mal VirtualBox, und stell sicher, dass QT_PLUGIN_PATH nicht gesetzt ist.

Also mach
% unsetenv QT_PLUGIN_PATH
% VirtualBox

Dann sollte es passen. -- Es gibt noch andere möglichkeiten, aber probier mal die.

mfg Tobias
 
Wow!

Vielen Dank. Ich hatte mir jetzt einen längeren Post vorgenommen, indem ich mein Problem mit kaputten Links etc. schildern wollte, doch den QT_PLUGIN_PATH zu unsetten funktioniert wunderbar. Gibt es eine Möglichkeit, das dauerhaft zu übernehmen?

mfg guru
 
Du kannst ein wrapper Skript "VirtualBox" nach ~/bin werfen, das das für dich macht.
Oder wohl auch ein alias VirtualBox setzen mit "alias VirtualBox 'env -u QT_PLUGIN_PATH VirtualBox'". Letzeres hab ich jedoch nie getestet :).

mfg Tobias
 
Zurück
Oben