VirtualBox

Opened 17 years ago

Closed 17 years ago

Last modified 14 years ago

#402 closed defect (fixed)

Guest-Additions don't work under Host Xubuntu 7.04 AMD64 Guest Kubuntu 7.04 or 7.10 -> fixed in SVN/1.5.0

Reported by: Cortexbuster Owned by:
Component: other Version: VirtualBox 1.4.0
Keywords: Xubuntu 7.04 AMD64 Guest Kubuntu 7.04 or 7.10 Cc:
Guest type: other Host type: other

Description

I can install Kubuntu 7.04 or Kubuntu 7.10 on a virtual machine. The host system is Xubuntu 7.04 wit latest updates. Everything works fine until I install guest additions with:

sh ./VBoxLinuxAdditions.run

Everything seems to work fine until I reboot. KDE login appears. When I log in KDE goes blank, and the login screen apperas again. Dmesg says:

mtrr: your processor doesn't support write combining

Could this possibly be a hardware error since write combining is disabled in the host's bios? The guest shouldn't see anything of the host's hardware except the CPU, should he? Or is it a software incompatibility?

Attachments (2)

Xorg.0.log (19.4 KB ) - added by Cortexbuster 17 years ago.
Client's Xorg.0.log
Xorg.0.2.log (18.7 KB ) - added by Cortexbuster 17 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 by Frank Mehnert, 17 years ago

Please attach the /var/log/Xorg.0.log of your guest.

by Cortexbuster, 17 years ago

Attachment: Xorg.0.log added

Client's Xorg.0.log

comment:2 by Frank Mehnert, 17 years ago

The mtrr message is harmless. It just means that VirtualBox does not emulate MTRRs but they aren't really needed. The last message of your log is interesting, maybe an SELinux issue?

comment:3 by Michael Thayer, 17 years ago

The last message often occurs when there is a problem with X11 setup (such as with the .Xauthority file - see http://forums.macosxhints.com/archive/index.php/t-4142.html). It has also been seen on Ubuntu systems with broken NVidia driver installations - http://ubuntuforums.org/showthread.php?t=193670 (I assume that you did not attempt to install an NVidia driver in the virtual machine?) Not sure why installing the guest additions should cause it though.

comment:4 by Cortexbuster, 17 years ago

The host has a onboard NVidia graphics card, but I didn't install those drivers in the virtual machine. The only thing I did was installing Kubuntu using the Live CD and afterwards installing the guest additions. Nothing more. I'll check on the .Xauthority thing even though it seems kind of strange to me. I already installed both versions (7.04 and 7.10) twice from scratch. The error remains the same.

in reply to:  description comment:5 by oblivion, 17 years ago

I had the exact same problems as reported by Cortexbuster with kubuntu 7.04 as guest. Here's how I fixed it.

After installing the guest additions, open /etc/X11/Xsession.d/98vboxadd-xclient and substitute the last line:

/usr/bin/vboxadd-xclient

with

/usr/bin/vboxadd-xclient || true

vboxadd-xclient is linked against libstdc++.so.5, whereas ubuntu has libstdc++.so.6. Thus, it returns != 0 and prevents further startup of the X session. (The files under /etc/X11/Xsession.d are sourced, not executed!).

comment:6 by Cortexbuster, 17 years ago

Great :-) Thanks oblivion, after changing that line it finally works.

comment:7 by Frank Mehnert, 17 years ago

libstdc++-5 / libstdc++-6 actually depends on the version. The guest additions contained in VirtualBox compiled for newer distributions (Ubuntu Feisty, Debian Etch) depend on libstdc++-6, the guest additions in VirtualBox-1.4.0.run depend on libstdc++-5.

comment:8 by Frank Mehnert, 17 years ago

VirtualBox 1.4.2 will contain a vboxadd-xclient binary statically linked against libstdc++.

comment:9 by Cortexbuster, 17 years ago

Well, after installing Gutsy once again I encountered another problem: After installing the guest additions kdm doesn't start anymore. After booting I get a console login. I attached another Xorg.0.log

by Cortexbuster, 17 years ago

Attachment: Xorg.0.2.log added

comment:10 by Frank Mehnert, 17 years ago

This is probably the same problem as with Fedora 7. Please could you try to add

Section "ServerFlags"
    Option      "Xinerama" "true"
EndSection

to /etc/X11/xorg.conf of your guest and reboot the guest again?

comment:11 by Sander van Leeuwen, 17 years ago

Summary: Guest-Additions don't work under Host Xubuntu 7.04 AMD64 Guest Kubuntu 7.04 or 7.10Guest-Additions don't work under Host Xubuntu 7.04 AMD64 Guest Kubuntu 7.04 or 7.10 -> fixed in SVN/1.5.0

comment:12 by Sander van Leeuwen, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use