You are not logged in.

#1 2016-10-17 13:38:50

mthvz
Member
Registered: 2016-10-17
Posts: 3

Virtualbox won't open file chooser dialog on Gnome 3.22

When I try to open any file chooser dialog in Virtualbox this is what happens:

Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile

(VirtualBox:4447): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window
Segmentation fault

Offline

#2 2016-10-17 15:14:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,744

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Welcome to Arch Linux.

Can you tell us a bit more?  What is the host operating system? I assume that Arch Linux is the guest operating system, can you confirm?
What desktop environment / window manager are you trying to use? (KDE, Gnome, XFCE-4, i3, Openbox, ...)
Are you use Wayland or X11?
Do GUI programs work otherwise?  With which programs (specifically) are you encountering problems?

Edit:  Is this a new thing? Or has it never worked?

Last edited by ewaller (2016-10-17 15:14:55)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2016-10-17 15:16:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,471

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Online

#4 2016-10-17 15:57:31

mthvz
Member
Registered: 2016-10-17
Posts: 3

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

ewaller wrote:

Welcome to Arch Linux.

Can you tell us a bit more?  What is the host operating system? I assume that Arch Linux is the guest operating system, can you confirm?
What desktop environment / window manager are you trying to use? (KDE, Gnome, XFCE-4, i3, Openbox, ...)
Are you use Wayland or X11?
Do GUI programs work otherwise?  With which programs (specifically) are you encountering problems?

Edit:  Is this a new thing? Or has it never worked?

Thank you for the welcome.
This began to happen today after an upgrade and it was working fine before. I noticed it only in Virtualbox.

Host OS: Arch Linux (Linux 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux)
Desktop Environment: GNOME Shell 3.22.1/x11

Offline

#5 2016-10-17 16:00:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,471

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

mthvz wrote:

Desktop Environment: GNOME Shell 3.22.1/x11

Are you absolutely certain you're on X11? Wayland is the default now.

Online

#6 2016-10-17 16:16:53

mthvz
Member
Registered: 2016-10-17
Posts: 3

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

It's Wayland. Sorry about that. So must be this Qt issue.

ps aux | grep -i wayland
gdm        545  0.0  0.0 186624  5032 tty1     Ssl+ 10:05   0:00 /usr/lib/gdm/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm        588  0.0  0.5 258764 47304 tty1     Sl+  10:05   0:00 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
mthvz      669  0.0  0.0 186624  4956 tty2     Ssl+ 10:05   0:00 /usr/lib/gdm/gdm-wayland-session gnome-session
mthvz      714  0.8  1.6 361304 131676 tty2    Sl+  10:05   2:00 /usr/bin/Xwayland :0 -rootless -noreset -listen 4 -listen 5 -displayfd 6
mthvz     5673  0.0  0.0  10760  2224 pts/1    S+   14:12   0:00 grep -i wayland

Offline

#7 2016-10-25 12:10:27

dr34m
Member
Registered: 2016-07-28
Posts: 47

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Confirmed.

If you start gnome on xorg you can use virtualbox without any issue.

Last edited by dr34m (2016-10-25 13:07:09)

Offline

#8 2016-10-31 12:50:44

paulobezerr
Member
From: Brazil
Registered: 2016-10-31
Posts: 1
Website

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Virtualbox does not receive wayland support.
There are many issues opened. Since Virtualbox Qt to wayland running in VM's.
Starts gnome with xorg is a good option.
For now I use vagrant a my problem disappear.

Offline

#9 2016-11-02 04:05:19

GarmWyrda
Member
Registered: 2016-11-02
Posts: 2

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Hi,

I'm sorry, quite a newbie here. I'm lost. I don't know what I should do, and it's been hours I'm looking for answers... I think I'm in the same case as mthvz.
I'm on gnome too. when I launch virtualbox and try to open a window (file chooser), it crashes with a segmentation fault.

How am I suppose to start gnome with xorg ?

Offline

#10 2016-11-02 18:31:18

neo1975
Member
Registered: 2016-04-28
Posts: 1

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

you must disable it in the configfile.My location is /etc/gdm:

sudo nano /etc/gdm/custom.conf

# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false

remove # save and reboot.Thats it

smile

Offline

#11 2016-11-02 23:42:30

GarmWyrda
Member
Registered: 2016-11-02
Posts: 2

Re: Virtualbox won't open file chooser dialog on Gnome 3.22

Thanks ! It works fine now !

And it fixed the issue with a conflict in my shortcut for guake !

Offline

Board footer

Powered by FluxBB