<div dir="ltr"><div>see the  other  Ubuntu  report  here:</div><div><a href="https://bugs.launchpad.net/ubuntu/+source/lxqt-policykit/+bug/1875774">https://bugs.launchpad.net/ubuntu/+source/lxqt-policykit/+bug/1875774</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 16 Jul 2021 at 13:09, Bryan Cebuliak <<a href="mailto:bryan.cebuliak@gmail.com">bryan.cebuliak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: lxqt-policykit<br>
Version: 0.16.0-1<br>
Severity: important<br>
Tags: a11y upstream<br>
X-Debbugs-Cc: <a href="mailto:bryan.cebuliak@gmail.com" target="_blank">bryan.cebuliak@gmail.com</a><br>
<br>
Dear Maintainer,<br>
lxqt-policykit authorisation fails with more than one sudoer in the sudo group<br>
I confirm this previously reported bug description:<br>
<a href="https://bugs.launchpad.net/ubuntu/+source/lubuntu-meta/+bug/1828663" rel="noreferrer" target="_blank">https://bugs.launchpad.net/ubuntu/+source/lubuntu-meta/+bug/1828663</a><br>
In summary, an application launch from the lxqt menu requiring pkexec such as Synaptic or Gparted causes a failure message if more than one sudoer exists. Launching programs requiring root authorisation from the terminal with sudo works as expected with 2 sudoers on the system.<br>
The behaviour persists on Debian Bullseye and Ubuntu 20.04LTS with default standard newly installed configurations. Note that sudo rather than root authorisation is the default with Debian and Ubuntu. Some users such as me may require more than one sudoer on a system.<br>
The lxqt behaviour is not consistent with other GUI authorisation agents such as lxpolkit or the Gnome shell agent, which do allow 2 sudoers to be present to work properly.<br>
Altering the /etc/xdg/autostart/lxqt-policykit-agent.desktop to use lxpolkit instead of the lxqt-policykit agent thusly results in the expected proper behaviour on the lxqt desktop:<br>
"<br>
[Desktop Entry]<br>
Type=Application<br>
Name=LXPolkit<br>
TryExec=lxpolkit<br>
Exec=lxpolkit<br>
OnlyShowIn=LXQt;<br>
X-LXQt-Module=true<br>
...<br>
"<br>
Best regards,<br>
Your bleeding user<br>
<br>
<br>
-- System Information:<br>
Debian Release: 11.0<br>
  APT prefers testing-security<br>
  APT policy: (500, 'testing-security'), (500, 'testing')<br>
Architecture: amd64 (x86_64)<br>
<br>
Kernel: Linux 5.10.0-7-amd64 (SMP w/2 CPU threads)<br>
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>
Shell: /bin/sh linked to /usr/bin/dash<br>
Init: systemd (via /run/systemd/system)<br>
LSM: AppArmor: enabled<br>
<br>
Versions of packages lxqt-policykit depends on:<br>
ii  libc6              2.31-12<br>
ii  liblxqt0           0.16.0-1<br>
ii  libpolkit-qt5-1-1  0.113.0-1<br>
ii  libqt5core5a       5.15.2+dfsg-9<br>
ii  libqt5gui5         5.15.2+dfsg-9<br>
ii  libqt5widgets5     5.15.2+dfsg-9<br>
ii  libstdc++6         10.2.1-6<br>
ii  lxqt-session       0.16.0-1<br>
<br>
Versions of packages lxqt-policykit recommends:<br>
ii  lxqt-policykit-l10n  0.16.0-1<br>
<br>
Versions of packages lxqt-policykit suggests:<br>
ii  lxqt       30<br>
ii  lxqt-core  30<br>
<br>
-- Configuration Files:<br>
/etc/xdg/autostart/lxqt-policykit-agent.desktop changed:<br>
[Desktop Entry]<br>
Type=Application<br>
Name=LXPolkit<br>
TryExec=lxpolkit<br>
Exec=lxpolkit<br>
OnlyShowIn=LXQt;<br>
X-LXQt-Module=true<br>
Name[ar]=معالج وحدة السِّياسة بوليسي كيت<br>
Name[cs]=Zacházení s politikami<br>
Name[da]=PolicyKit-håndtering<br>
Name[de]=PolicyKit-Steuerung<br>
Comment[de]=Authentifizierungsagent für PolicyKit<br>
Name[el]=Διαχειριστής PolicyKit<br>
Name[eo]=Traktilo de PolicyKit<br>
Name[es]=Manipulador de PolicyKit<br>
Name[es_VE]=Encargado del Kit de politicas<br>
Name[eu]=PolicyKit maneiatzailea<br>
Name[fi]=PolicyKit-käsittelijä<br>
Name[fr]=Gestionnaire de PolicyKit<br>
Name[gl]=Manexador do PolicyKit<br>
Name[hr]=PolicyKit agent<br>
Name[hu]=PolicyKit-kezelő<br>
Name[it_IT]=Gestore di PolicyKit<br>
Name[ja]=PolicyKitハンドラ<br>
Name[lt]=PolicyKit doroklė<br>
Name[nl]=PolicyKit Handler<br>
Name[pl_PL]=PolicyKit Handler<br>
Name[pt]=Gestor de políticas<br>
Name[pt_BR]=Manipulador PolicyKit<br>
Name[ru]= политики комплект Обработчик<br>
Name[ru_RU]=Обработчик PolicyKit<br>
Name[sl]=Upravljalnik PolicyKit<br>
Name[th_TH]=ตัวจัดการ PolicyKit<br>
Name[tr]=PolicyKit İşleyici<br>
Name[uk]=Маніпулятор PolicyKit<br>
Name[zh_CN]=PolicyKit 处理器<br>
Name[zh_TW]=PolicyKit處理器<br>
<br>
<br>
-- no debconf information<br>
</blockquote></div>