You are not logged in.
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
Don't put "QT_QPA_PLATFORM" into /etc/environment itfp.
Offline
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
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
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
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
Yes. And possibly start it (idk whether they're all dbus activated)
Offline
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
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
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
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
What is your desktop and how are you starting it?
Offline
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
How exactly did you install archlinux?
Offline
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
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