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.
Is that on gnome-shell on Wayland? Could be a gnome-shell issue rather than Xwayland, is it reproducible with weston?
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
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.
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.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/698.
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.