You are not logged in.

#1 2023-12-27 07:31:30

ixey
Member
Registered: 2023-12-27
Posts: 7

[SOLVED]polkit authentification issue while Davinci resolve install...

I am trying to install Davinci, but there is a few problems I got.

I had "qt.qpa.plugin could not load the qt platform plugin xcb in even though it was found" problem, but solve it by changing "QT_QPA_PLATFORM=wayland" to "QT_QPA_PLATFORM=xcb" in  "/etc/environment" file.

Now, I can run ./DaVinci_Resolve_18.6.4_Linux.run script. I got GUI, but after clicking "install" in that GUI, I got polkit "Authentification failed" issue.

If I run ./DaVinci_Resolve_18.6.4_Linux.run script with sudo, I got "qt.qpa.plugin could not load the qt platform plugin xcb in even though it was found" error. Again.

Can you help me to fix it?

Last edited by ixey (2023-12-28 13:37:28)

Offline

#2 2023-12-27 08:58:38

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Don't put "QT_QPA_PLATFORM" into /etc/environment itfp.

Offline

#3 2023-12-27 12:31:46

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Output in terminal:

==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run '/sbin/env PATH=/home/user/.nvm/versi ... mp/.mount_DaVinc09wnRs /tmp/aDSFGk.sh' as the super user
Authenticating as: user
Password:
==== AUTHENTICATION FAILED ====


Output in GUI:

polkit-agent-helper-1: error response to PolicyKit daemon:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
Error excetuting command as another user: Not authorized This incedent has beed reported.

(I use sway, wayland)

Last edited by ixey (2023-12-27 12:32:41)

Offline

#4 2023-12-27 12:46:25

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,895
Website

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

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.

Offline

#5 2023-12-27 14:11:05

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

What https://wiki.archlinux.org/title/Polkit … ion_agents do you have installed and are running?
The built-in password dialog on the console won't work this way, https://bbs.archlinux.org/viewtopic.php … 5#p2028455

Offline

#6 2023-12-28 06:29:27

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Hm... thank you for replay. Seems I have no any agent. At least "pacman -Qe | grep polk" and "pacman -Qe | grep lx" didn't print anything.
"pgrep -af polkit-gnome" also pring nothing.


Do I need to install something from this list?

Last edited by ixey (2023-12-28 06:32:48)

Offline

#7 2023-12-28 07:05:30

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Yes. And possibly start it (idk whether they're all dbus activated)

Offline

#8 2023-12-28 11:18:17

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Thank you. I have installed lxqt-policykit, type 'lxqt-policykit-agent' in console and run script in other terminal window. That's worked.

How can I make lxqt-policykit-agent run automatically when an authorization request is made in the future?

Where I need to put setup of "QT_QPA_PLATFORM"  variable?

Last edited by ixey (2023-12-28 11:30:20)

Offline

#9 2023-12-28 11:31:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

ixey wrote:

How can I make lxqt-policykit-agent run automatically when an authorization request is made in the future?

That would depend on the desktop and how you're starting it.

For `startx` add the line to ~/.xinitrc (before the `exec` line and with an ampersand at the end). If you're using a display manager (why?) then use a .desktop file in ~/.config/autostart/; see https://specifications.freedesktop.org/ … atest.html for more on this.

Offline

#10 2023-12-28 13:20:22

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

The package ships /etc/xdg/autostart/lxqt-policykit-agent.desktop which will be triggered by a lot of DEs anyway, so first make sure whether it already autostarts w/ your session.

Edit: Also 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.

Last edited by seth (2023-12-28 13:20:49)

Offline

#11 2023-12-28 13:36:07

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Seems triggering not working.

I reboot my PC, then use "pkexec bash -l", thats does not work.
Next I run "lxqt-policykit-agent" in other terminal and tried "pkexec bash -l" again.

In this time I got GUI and be able to login as root.

So, how I can fix triggering?

Last edited by ixey (2023-12-28 13:38:25)

Offline

#12 2023-12-28 13:37:35

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

What is your desktop and how are you starting it?

Offline

#13 2023-12-28 13:40:08

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

That is my laptop, I start it by pressing botton "power on" on its body. I shutdown that by writing "shutdown 0" in trminal. This time I restart it by "sudo reboot 0".

Last edited by ixey (2023-12-28 13:40:35)

Offline

#14 2023-12-28 13:40:43

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

How exactly did you install archlinux?

Offline

#15 2023-12-28 13:54:35

ixey
Member
Registered: 2023-12-27
Posts: 7

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

I didn't. Somebody install it for me because, "that is the best Linux ever with a very large active community and well written documentation". I didn't mind, I like customizable systems, but I never had the time to advance study Linux's internal architecture.

Last edited by ixey (2023-12-28 13:55:04)

Offline

#16 2023-12-28 13:59:30

seth
Member
Registered: 2012-09-03
Posts: 51,578

Re: [SOLVED]polkit authentification issue while Davinci resolve install...

Then you should ask "somebody" how you're starting the system.
Hint:

loginctl session-status

then then check the wiki on how autostarting things works with the environment that somebody™ installed for you works.
Also, just so you know, somebody did you an incredible disservice.

Offline

Board footer

Powered by FluxBB