Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148612 - vmware-server, vmware-server-console - GUI cannot be run if dbus daemon is up.
Summary: vmware-server, vmware-server-console - GUI cannot be run if dbus daemon is up.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
Depends on:
Blocks: 137424 137425
  Show dependency tree
Reported: 2006-09-22 01:01 UTC by Alon Bar-Lev (RETIRED)
Modified: 2006-10-25 02:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 01:01:30 UTC

File a specific bug for this.
When dbus daemon is up, vmware GUI and vmware-console GUI are not running.
I could not find the source of the problem, since VMWare is not open-source.

I--] [ ~] app-emulation/vmware-modules- (0)
[I--] [ ~] app-emulation/vmware-server- (0)
[I--] [  ] sys-apps/dbus-0.61-r1 (0)

/etc/init.d/dbus start
<nothing happens>
/etc/init.d/dbus stop

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-alon i686)
System uname: 2.6.18-alon i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 22 Sep 2006 01:53:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.4, 2.0.29
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
LINGUAS="en he"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/alon-barlev-portage /usr/local/ase-portage"
USE="x86 X acl acpi alsa apache2 arts berkdb bidi bitmap-fonts bluetooth bzip2 cairo caps cdr cli crypt cups curl dbus directfb dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 isdnlog java java5 jpeg jpeg2k kde kdeenablefinal kerberos kernel_linux ldap libg++ linguas_en linguas_he logrotate mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session smartcard spell spl sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fglrx video_cards_radeon vorbis wifi win32codecs xcomposite xinerama xml xorg xv zlib"
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-09-22 12:40:53 UTC
Hi Alon,

Could you please run those commands from the console and report all the output they produce (particularly for vmware-server-console, since we don't really support the built-in console found in vmware-server)?  I've got dbus-0.62 and all the same vmware packages installed and there doesn't seem to be any conflict or problems running the console...

I didn't think vmware made use of the dbus system bus, so it might be more likely to be a gnome issue, but hopefully the output from the console will tell us more.  Thanks...  5:)
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 15:37:55 UTC
Just curios... Why don't you support the built-in console? It is working the same as the standalone one.

There is no output...
I don't use gnome... I use KDE.

The only messages I get are:
$ vmware-server-console
/opt/vmware/server/console/lib/bin/vmware-server-console: /opt/vmware/server/console/lib/lib/ no version information available (required by /usr/lib/
/opt/vmware/server/console/lib/bin/vmware-server-console: /opt/vmware/server/console/lib/lib/ no version information available (required by /usr/lib/
/opt/vmware/server/console/lib/bin/vmware-server-console: /opt/vmware/server/console/lib/lib/ no version information available (required by /usr/lib/

But I get the same messages when the console works (dbus daemon down).

There is no --verbose argument... Do you know who to make it to write more details?
And I am not the only one that have this problem... In the tracker bug you will see that there is at least one more user that have this problem.

OH.... YOU HAVE dbus-0.62!!! I have 0.61.

Upgraded, and it works.
Please fix dependencies of vmware-server, vmware-server-console.

Current output:
$ vmware-server-console
/opt/vmware/server/console/lib/bin/vmware-server-console: /opt/vmware/server/console/lib/lib/ no version information available (required by /usr/lib/
Attempt to remove filter function 0xb6ddcc80 user data 0x88af1d0, but no such filter has been added

But it works.

Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-22 15:47:55 UTC
Looking at binary modules, there is a reference to dbus:
libhal_ctx_set_dbus_connection^@^@libhal_device_get_property_string^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@dbus_connection_set_exit_on_disconnect^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@HAL05LoadHALLibraries: Could not dlopen or
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@HAL05LoadHALLibraries: Could not dlopen
^@^@^@^@^@^@^@^@^@^@^@dbus_connection_setup_with_g_main^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@HAL05LoadGlibLibrary: Could not dlopen

So I guess vmware requires dbus... Just need to depend right version...
Comment 4 Mike Auty (RETIRED) gentoo-dev 2006-09-22 15:51:44 UTC
Cool, thanks for tracking that down Alon.  It's a little odd that it can run ok without dbus, or with dbus over a certain version, but not with your particular version.  I'll have a think about how best to put this into the dependency list.  I think it will probably end up as "!<sys-apps/dbus-0.62".  I'll try to get something ready for tomorrow.  Thanks again for reporting it, you're doing great work!  5:)
Comment 5 Sonny Lander 2006-09-27 21:44:58 UTC
I have vmware-server working with dbus-0.62
Is there something i can run to help?
Comment 6 Dan Andresan 2006-09-28 01:01:19 UTC

I have dbus 0.61-r1  (stable in portage) and vmware-server
Everything works just fine for me.

Now the new vmware-server asks for dbus 0.62 which is not stable yet.

As I'm running a stable system, and dbus is a major component, I wouldn't like to upgrade dbus to 0.62. So I'll leave vmware-server as 101.29996 because it just works.

If you need any reports from my system, just to see why it works on mine with dbus 0.61-r1 and not on others, please say so.

Thanks very much Mike for the work you're doing on vmware ebuilds.

Comment 7 Mike Auty (RETIRED) gentoo-dev 2006-09-28 01:13:29 UTC
Dan, since vmware-server itself isn't stable, it's not a requirement that it depend on a stable version of dbus.  I have the feeling that the difference in dbus probably also relates to the version of gnome in use, however, since there have been no complaints by people using dbus-0.62, I think I'm going to mark this bug as fixed.

If you'd really like to upgrade (since the ebuild was bumped because of a security issue, which is why the other ebuilds are no longer available in portage), you might like to try out the steps in:

Which suggest that vmware is forcing the loading of a particular version of dbus.  Hope that helps...  5:)
Comment 8 Mike Auty (RETIRED) gentoo-dev 2006-09-28 01:14:06 UTC
Doh, forgot to mark it fixed.
Comment 9 Sonny Lander 2006-09-28 13:54:55 UTC
If it works with dbus-0.62, and there are no more complaints why does the new ebuild for vmware-server block it
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-28 14:02:20 UTC
(In reply to comment #9)
> If it works with dbus-0.62, and there are no more complaints why does the new
> ebuild for vmware-server block it

The new ebuild has:

It does not block dbus-0.62, so I don't understand the question.
I know for a fact that vmware did not work with dbus-0.61.
Comment 11 Sonny Lander 2006-09-28 20:12:33 UTC
It seems I was running dbus-0.61-r1 tho it was working... Thought I was running 0.62
Comment 12 Dan Andresan 2006-10-24 14:42:30 UTC
I'm running vmware-server- with dbus-0.61-r1 and everything works just fine.

The requirement for dbus 0.62 is not justified, but I can live with it.

It's a pity that every time when I emerge -uDav world I get a report that dbus 0.62 blocks the updates, I am not going to install it since everything works fine, so I just emerge -av all_the_packets_displayed_previously_except_dbus.

Would you like Alon to reemerge dbus 0.61-r1 and try again to run vmware? It works for me and Sonny.


P.S. I'm not going to reopen the bug, but the fix was not needed.
Comment 13 Mike Auty (RETIRED) gentoo-dev 2006-10-24 14:46:59 UTC
Hmmmm, curiouser and curiouser.  Dan, could you let me know whether you use KDE or Gnome?  I'm wondering if perhaps it's an unfortunate interaction of gtk and dbus outside of the gnome desktop?  I might be tempted to remove the requirement on dbus-0.62 if it mostly works ok on the lower version, and perhaps just include a note at the end of the ebuild.  What do you guys think?  5:)
Comment 14 Dan Andresan 2006-10-25 02:12:33 UTC
Hi Mike,

I'm using KDE, like Alon. I've just noticed that Alon uses kernel 2.6.18. Could this be related with his need for dbus-062?

Ohh, and now, reading the bug reports once again, I see that you don't support vmware-server built in console, just vmware-server-console. And I *don't* have vmware-server-console emerged, seems like I'm using the built in one, and it works without problems with dbus 0.61-r1

shuttle ~ # which vmware
shuttle ~ # equery b /opt/vmware/server/bin/vmware
[ Searching for file(s) /opt/vmware/server/bin/vmware in *... ]
app-emulation/vmware-server- (/opt/vmware/server/bin/vmware)

Here is my emerge --info, if it helps.


shuttle ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17
-gentoo-r8 i686)
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Tue, 24 Oct 2006 04:00:03 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
CFLAGS="-march=k8 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr
/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf
/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fvisibility-inlines-hidden"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox s
fperms strict"
ntoo/ "
LINGUAS="en_GB ro"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                     --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d                    istfiles' --exclude='/local' --exclude='/packages'"
USE="x86 3dnow X a52 aac acl acpi alsa arts audiofile berkdb bitmap-fonts blueto                    oth bzip2 cairo caps cdparanoia cdr cjk cli cracklib crypt cups dbus dga dlloade                    r dri dv dvd dvdr dvdread elibc_glibc emboss encode exif fam fbcon ffmpeg firefo                    x flac flash gd gdbm gif gphoto2 gpm gstreamer gtk2 hal ieee1394 imagemagick ima                    p innodb input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog                     jabber jack java javascript jikes jpeg jpeg2k kde kdeenablefinal kernel_linux le                    sstif libg++ linguas_en_GB linguas_ro lm_sensors mad maildir mbox mcal mikmod mm                    x mng mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin offensive o                    gg opengl pam pcre pda perl png ppds pppd prelude python qt3 quicktime readline                     reflection ruby samba sasl scanner sdl session skey slang snmp spell spl sqlite                     sqlite3 sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fo                    nts udev unicode usb userland_GNU v4l vhosts video_cards_nvidia vorbis wifi win3                    2codecs xcomposite xine xml xorg xosd xv xvid yahoo zlib"