Bug 96547 - VMWare 12 su password dialog doesn't work under Wayland 1.11
Summary: VMWare 12 su password dialog doesn't work under Wayland 1.11
Status: NEW
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
Depends on:
Reported: 2016-06-16 07:41 UTC by Luca Viggiani
Modified: 2016-06-17 13:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Luca Viggiani 2016-06-16 07:41:17 UTC
AFter a kernel upgrade, when running vmware, it asks for re compiling its kernel modules. To do so, a popup dialog appears asking for su password (similar to gksu, even if gksu itself actually works fine). That dialog under Wayland (Gnome - wayland session) does not work: 

1) The text field won't gain focus and you cannot type your password in. All you can do is click on the cancel button to dismiss it. SO you have to start a gnome on X11 session or recompile the kernel modules by command line.

2) Also the entire desktop become black (in X11 the background gets 50% darker, I guess it's an issue with alpha channel). This is a minor thing.
Comment 1 Olivier Fourdan 2016-06-16 09:11:38 UTC
Is that on gnome-shell on Wayland?

Could be a gnome-shell issue rather than Xwayland, is it reproducible with weston?
Comment 2 Olivier Fourdan 2016-06-16 14:44:28 UTC
It appears taht vmware comes with its own gksu, "vmware-gksu" that can be invoked from the command line for testing.

It works fine on weston, so it's inlikely an Xwayland issue.

Actually, I suspect this is a weakness in the application, because it seems to me that its maps a fullscreen override redirect window and relies on an active keyboard grab to capture all key presses for the password.

But Wayland has no grabs, so that cannot work in Wayland/Xwayland (whereas it does in plain X).

I think this is the same as https://bugzilla.gnome.org/show_bug.cgi?id=752956
Comment 3 Luca Viggiani 2016-06-16 14:57:42 UTC
I've just tested vmware-gksu on Gnome on Wayland and I have the same issue.

I also get the follwoing error message:

Error copying '/home/luca/.Xauthority' to '/tmp/libgksu-8q950z': File o directory non esistente (= no such file)
Warning: Graphical applications may not function properly.
Comment 4 Olivier Fourdan 2016-06-17 05:59:51 UTC
Well, I did not mention it, but I did test in both weston and gnome-shell, and checked libgksu2 source code and can confirm this is the same as https://bugzilla.gnome.org/show_bug.cgi?id=752956, i.e. a client mapping an override redirect window and relying on a active keyboard grab.

The problem is that override-redirect windows are not managed by the window manager, so it is not supposed to focus them, and there is no active grabs in Wayland.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.