VirtualBox

Ticket #1699 (new defect)

Opened 5 months ago

Last modified 2 months ago

VBoxClient does not start automatically on some Linux guests (1.6.2 regression)

Reported by: ademar Assigned to:
Priority: major Component: guest additions
Version: VirtualBox 1.6.2 Keywords:
Cc: Guest type: Linux
Host type: other

Description

I've upgraded virtualbox from 1.6.0 to 1.6.2 (including guest-additions) and now I'm stuck at 1024x768 on my linux guest (on a 1920x1200 monitor!). I have "Auto resize guest display" turned on and on 1.6.0 it worked fine: I could used xrandr or start the X server with the correct resolution.

I'm using OS-X 10.4 on a Macbook pro. My guest is a Mandriva Linux 2008.1. Virtualbox 1.6.2 (including guest additions), installed from virtualbox.org.

I followed the procedures from tickets #1689 and #1691 (apparently related to this bug), but they didn't solve my problem.

I also tried to debug the problem with someone from IRC (who reviewed all the guest-additions installation, my vm configuration and the VBoxManage commands), without success. :-(

Again, it was working without any problem with 1.6.0 (I use the guest daily, it's my desktop and development platform).

Change History

06/10/08 17:13:36 changed by ademar

In the meantime, does anybody know where I can download virtualbox 1.6.0 for OS-X? It would be nice to be able to work until this is sorted out. :-)

(on the sun site only 1.6.2 is available)

06/10/08 17:36:14 changed by ademar

michael-vb (@IRC) nailed the issue: VBoxClient is not being started for some reason (was it being started in 1.6.0 or was it working here for some other reason? I don't know).

So, starting VBoxClient by hand solves the problem (it now works like a charm). :-)

I'll keep this ticket open as the fix requires manual intervention and probably affect other users as well. The bug can now be described as "VBoxClient is not started by default on my linux guest".

06/11/08 09:23:47 changed by michael

  • summary changed from limited screen resolution on os-x host (1.6.2 regression) to VBoxClient does not start automatically on a Mandriva 2008.1 guest (1.6.2 regression).

06/11/08 23:38:27 changed by ademar

The correct way to start VBoxClient on Mandriva Linux (and probably other linux distros as well), so that it's called no matter what window manager is used, is by adding a script in /etc/X11/xinit.d/ with a VBoxClient call.

07/07/08 20:37:07 changed by frank

  • guest changed from other to Linux.

07/10/08 15:09:28 changed by ademar

BTW, just tested with Ubuntu Linux 8.04 (latest) and it has the exact same problem (VBoxClient is not started).

Could someone please update the bug title?

07/10/08 15:15:36 changed by frank

  • owner changed.
  • component changed from other to guest additions.
  • summary changed from VBoxClient does not start automatically on a Mandriva 2008.1 guest (1.6.2 regression) to VBoxClient does not start automatically on some Linux guests (1.6.2 regression).

07/11/08 15:19:11 changed by michael

Sorry for the delay in answering. It looks like the problem, at least on Mandriva 2008.1, is that they install the VirtualBox guest additions (in an older version) by default, but their installation interferes with ours. Specifically, the /dev/vboxadd device is owned by user vbox by default, and we assume that it is owned by user vboxadd.

07/11/08 15:56:53 changed by ademar

I don't have guest-additions from Mandriva installed. I'm quite sure that even if it was indeed installed (by default), I removed it before proceeding, as I reviewed the guest-additions installation steps several times to make sure it was not a stupid error from my side. Permissions on /dev/vboxadd are OK.

On Ubuntu 8.04 (see previous comment), there's no virtualbox package installed either.

I think the problem is that VBoxClient is not being started because it's in the wrong place (it should be called by the xinit/xdm scripts but it's not). In both distributions, if I start VBoxClient by hand, things work as expected.

09/10/08 14:43:53 changed by frank

Does this problem still persist? Starting with 1.6.6, there shouldn't be a startup issue for Mandriva anymore. And we were never able to reproduce problems with Ubuntu.

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy