I haven’t installed VirtualBox modules, I guess they are installed by Tumbleweed.
This is the list of packages installed on the VirtualBox host machine. The host machine is a OpenSuse Leap 42.1. I have other virtual machines running properly on it.
I found this bug related to my problem. It seems that only happens when you install Tumbleweed with Gnome as default desktop in VirtualBox, as it happens to me.
Yes, it’s a “bug” in GDM, it doesn’t work with video drivers that don’t support KMS (e.g. vboxvideo, vesa, fbdev), because it runs Xorg as unprivileged user so it has insufficient rights to actually access the graphics card.
Use a different display manager (e.g. lightdm, kdm, sddm) and it should work.
On Sat, 19 Dec 2015 18:16:02 +0000, wolfi323 wrote:
> feliciano28;2743889 Wrote:
>> I found this ‘bug’
>> (https://bugzilla.opensuse.org/show_bug.cgi?id=929697) related to my
>> problem. It seems that only happens when you install Tumbleweed with
>> Gnome as default desktop in VirtualBox, as it happens to me.
>
> Yes, it’s a “bug” in GDM, it doesn’t work with video drivers that don’t
> support KMS (e.g. vboxvideo, vesa, fbdev), because it runs Xorg as
> unprivileged user so it has insufficient rights to actually access the
> graphics card.
>
> Use a different display manager (e.g. lightdm, kdm, sddm) and it should
> work.
Another option would probably be to do what Sebastien added to the ATI
driver package - modifying the permissions on /usr/bin/X. Looking at the
script, the fix he uses is:
The workaround I’ve been using is to boot to runlevel 3 and then sudo -s and startx which then lets me in. Will see if the
chmod ug+s /usr/bin/X has the same effect
OK, but the install doesn’t work out of the box on a popular free virtualisation system - surely if we want users to try and use linux, there needs to be some form of capturing of this, either at install time, or when it occurs advising what a user can do to bypass the security measure and actually use the product they’ve downloaded?
Just to be clear here: this affects only Tumbleweed, and only if you use gdm (i.e. a default GNOME installation).
For Leap 42.1 gdm has been downgraded to 3.14 shortly before the release to prevent this problem.
A discussion about how to fix the actual problem (and not workaround it by reopening a security hole that was closed years ago) is going on here: http://lists.opensuse.org/opensuse-gnome/2016-01/msg00010.html
In the special case of VirtualBox/vboxvideo, work is going on by the VirtualBox developers to “port” vboxvideo to support KMS which would make this work again out of the box without running Xorg as root.