Bug 18256 - X won't start in VirtualBox
Summary: X won't start in VirtualBox
Status: RESOLVED DUPLICATE of bug 18724
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords: 6sta1
: 18337 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-25 07:58 CEST by Adrien D
Modified: 2016-07-06 21:46 CEST (History)
8 users (show)

See Also:
Source RPM: virtualbox-5.0.18-1.mga6.src.rpm (x11-driver-video-vboxvideo)
CVE:
Status comment:


Attachments
Picture to illustrate the problem (9.08 KB, image/png)
2016-04-25 08:01 CEST, Adrien D
Details
xorg.conf generated during installation (1.53 KB, text/plain)
2016-06-18 16:16 CEST, PC LX
Details
xorg.conf generated by "Xorg -configure" (1.54 KB, text/plain)
2016-06-18 16:16 CEST, PC LX
Details
log file of "Xorg -config xorg.conf.install" (4.59 KB, text/plain)
2016-06-18 16:17 CEST, PC LX
Details
log file of "Xorg -config xorg.conf.new" (3.91 KB, text/plain)
2016-06-18 16:17 CEST, PC LX
Details
log fine of "Xorg" without config file. (25.44 KB, text/plain)
2016-06-18 16:18 CEST, PC LX
Details

Description Adrien D 2016-04-25 07:58:43 CEST
Hi team Mageia

Description of problem:
Since 1 week, Mageia Cauldon can't start X.

Version-Release number of selected component (if applicable):
I don't know if it's kernel, X, MESA or other component.
I try to use vesa, same problem.
Here, a photo of my screen to see the message (too long to write it here)


How reproducible:

Steps to Reproduce:
1. Update Cauldron
2. Reboot
3 .See

Can you fix it ?
Comment 1 Adrien D 2016-04-25 08:01:17 CEST
Created attachment 7694 [details]
Picture to illustrate the problem

CC: (none) => ghbdtn

Comment 2 David GEIGER 2016-04-25 09:15:33 CEST
Hi,

I confirm this issue, same here on my Cauldron for x86_64 in a VB.

Since I have updated my Cauldron yesterday I get this issue. Probably an xorg or vbox driver problem.

CC: (none) => geiger.david68210
Source RPM: i-dont-know.rpm => x11-driver-video-vboxvideo

Comment 3 Adrien D 2016-04-25 11:33:00 CEST
I think it's a problem with VirtualBox Video Driver.

I have Video if I made that : 
urpme x11-driver-video-vboxvideo
and install vbox additions from official image downloaded from Oracle Website.
Adrien D 2016-04-25 11:33:21 CEST

Assignee: bugsquad => tmb

Adrien D 2016-04-25 11:34:45 CEST

Source RPM: x11-driver-video-vboxvideo => virtualbox-5.0.18-1.mga6.src.rpm (x11-driver-video-vboxvideo)

Rémi Verschelde 2016-04-25 13:18:16 CEST

Summary: X won't start => X won't start in VirtualBox

Comment 4 Nicolas Salguero 2016-04-25 13:56:59 CEST
Hi,

I had the same problem and found a solution by searching on the web: I had to remove "/etc/X11/xorg.conf" file (actually, I moved that file into "/etc/X11/xorg.conf.save").

Best regards,

Nico.

CC: (none) => nicolas.salguero

Comment 5 Rémi Verschelde 2016-04-25 17:20:45 CEST
Could one of you provide a diff between /etc/X11/xorg.conf.save and /etc/X11/xorg.conf? That might help narrow down the issue.
Comment 6 Nicolas Salguero 2016-04-25 20:39:49 CEST
I have no /etc/X11/xorg.conf file anymore (mv /etc/X11/xorg.conf /etc/X11/xorg.conf.save).
Comment 7 Rémi Verschelde 2016-04-25 21:02:41 CEST
Ah, I assume a new one would be initialized when booting, but I guess nowadays Xorg can boot without this file.
Comment 8 Adrien D 2016-04-27 20:55:43 CEST
OK.

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old => solve the problem.

And

[root@localhost ~]# LANG=C diff -rus /etc/X11/xorg.conf.old /etc/X11/xorg.conf
diff: /etc/X11/xorg.conf: No such file or directory
Comment 9 Marja Van Waes 2016-05-03 16:11:51 CEST
*** Bug 18337 has been marked as a duplicate of this bug. ***

CC: (none) => shlomif

Marja Van Waes 2016-05-03 16:13:53 CEST

Keywords: (none) => 6sta1
CC: (none) => marja11

Comment 10 Shlomi Fish 2016-05-03 16:17:35 CEST
It happens with both 6sta1 x86-64 and 6st1 i586 VMs.
Comment 11 Shlomi Fish 2016-05-03 16:26:50 CEST
(In reply to Nicolas Salguero from comment #6)
> I have no /etc/X11/xorg.conf file anymore (mv /etc/X11/xorg.conf
> /etc/X11/xorg.conf.save).

I can confirm that moving away the file fixes the problam in 6sta1 i586 Classic DVD. However, after that I have a problem that the networking does not work until I do "service shorewall stop" as root.
Comment 12 Stéphane Couturier 2016-05-21 21:42:12 CEST
Hi,

Thanks for the tip (mv /etc/X11...) to get X to start.

For the network issue, another workaround is to go to the Network center, configure the connection, and allow users to manage it. Then I disconnect and reconnect it. And the network is up.

CC: (none) => mageia

Comment 13 PC LX 2016-06-18 16:15:29 CEST
I've encountered the same issue.

Installing from Mageia-Cauldron-netinstall-nonfree-x86_64.iso into VirtualBox results in a system with broken Xorg configuration. The file Xorg.0.log shows some errors.

$ grep EE Xorg.0.log 
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1040.289] (EE) Failed to load module "vboxmouse" (module does not exist, 0)
[  1040.308] (EE) No devices detected.
[  1040.308] (EE) 
[  1040.308] (EE) no screens found(EE) 
[  1040.310] (EE) 
[  1040.310] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1040.310] (EE) 


Executing "Xorg -configure" and then trying to execute "Xorg -config /root/xorg.conf.new" also fails.

Removing the file /etc/X11/xorg.conf and then executing "startx" starts Xorg for a few seconds but then terminates without showing the desktop.
Executing "Xorg" starts Xorg and then to start Plasma I execute "DISPLAY=:0 startkde".


Will attach the following files:

xorg.conf.install     - config file generated during installation
xorg.conf.new         - config file generated by "Xorg -configure"

Xorg.0.log.install    - log file of "Xorg -config xorg.conf.install"
Xorg.0.log.new        - log file of "Xorg -config xorg.conf.new"
Xorg.0.log.noconfig   - log fine of "Xorg" without config file.


Guest package versions:

# rpm -qa | grep -Ei 'kernel|virtualbox|vbox' | sort

kernel-desktop-4.6.2-1.mga6-1-1.mga6
kernel-desktop-latest-4.6.2-1.mga6
kernel-firmware-20160409-1.mga6
kernel-firmware-nonfree-20160516-1.mga6.nonfree
vboxadditions-kernel-4.6.2-desktop-1.mga6-5.0.22-1.mga6
vboxadditions-kernel-desktop-latest-5.0.22-1.mga6
virtualbox-guest-additions-5.0.22-1.mga6
x11-driver-video-vboxvideo-5.0.22-1.mga6



Host package versions:

$ rpm -qa | grep -Ei 'kernel|virtualbox|vbox' | sort
kernel-desktop-4.4.13-1.mga5-1-1.mga5
kernel-desktop-devel-4.4.13-1.mga5-1-1.mga5
kernel-desktop-devel-latest-4.4.13-1.mga5
kernel-desktop-latest-4.4.13-1.mga5
kernel-firmware-20160409-1.mga5
kernel-firmware-nonfree-20160516-1.mga5.nonfree
kernel-userspace-headers-4.4.13-1.mga5
nvidia340-kernel-desktop-latest-340.96-6.mga5.nonfree
virtualbox-5.0.22-1.mga5
virtualbox-kernel-4.4.13-desktop-1.mga5-5.0.22-1.mga5
virtualbox-kernel-desktop-latest-5.0.22-1.mga5
x11-driver-video-vboxvideo-5.0.22-1.mga5

CC: (none) => mageia

Comment 14 PC LX 2016-06-18 16:16:15 CEST
Created attachment 8021 [details]
xorg.conf generated during installation
Comment 15 PC LX 2016-06-18 16:16:49 CEST
Created attachment 8022 [details]
xorg.conf generated by "Xorg -configure"
Comment 16 PC LX 2016-06-18 16:17:16 CEST
Created attachment 8023 [details]
log file of "Xorg -config xorg.conf.install"
Comment 17 PC LX 2016-06-18 16:17:41 CEST
Created attachment 8024 [details]
log file of "Xorg -config xorg.conf.new"
Comment 18 PC LX 2016-06-18 16:18:11 CEST
Created attachment 8025 [details]
log fine of "Xorg" without config file.
Comment 19 tu kozaki 2016-07-05 12:34:28 CEST
Woow, this issue still exists when booting Mageia 6 sta1 Netinstall that I installed yesterday evening in a VM (VESA driver, 1024x768px).

Screenshot upon first boot after install : http://pic.al/sHd

Solved as per comment #4.

CC: (none) => tukozaki

Comment 20 David Walser 2016-07-06 21:46:32 CEST
Sometimes the "nomodeset" option on the kernel command line helps too.

*** This bug has been marked as a duplicate of bug 18724 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.