Virtualbox 6.0, crashes immediately on ubuntu 18.10

Discussions related to using VirtualBox on Linux hosts.

Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby rjhanson » 24. Dec 2018, 22:29

Hello all,
I tried to use virtualbox 6.0 on my HP desktop with ubuntu 18.10 and got this error:

Gdk-Message: 15:07:01.955: VirtualBox: Fatal IO error 0 (Success) on X server :0.

I installed virtualbox 6.0 on my laptop and it works just fine. I tried all the tricks I could find on the net with no success. I returned to virtualbox 5.2 and it works perfectly. What changed that 6.0 does not work on my desktop computer?

Thanks

Richard
rjhanson
 
Posts: 5
Joined: 4. Aug 2010, 19:37
Primary OS: Ubuntu 8.10
VBox Version: OSE other
Guest OSses: windows 7 Pro

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby socratis » 25. Dec 2018, 03:10

rjhanson wrote:What changed that 6.0 does not work on my desktop computer?

I'll reverse the question; what's different between your laptop and your desktop?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25316
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby rjhanson » 31. Dec 2018, 14:40

Good question. Both are running ubuntu 18.10. Laptop is a lenovo Z50 with AMD A10 processor. Desktop is a hp pavillion with AMD Ryzen 3 processor.

I built them so they have the same programs as the laptop is for travel.
rjhanson
 
Posts: 5
Joined: 4. Aug 2010, 19:37
Primary OS: Ubuntu 8.10
VBox Version: OSE other
Guest OSses: windows 7 Pro

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby kipc » 11. Jan 2019, 23:05

Same problem on fresh Ubuntu 18.10 on ASUS N551JW laptop
$ virtualbox
Gdk-Message: 21:32:35.060: VirtualBox: Fatal IO error 2 (No such file or directory) on X server :0.

$ sudo virtualbox
Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Qt WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Qt WARNING: The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO: fatal IO error 2 (No such file or directory) on X server ":0"
after 612 requests (612 known processed) with 0 events remaining.


2019-01-11-20-58-57-bugreport.tgz
(2.52 KiB) Downloaded 16 times


Anybody has a solution?
kipc
 
Posts: 3
Joined: 11. Jan 2019, 22:48

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby socratis » 12. Jan 2019, 01:32

kipc wrote:Same problem on fresh Ubuntu 18.10

I know one thing; this is not as fresh as you think or say that it is, because on a fresh Ubuntu 18.10 you won't be getting this. Something seems wrong with your Qt setup. Can you retry the installation with a fresh download from the Linux Downloads area?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25316
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby kipc » 12. Jan 2019, 23:04

I've found the cause...
It works normally after unplugging HDMI cable connected to a TV :?

socratis, thanks for help!
kipc
 
Posts: 3
Joined: 11. Jan 2019, 22:48

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby socratis » 12. Jan 2019, 23:46

kipc wrote:It works normally after unplugging HDMI cable connected to a TV
Hmm... that's rather interesting, if not straight out weird. I would suggest to turn off the audio completely and try again, but you're getting an X server error (if I read it correctly)...

kipc wrote:socratis, thanks for help!
Come on, I did nothing... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25316
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby kipc » 13. Jan 2019, 01:33

socratis wrote:
kipc wrote:It works normally after unplugging HDMI cable connected to a TV
Hmm... that's rather interesting, if not straight out weird. I would suggest to turn off the audio completely and try again, but you're getting an X server error (if I read it correctly)...

I tried to disable audio devices, but it didn't help. However, when I switch to 'Single Display' in Display Mode to work only with laptop screen - virtualbox starts normally.

Also, the error message changed and now it's actually the same as for the OP:
Gdk-Message: 00:00:12.530: VirtualBox: Fatal IO error 0 (Success) on X server :0.
kipc
 
Posts: 3
Joined: 11. Jan 2019, 22:48

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby nickbrooker » 30. Jan 2019, 19:52

It's not just Ubuntu. I have the same issue on Gentoo.

Setting it to Single Display works but mirrored or stretch crashes with the error the OP noted.

VirtualBox: Fatal IO error 0 (Success) on X server :0.
nickbrooker
 
Posts: 1
Joined: 30. Jan 2019, 19:49
Location: New Zealand
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows, Linux

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby lizaoreo » 8. Feb 2019, 03:50

kipc wrote:I've found the cause...
It works normally after unplugging HDMI cable connected to a TV :?

socratis, thanks for help!


Thanks for this. I was having the same issue on a fresh load of Linux Mint 19 and couldn't figure out what was going on. I happened to be TeamViewer'd into the computer (the first thing I loaded) but it was still plugged up via VGA to my TV. Loaded VirtualBox (the second thing I loaded) and I couldn't run it. Made no sense because I had just run it on the same exact box a few days ago while working on some documentation for building my lab up from scratch so this was my test rebuild. I unplugged that VGA cable and immediately was able to run it no problem.

Super weird.
lizaoreo
 
Posts: 1
Joined: 8. Feb 2019, 03:45

Re: Virtualbox 6.0, crashes immediately on ubuntu 18.10

Postby IansMusical » 12. May 2019, 15:40

kipc wrote:I've found the cause...
It works normally after unplugging HDMI cable connected to a TV :?

socratis, thanks for help!


I've just installed Linux Mint 19 Cinnamon on a 8th Gen NUC and the first thing I did was install VirtualBox 6. After typing virtualbox in the terminal window I saw the error:

VirtualBox: Fatal IO error 2 (No such file or directory) on X server :0.

Like for the original poster I found that removing the HDMI connection to the TV and running virtualbox blind, then reconnecting the HDMI connection caused virtualbox to run correctly. Closing and re-opening virtualbox again with the HDMI connection still present resulted in it crashing as before. I'm assuming this is a bug, is there a fix planned to something/virtualbox or do I have something incorrectly configured?

It's worth noting that on the same NUC I also have Linux Mint 19.1 Mate with VirtualBox 6 installed and it runs fine without having to mess with the HDMI connection!
IansMusical
 
Posts: 3
Joined: 12. May 2019, 15:27


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 4 guests