You are not logged in.

#1 2023-10-11 16:06:01

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

[Solved] Vmplayer only runnable as Root

I just installed vmware and wanted to use it. As I don't have a key and only use it privately i thought the vmplayer suits me.
When I open vmplayer it ask whether I have a key or use it for free non-commercial use.

But when I choose the later it doesn't do anything. Once i opened it via the terminal I get the following output:

$ vmplayer
I/O warning : failed to load external entity "/etc/vmware/hostd/proxy.xml"
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/lib/vmware/bin/vmware-setup-helper' as the super user
Authenticating as: stefan
Password: 
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.

If i open it with sudo it works just fine.

Anybody any ideas?

Last edited by Stefan_xyz (2023-10-12 08:30:59)

Offline

#2 2023-10-11 20:03:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,089

Re: [Solved] Vmplayer only runnable as Root

Install a polkit-agent.
vmplayer tries to polkit-elevate itself to root but uses the built-in "agent" which is either broken or just weird
https://bbs.archlinux.org/viewtopic.php … 8#p2096998
https://bbs.archlinux.org/viewtopic.php … 5#p2028455

Online

#3 2023-10-12 08:30:31

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

Re: [Solved] Vmplayer only runnable as Root

seth wrote:

Install a polkit-agent.
vmplayer tries to polkit-elevate itself to root but uses the built-in "agent" which is either broken or just weird
https://bbs.archlinux.org/viewtopic.php … 8#p2096998
https://bbs.archlinux.org/viewtopic.php … 5#p2028455


Thanks that helped. I started the polkit-gnome package (already installed) and the authentication is only necessary for the first time.

Offline

Board footer

Powered by FluxBB