[Bug 950877] New: GNOME does not start in Virtualbox
http://bugzilla.opensuse.org/show_bug.cgi?id=950877 Bug ID: 950877 Summary: GNOME does not start in Virtualbox Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 RC1 1 Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: arnold.mesper@mailinator.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 652011 --> http://bugzilla.opensuse.org/attachment.cgi?id=652011&action=edit GNOME cannot start GNOME does not start when openSUSE Leap 42.1 RC1 (openSUSE-Leap-42.1-DVD-x86_64-Build0235-Media.iso) is installed in Virtualbox. During the boot it switches from graphical boot to textual boot and stops at "Reached target Graphical Interface." (see attached screenshot). I did a standard install, i.e. only changed the language from German to English, otherwise just clicked on next. Host is openSUSE 13.2 using VirtualBox 5.0.6. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c1
--- Comment #1 from Arnold Mesper
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c2
--- Comment #2 from Arnold Mesper
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c3
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c4
--- Comment #4 from Arnold Mesper
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c5
--- Comment #5 from Arnold Mesper
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c6
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c7
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c8
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c9
Dominique Leuenberger
Well, who takes care about the virtualbox X driverin virtualbox package?
That's the reason I already added Larry to CC; in this case he might actually be the appropriate assignee even -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c10
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c11
--- Comment #11 from Dominique Leuenberger
setuid root Xorg server wrapper
This package provides a wrapper for the Xorg X server, which is necessary for >legacy drivers and non-Linux kernels.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c12
--- Comment #12 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c15
--- Comment #15 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c16
--- Comment #16 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
Andrei Borzenkov
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c17
--- Comment #17 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c18
--- Comment #18 from Dominique Leuenberger
I installed lightdm and changed /etc/sysconfig/displaymanager as suggested in comment #14, but Gnome still did not work. Any other suggestions?
Any other proposed workarounds?
Bjorn just 'played' with this as well: * using lightdm, gnome fires up * using gdm, if X is setuid root, all works fine (as expected, as it then gets access to the devices). So likely, porting the video driver to support server managed fds, as above patch by Redhat for Fedora, is really going to help -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c19
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c20
--- Comment #20 from Andrei Borzenkov
so I suggest to add to the release notes that users should not use GDM inside virtualbox, but switch to lightdm in this case (GNOME itself is fine).
What about Live GNOME? Currently it is unusable as GUI never starts. Even worse, it constantly flickers between vts making doing anything useful near to impossible (tried TW Live GNOME couple of days ago on VB 5.0.6). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c21
--- Comment #21 from Alpár Jüttner
so I suggest to add to the release notes that users should not use GDM inside virtualbox, but switch to lightdm in this case (GNOME itself is fine).
I believe that for most users (well, for me at least) it is pretty much irrelevant which display manager is in use. But it gives a _very bad_ impression when you test the new release in VirtualBox, choose GNOME during the install (for being it is your primary choice of desktop environment), then the whole system renders practically unusable. I would be very reluctant to switch to OpenSuse Leap/Tumbleweed after this experience. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c22
--- Comment #22 from Dominique Leuenberger
But it gives a _very bad_ impression when you test the new release in VirtualBox, choose GNOME during the install (for being it is your primary choice of desktop environment), then the whole system renders practically unusable.
VirtualBox is certainly not the most preferred and error free virtualization environment... GNOME Boxes for example uses kvm/qemu below, which does not have that issue.. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c23
--- Comment #23 from Dominique Leuenberger
(In reply to Dominique Leuenberger from comment #19)
so I suggest to add to the release notes that users should not use GDM inside virtualbox, but switch to lightdm in this case (GNOME itself is fine).
What about Live GNOME? Currently it is unusable as GUI never starts. Even worse, it constantly flickers between vts making doing anything useful near to impossible (tried TW Live GNOME couple of days ago on VB 5.0.6).
LIVE GNOME? Does not exist on Leap hence no issue found -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c24
--- Comment #24 from Alpár Jüttner
VirtualBox is certainly not the most preferred and error free virtualization environment... GNOME Boxes for example uses kvm/qemu below, which does not have that issue..
It may be true, but the vast majority of people still use VirtualBox, not qemu. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c25
--- Comment #25 from Andrei Borzenkov
LIVE GNOME? Does not exist on Leap hence no issue found
Should I clone this bug for TW then? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c26
--- Comment #26 from Alpár Jüttner
(In reply to Dominique Leuenberger from comment #23)
LIVE GNOME? Does not exist on Leap hence no issue found
Should I clone this bug for TW then?
It already exists, see bug 948383. What's more, it is actually closed for being a duplicate of this bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c27
--- Comment #27 from Dominique Leuenberger
@GNOME guys: X guys had a discussion about this and we want to make clear, that we won't go the Debian route with this crappy Xserver wrapper. It's up to gdm developers (how) to address that. In case you plan to address it at all. AFAIK the changes came from upstream (=RH) and likely they didn't address it at all. Reassigning ...
@frustrated reporters: switch to another DM like lightdm (/etc/sysconfig/displaymanager:DISPLAYMANAGER (same package name to install).
Fedora/RedHat also uses the suid wrapper around Xorg (even default installed). Debian has it as an optional package (not installed by default) openSUSE does not offer it at all.. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c28
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c30
Stefan Dirsch
the GNOME Team analysed what other distros do.
Fedora ships the SUID Wrapper for this case (fix installed)
Interesting.
openSUSE's Xorg team wants X-running as non-root (we got rid of suid on Xorg a while back) but relies on the DM starting X as root
This sounds like a misunderstanding/miscommunication. We're fine to go this path for TW, if usptream fixes the remaining issues with UMS drivers (not only virtualbox; vesa/fbdev - ourfallback drivers - are affected as well!). Since Leap is considered a stable product based on sle12, we need to run gdm as root again or replace gdm completely by lightdm.
and the X.org team sees more trouble in the SUID wrapper (provided as part of the Xorg server source code!) than other distros do (incl. Debian).
Yes, the wrapper is no option for us. Reassigning back to GNOME team. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c31
Dominique Leuenberger
openSUSE's Xorg team wants X-running as non-root (we got rid of suid on Xorg a while back) but relies on the DM starting X as root
This sounds like a misunderstanding/miscommunication. We're fine to go this path for TW, if usptream fixes the remaining issues with UMS drivers (not only virtualbox; vesa/fbdev - ourfallback drivers - are affected as well!). Since Leap is considered a stable product based on sle12, we need to run gdm as root again or replace gdm completely by lightdm.
Neither the GNOME Stack nor the X-Stack bear any resemblance to SLE12SP1... SLE12 is way outdated in both areas. But I see, the issue at hand is that GDM is dropping privileges to get X up as a user.. and that added security is not welcome (yet) @coolo: are you fine with reverting to GDM 3.14.x ? Alternatively, gdm based systems will not work on platforms like virtualbox) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c32
--- Comment #32 from Dominique Leuenberger
@coolo: are you fine with reverting to GDM 3.14.x ? Alternatively, gdm based systems will not work on platforms like virtualbox)
To clarify: this is not a blind shot: I did test this combination in my Leap virtualbox VM already. gdm 3.14.2 builds as-is on Leap and can just replace gdm 3.16.x for now. The biggest difference is that it does not do the privilege drop before starting X, this circumventing this issue (but we should be happy we had 3.16: without it, that old xdm bug would never have been found/fixed) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c34
--- Comment #34 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c35
--- Comment #35 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c36
--- Comment #36 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c37
Dominique Leuenberger
1. According to comment #33, the rollback to gdm 3.14.2 has already been submitted. If accepted, that takes care of the short-term requirements.
This has happened: the next published Leap 42.1 FTP Tree will have gdm 3.14.2 again. So the tasks the GNOME Team can do are completed. I suggest to create new bugs per video driver that needs to be fixed and closing this one. (removing coolo's needinfo: he accepted the gdm 3.14.2 revert into Leap, so he was obviously pro the suggestion) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c38
--- Comment #38 from Andrei Borzenkov
Please check https://en.opensuse.org/index.php?title=openSUSE:Most_annoying_bugs_42. 1_dev&action=submit to verify that my wording is correct.
it says "replace sddm with lightdm" - did you mean "gdm"? Also TaST is probably a typo. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c39
--- Comment #39 from Dominique Leuenberger
(In reply to Larry Finger from comment #35)
Please check https://en.opensuse.org/index.php?title=openSUSE:Most_annoying_bugs_42. 1_dev&action=submit to verify that my wording is correct.
it says "replace sddm with lightdm" - did you mean "gdm"? Also TaST is probably a typo.
I fixed both typos already (cur | prev) 07:28, 23 October 2015 Dimstar (Talk | contribs) m . . (1,037 bytes) (-1) . . (→openSUSE 42.1 RC1) (undo) Considering it's a wiki - you could have done the same -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
Akos Ladanyi
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c40
--- Comment #40 from Arnold Mesper
Too bad that my time zone puts me behind on all this discussion, but I am certain that we wish to support installation of our products as guests in VirtualBox. VB has its warts, but it is familiar.
Just one suggestion from my side with regards to supporting VMs: I would put support for VirtualBox and VMware Player a top priority for every release. I think many users like me, who evaluate moving from Windows to Linux, will first test the installation in VirtualBox / VMware. If that is not working they will go away, as they will not trust it to work in a real environment, if it is not even working in something as "simple" (from an end-user point of view ;-))as a virtual environment. Btw, the possibility to run Linux desktops in multiple VMs (without additional costs, which would be the case with Windows), was the main reason why I even started to evaluate migrating to Linux. I intend to separate the internet facing applications from e.g. the office suite or the image processing applications. If that is not working, then - at least for me - it would make no sense to switch to Linux. And using GNOME Boxes instead is, as far as I understand, not really an option as the graphics performance is slower than that of a VM in VirtualBox, especially with multiple VMs running simultaneously. Missing functionality (seamless mode, shared folders, drag&dropetc.) are other reasons why Boxes is IMHO not an alternative to VirtualBox yet. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c41
--- Comment #41 from Larry Finger
Just one suggestion from my side with regards to supporting VMs: I would put support for VirtualBox and VMware Player a top priority for every release. I think many users like me, who evaluate moving from Windows to Linux, will first test the installation in VirtualBox / VMware. If that is not working they will go away, as they will not trust it to work in a real environment, if it is not even working in something as "simple" (from an end-user point of view ;-))as a virtual environment.
I understand the need for using VMs, and I had tested that Leap 42.1 worked in a VB VM using KDE. I had no way of knowing that the update of gdm to 3.16.x would break vboxvideo. At least this issue will be fixed for Leap GM and in a near-future Tumbleweed release. BTW, if you are unhappy with the way I maintain VirtualBox, I would be more than happy to turn it over to you. :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c42
--- Comment #42 from Arnold Mesper
(In reply to Arnold Mesper from comment #40)
Just one suggestion from my side with regards to supporting VMs: I would put support for VirtualBox and VMware Player a top priority for every release. I think many users like me, who evaluate moving from Windows to Linux, will first test the installation in VirtualBox / VMware. If that is not working they will go away, as they will not trust it to work in a real environment, if it is not even working in something as "simple" (from an end-user point of view ;-))as a virtual environment.
I understand the need for using VMs, and I had tested that Leap 42.1 worked in a VB VM using KDE. I had no way of knowing that the update of gdm to 3.16.x would break vboxvideo. At least this issue will be fixed for Leap GM and in a near-future Tumbleweed release.
BTW, if you are unhappy with the way I maintain VirtualBox, I would be more than happy to turn it over to you. :)
Larry, I appologize, if my suggestion was interpreted as rude critic as it wasn't intended to be. I just wanted to emphasize Alpárs comment #21. All you guys here do a great job - as an end-user, without technical skills, I highly appreciate and admire the efforts you put into delivering openSUSE! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c43
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c44
--- Comment #44 from Alpár Jüttner
The eminent issue for Leap 42.1 is resolved [...]
Is this fix available in Tumbleweed, too? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c45
--- Comment #45 from Dominique Leuenberger
(In reply to Dominique Leuenberger from comment #43)
The eminent issue for Leap 42.1 is resolved [...]
Is this fix available in Tumbleweed, too?
This is a LEAP bug fix - for TW, the downgrade of gdm is not yet executed. The usefulness of TW inside virtualbox is more questionable - if you use TW, it's likely not to 'just find out if it works'. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c46
--- Comment #46 from Arnold Mesper
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c47
--- Comment #47 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=950877
http://bugzilla.opensuse.org/show_bug.cgi?id=950877#c48
Michael Thayer
participants (1)
-
bugzilla_noreply@novell.com