Page 1 of 2
virtualbox 6 on kde plasma fails to run
Posted: 22. Dec 2018, 04:52
by genec
Installed on Arch Linux. Tried running on KDE Plasma desktop and get this error:
Qt FATAL: FATAL: The application binary appears to be running setuid, this is a security hole.
Aborted
If I, root do "chmod -s VirtualBox" to remove the setuid root from the VirtualBox binary - then the GUI starts up but trying to run any VM gives an error that the effective UID needs to be root.
Is there anyway to fix this so I can run this?
thank you.
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 01:32
by socratis
genec wrote:Is there anyway to fix this so I can run this?
There could be a way if Qt isn't so restrictive. VirtualBox has been running setuid for years. Now suddenly Qt started complaining about it. You must have Qt 5.12 or something like that, right?
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 01:59
by genec
Yes QT 5.12. And was working for years just fine.
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 02:03
by genec
Googling suggests the fix is to add some code - however in this binary edition there is no source code to patch and compile.
Some suggest adding the setuidAllowed() early enough in the code:
QCoreApplication::setSetuidAllowed(true);
QCoreApplication app(argc, argv);
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 02:05
by socratis
genec wrote:Yes QT 5.12. And was working for years just fine.
You've had Qt 5.12... for years... No way!!!
https://wiki.qt.io/Qt_5.12_Release
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 02:43
by genec
You've had Qt 5.12... for years... No way!!!
Lol no - i meant it was working for years and separately i have 5.12.
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 02:48
by socratis
Yes, and the new Qt 5.12 is what's causing this.
If you want a quick fix, download the generic Linux version, the "
All distributions" one, not the one from Arch. It's self-contained, not dependent on external libs, like Qt.
Otherwise you got to talk to the Arch people, 1) they're making their own version from the source, and 2) they're good at this kind of troubleshooting...
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 04:59
by genec
I am not using the arch provided one - I am using the all distributions one from the virtualbox site actually.
(
https://download.virtualbox.org/virtual ... _amd64.run)
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 12:25
by socratis
That's interesting. The AllDistros should run without external library dependencies.
genec wrote:Installed on Arch Linux
Can you be more specific than that? Can you give me the link to the ISO of the Arch flavor that you used to install your host? Versions, WMs, DEs, the details to replicate your setup?
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 16:53
by genec
Sure - this one is running on a dell precision 5520 laptop. I use the "testing" repos and am fully up to date. Since arch is a rolling release the ISO I used was older but the current ISO which would be the 12.01 one available here:
https://www.archlinux.org/download/
With install info here:
https://wiki.archlinux.org/index.php/installation_guide
System repos (/etc/pacman.conf) I uncommented testing ones and keep up to date via command as root:
pacman -Syu
In order to install the oracle version of virtualbox I started with the aur package for vitualbox-bin which is still at 5.22 and available here [1].
I modifed the PKGBUILD file with:
pkgver=6.0.0
_build=127566
_rev=76342
and built using makepkg and installed. The vboxdrv kernel module is built and installed via dkms.
Is that sufficient detail?
thanks.
[1]
https://aur.archlinux.org/packages/virtualbox-bin
Re: virtualbox 6 on kde plasma fails to run
Posted: 23. Dec 2018, 17:04
by genec
Also for desktop I installed plasma-meta package. I.e.once the base install I installed a bunch of additional packages via pacman including plasma-meta and sddm.
To make things simple for myself i have a script which calls pacman to install all the packages I want after the base install.
thanks
Re: virtualbox 6 on kde plasma fails to run
Posted: 24. Dec 2018, 17:27
by sergiomb
add me to this thread , testing vbox 6.0 in Fedora 28 I got
virtualbox
Qt FATAL: FATAL: The application binary appears to be running setuid, this is a security hole.
Aborted (core dumped)
Update : seems it is a problem not only in Fedora Linux also it seem in Arch Linux [1]
[1]
https://aur.archlinux.org/packages/virtualbox-beta-bin/
Re: virtualbox 6 on kde plasma fails to run
Posted: 29. Dec 2018, 06:01
by sergiomb
For some reason packages outside oracle are failing to start , but not the official ones ...
any clue ?
Re: virtualbox 6 on kde plasma fails to run
Posted: 29. Dec 2018, 19:55
by genec
arch has released the OSE 6.0.0 package and I can confirm it works fine with kde plasma.
The oracle version I downloaded however does not work as described at the top of this thread.
Hopefully that is helpful.
thanks.
Re: virtualbox 6 on kde plasma fails to run
Posted: 29. Dec 2018, 20:01
by genec
Oh and from what I see - the OSE archlinux binary is NOT setuid - which is presumably why it works fine in this regard. Why the PUEL version demands being setuid root is unclear - can anyone shed some light?
thanks