VirtualBox 5.1 doesn't start on EL 6 host

Discussions related to using VirtualBox on Linux hosts.
Post Reply
HarryMan
Posts: 113
Joined: 15. Jan 2014, 13:54
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: devuan, MX-Linux, others

VirtualBox 5.1 doesn't start on EL 6 host

Post by HarryMan »

I tried upgrading to VirtualBox 5.1, which completed OK, but when I go to actually launch it (from command line), it says:

Code: Select all

virtualbox Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin "xcb".  Available platform plugins are: xcb.  Reinstalling the application may fix this problem. Aborted
(I think it is a bit more formatted, though, in the actual rendition, iIRC.)

The host platform is EL 6 (Scientific, to be exact). Apparently, I have qt3 or so, and it looks like VBox 5.1 needs qt5? I looked around, and it seems EL6 does not have support for qt5.

Just FYI, I rolled back to 5.0, and it appears to be working OK. I've been using 5.0 for many weeks without much issue (though my Mageia no longer works, but that's a different issue).

Thank you for assistance.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox 5.1 doesn't start on EL 6 host

Post by socratis »

HarryMan wrote:Apparently, I have qt3 or so, and it looks like VBox 5.1 needs qt5?
That would be absolutely true. VirtualBox 5.1 and later will require QT5. Take a look at the release notes for 5.1, where they state "GUI: overall migration to Qt5 (bug #11775)".
HarryMan wrote:it seems EL6 does not have support for qt5.
In that case I would stick to the 5.0.x series, until EL6 gets an update to its QT libraries.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox 5.1 doesn't start on EL 6 host

Post by Perryg »

You can always install from source. https://wiki.qt.io/How_to_Install_Qt_5_ ... n_CentOS_6
0x0000.ru
Posts: 6
Joined: 17. Jul 2016, 00:01

Re: VirtualBox 5.1 doesn't start on EL 6 host

Post by 0x0000.ru »

I have exactly the same error, but I run on Ubuntu 14.04.4 LTS, which should be officially supported. Deb package comes with the built-in libraries qt5, but it works only with the following command:

Code: Select all

P=/usr/lib/virtualbox; sudo LD_LIBRARY_PATH=$P:$P/plugins/platforms $P/VirtualBox
I note that only runs using sudo.
Post Reply