|Summary:||VMWare 12 su password dialog doesn't work under Wayland 1.11|
|Product:||Wayland||Reporter:||Luca Viggiani <lviggiani>|
|Component:||XWayland||Assignee:||Wayland bug list <wayland-bugs>|
|Status:||RESOLVED MOVED||QA Contact:||Xorg Project Team <xorg-team>|
|i915 platform:||i915 features:|
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.
Comment 5 GitLab Migration User 2019-05-10 15:52:40 UTC
-- 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.