You are not logged in.
hi, first post here. title says pretty much everything, i installed vmware player using the .bundle provided on the vmware website, and it installed just fine.
i'm running it from the command line, 'cos if i use an app launcher, it just hangs at the final setup screen when clicking on the "Finish" button.
with the command line, i managed to figure out why: when clicking on that button, pkexec is launched and prompts for my password. however, when entering my password, it just doesn't work, giving:
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.
i've tried that method where you open one terminal and run "pkttyagent --process BASH_PID" while leaving the other terminal free, but didn't work, got the exact same error. unsure of what to do now, since i can't find anyone with the same issue.
Last edited by retro (2023-04-29 22:10:53)
Offline
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
run "pkttyagent --process BASH_PID"
If that's literal, it's literally wrong.
https://bbs.archlinux.org/viewtopic.php … 5#p2028455
Online
it's not literal.
Offline
Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Post *exactly* what you tried and the *exact* results - not "I did something kinda like stuff and its dids nots works", nobody can constructively comment on that.
Online
i'm sorry, i didn't remember about that when writing my post. thanks for reminding, though.
Offline
See the first link I posted, try along that description and post the results.
Online
i killed the vmware process and ran
$ echo $$
then, opened another terminal, ran
$ pkttyagent --process $THE_PID
and went back to the 1st terminal, launched vmplayer from there, clicked on "Finish", then pkexec popped up in my terminal:
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/usr/lib/vmware/bin/vmware-setup-helper' as the super user
Authenticating as: retro
Password:
entered the password, and:
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.
and it keeps on the same error, so i killed vmware.
Offline
"$THE_PID" isn't a valid variable - if that's not what you literally entered (…) the problem might be vmplayer.
Can you "pkexec ls" w/ this setup?
If yes, you'll have to run pkttyagent for a different PID (from vmplayer or one of its sub-processes)
Running a "real" polkit agent isn't an option?
https://wiki.archlinux.org/title/Polkit … ion_agents
Online
literally "$THE_PID" wasn't what i entered.
$ pkexec ls
gives no output. and running pkttyagent for vmplayer doesn't work, not even for its sub-processes, i get the same error.
i'll try one of the polkit agents you listed.
Offline
If you run it in an empty directory, there'll be no output.
The question was whether you got asked for and could provide your credentials.
Online
well, i wasn't running it in an empty directory.
Offline
hey, using polkit-gnome worked now! thanks!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
For the next time, please really see https://bbs.archlinux.org/viewtopic.php?id=57855 and the links there.
gives no output
and
well, i wasn't running it in an empty directory.
provide barely relevant information wrt to the behavior of pkttyagent (and whether you were you offered to enter creds)
We don't see what you see and you're not able to interpret what you see, that's why you ask here.
So handing us casual interpetations of what you see doesn't help you.
Also, just in case: if you happen to have tried try this across (virtual) machines - that's not gonna work for sure.
Online