VirtualBox

Ticket #402 (closed defect: fixed)

Opened 11 years ago

Last modified 8 years ago

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:
Priority: major 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

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

Change History

comment:1 Changed 11 years ago by frank

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

Changed 11 years ago by Cortexbuster

Client's Xorg.0.log

comment:2 Changed 11 years ago by frank

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 Changed 11 years ago by michael

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 Changed 11 years ago by Cortexbuster

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.

comment:5 in reply to: ↑ description Changed 11 years ago by oblivion

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 Changed 11 years ago by Cortexbuster

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

comment:7 Changed 11 years ago by frank

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 Changed 11 years ago by frank

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

comment:9 Changed 11 years ago by Cortexbuster

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

Changed 11 years ago by Cortexbuster

comment:10 Changed 11 years ago by frank

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 Changed 10 years ago by sandervl73

  • Summary changed from Guest-Additions don't work under Host Xubuntu 7.04 AMD64 Guest Kubuntu 7.04 or 7.10 to Guest-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 Changed 10 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use