I have found a solution, but it only works in my friend’s (fresh) Whonix 15, and not mine. The easy test anyone can do is to do pkexec mousepad from Workstation Terminal. It SHOULD launch the pkexec prompt, as a simple test of its operation.
It does in my friend’s, but it does not in mine. This is literally the latest Whonix OVA I’m trying
Does it work in yours? Can others please test this and report back?
Here are more examples so you can see what I mean:
Synaptic (try launching it from Whisker Menu) - first install via apt install synaptic
KDE Partition Manager (install via sudo apt-get install partitionmanager) - it normally is supposed to launch with an admin password prompt.
Thunderbird, possibly (haven’t tested). It always prompts with GUI password box when you want to cache your PGP key for the rest of the session. This would be broken due to the same principle as GDebi being broken.
Opera, possibly. Tends to do a GUI password prompt upon launch.
Even better example:
ZuluCrypt fails to launch in my W15. (this is installed by default.)
Screenshot of what happens:
This is all a deal-breaker for using Whonix 15. Only noticing it as I’ve started my move from W14. What is going on? Am I the only one whose ZuluCrypt fails to launch in a fresh Whonix 15 OVA?
@Patrick this should not be a user support thread. If ZuluCrypt doesn’t even launch, then this is a major Whonix 15 bug that needs an active fix. I hope this can be looked into soon, as it’s holding back the end user viability of Whonix 15 period.
OK. To simplify it, for now, can we therefore make it ZuluCrypt.
Again and again I import the Whonix 15 OVA (and I’ve checked its hash to make sure not corrupt), and before doing anything else (after initial wizard), I click on ZuluCrypt from the Whisker Menu and it simply gives that polkit error I’ve provided in the screenshot.
Can you reproduce this? The answer to that question will guide us where to go next.
pkexec seems to be a fancy su which won’t work when the root account is locked.
You don’t seem to realise that not every single password prompt is now broken. Only ones using su to switch to the root user are and if those applications are doing that, you can make a bug report to get them to switch to sudo.
OK, so to fix this problem recently introduced into Whonix 15 that affects a rather core part of the Debian GUI experience that most of us have used for years, we can either:
Request upstream developers for dozens of famous packages used by vastly more people than in the Whonix community to change a long-standing element of how every one of their packages work, and if we’re lucky, wait 1-3 years for it to trickle down to Debian stable repo.
or
Fix Whonix at our own pace right now. (Very quick, appreciate that.)
There are probably hundreds of well-known packages that use root in the way that Whonix 15 right now has broken.
Of course, I’m with you here, who doesn’t like more security? I’m still interested in Qubes development, even though I’ve chosen amnesic Debian as my host OS security instead.
But we can’t break the universal user experience like this.
In this situation, I’d ideally hope a solution was found to achieve both needs here. But I wouldn’t want that to delay fixing what I see as a more urgent problem (for basic pkexec to work again, a famous and fundamental part of current Debian). That bug should be rolled back first, then an ‘ideal’ fix researched after that.
Also, you can’t ask users who report bugs to always provide the solutions for them. We all have our place, and reporters can be very helpful.
While PolicyKit has been replaced by polkit (which rewrote system component, breaking backwards compatibility) in many distributions, Debian continues to use PolicyKit from wheezy through to buster.
Quote
Since version 0.105, released in April 2012,[2][3] the name of the project was changed[ by whom? ] from PolicyKit to polkit to emphasize that the system component was rewritten[4] and that the API had changed, breaking backward compatibility.[5][ dubious – discuss ]
Fedora became the first distribution to include PolicyKit, and it has since been used in other distributions, including Ubuntu since version 8.04 and openSUSE since version 10.3. Some distributions, like Fedora,[6] have already switched to the rewritten polkit.
I have found another major feature of XFCE that is also broken due due to the current whonix mod:
When you attach a VDI in VirtualBox to your Whonix-Workstation (as a way to easily expand your storage), you can no longer mount it via GUI in Thunar.
A hard disk item in Thunar appears under Devices (e.g. ‘200 GB Volume’), and when clicking on it, a GUI password prompt should appear to mount it, but nothing does in the current Whonix 15 OVA.
You have to turn off password security in the Thunar and/or UDisks2 policykit files in order to get it to work.