VirtualBox

Opened 7 years ago

Closed 7 years ago

#16846 closed defect (worksforme)

Can't launch 'virtualbox version 5.1.22r115126 on Fedora 25

Reported by: Vincent Lim Owned by:
Component: other Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: all Host type: Linux

Description (last modified by Frank Mehnert)

[vlim@vinny-fedora-laptop ~]$  VBoxManage --version
5.1.22r115126

[vlim@vinny-fedora-laptop ~]$ uname -a
Linux vinny-fedora-laptop 4.11.4-200.fc25.x86_64 #1 SMP Wed Jun 7 18:28:00 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Installed OK, but can't lauch GUI version of VirtualBox on Fedora 25:

[root@vinny-fedora-laptop vlim]# virtualbox

Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin "xcb"

in "".

Available platform plugins are: custom-wayland, eglfs, linuxfb, minimal, minimalegl, offscreen, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Reinstalling the application may fix this problem.

Aborted (core dumped)

Let me know if you need further infomation for debugging.

Attachments (1)

log.txt (104.2 KB ) - added by Vincent Lim 7 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Frank Mehnert, 7 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 7 years ago

Please do the following:

$ sudo chmod u+s /usr/bin/strace
$ strace -s128 -o log.txt -f /usr/lib/virtualbox/VirtualBox

and attach the resulting log.txt file to this ticket.

by Vincent Lim, 7 years ago

Attachment: log.txt added

comment:3 by Vincent Lim, 7 years ago

Hi Frank, log.txt attached. Is it something to do with /usr/lib64/qt5/plugins/platforms/libqxcb.so ?

comment:4 by Frank Mehnert, 7 years ago

Could you check the owner and the permission of the /usr/lib64 directory? I mean,

ls -ld /usr/lib64

comment:5 by Vincent Lim, 7 years ago

[vlim@vinny-fedora-laptop ~]$ ls -ld /usr/lib64
drwxr-xr-x. 176 vlim 1001 131072 Jun 16 13:49 /usr/lib64
Last edited 7 years ago by Vincent Lim (previous) (diff)

comment:6 by Frank Mehnert, 7 years ago

Right, that's the problem. Change the owner of that directory to 'root' and VirtualBox should be able to start again. I admit that the VBox error message behavior needs improvements but insisting on these directories having the correct owner and permissions is a security measure.

If VirtualBox still does not start after you changed the owner of /usr/lib64 to root then please attach a new strace log like above.

comment:7 by Vincent Lim, 7 years ago

That does it! I am able to run VBox in GUI mode and booted OL6 to desktop.

Thanks Frank!

comment:8 by Frank Mehnert, 7 years ago

Resolution: worksforme
Status: newclosed

I will close this ticket. The error message definitely needs improvement but I think this is handled in other tickets.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette