You are not logged in.
I am trying to run vmware-netcfg under sway when I try to launch from vmware-workstation nothing happens running from the terminal gets me
sudo -E vmware-netcfg
Authorization required, but no authorization protocol specified
(vmware-netcfg:): Gtk-WARNING **: : cannot open display: :0
Google various parts of this error has led me down many rabbit holes including forum posts that seem to think that this is just broken under wayland and it is all vmwares fault with a janky workaround to spawn a additional Xsession
This works but the post is quite old and I am sure this is not the problem
To test I also get the same error running xeyes
More googling led me to posts about dbus and xhosts but all are installed and I have tried editing my exec line for sway to include
Last edited by bazzawill (2023-02-15 02:41:49)
Offline
Update
Adding my user to the seat group has enabled xeyes to function. The problem is either that I cannot run vmware-netcfg as root using any combination of sudo flags (this seems to be by design of wayland in my brief research)
Running with out sudo gives me
vmware-netcfg
(vmware-netcfg:486817): dbind-WARNING **: 13:14:10.943: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/bin/vmware-netcfg' as the super user
Then asks for username my password and gives
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized
This incident has been reported.
Offline