<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>36656</bug_id>
          
          <creation_ts>2019-04-21 19:44:28 +0300</creation_ts>
          <short_desc>Переход на polkit-агент</short_desc>
          <delta_ts>2019-09-16 10:40:04 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cross-component</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>36657</dependson>
    
    <dependson>36658</dependson>
    
    <dependson>36659</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>zerg</cc>
          
          <qa_contact name="Dmitry V. Levin">ldv</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181093</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-04-21 19:44:28 +0300</bug_when>
    <thetext>Этот метабаг предназначен для отслеживания перехода приложений на использование polkit-агента для повышения привилегий вместо consolehelper, а также проблем мешающих этому переходу. Необходимость такого перехода обусловлена тем, что consolehelper не работает на wayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181099</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2019-04-21 20:35:42 +0300</bug_when>
    <thetext>Дима, а ты не хочешь consolehelper портировать на wayland ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181106</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-04-21 22:50:54 +0300</bug_when>
    <thetext>Когда-то UI у consolehelper был написан на gtk+, потом он был перенесен на gtk+2, думаю, его возможно перевести и на gtk+3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181109</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-04-22 06:12:23 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; Когда-то UI у consolehelper был написан на gtk+, потом он был перенесен на
&gt; gtk+2, думаю, его возможно перевести и на gtk+3.

Проблема не только и, возможно, не столько в том, что consolehelper требует для своей работы xwayland. Само окно авторизации появляется, но сама авторизация не проходит.

Для beesu помогает:
xhost +SI:localuser:root

А для consolehelper я не нашёл никакого workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181111</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-04-22 10:48:17 +0300</bug_when>
    <thetext>Аналогичную проблему запуска consolehelper, но под иксами при использовании gdm3 решали здесь: https://bugzilla.altlinux.org/show_bug.cgi?id=28231

А KDE5 под wayland пробовали запускать? Как там с consolehelper дела? Не помогает ли:
xhost +SI:localuser:root</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184294</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-09-13 20:25:16 +0300</bug_when>
    <thetext>В gnome 3.34 console-helper работает. Так что его даже на gtk3 можно не портировать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184314</commentid>
    <comment_count>6</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2019-09-16 10:40:04 +0300</bug_when>
    <thetext>(В ответ на комментарий №5)
&gt; В gnome 3.34 console-helper работает.
Получается, через XWayland.

&gt; Так что его даже на gtk3 можно не портировать.
IMHO лучше уж спортировать, а то слишком жирная прослойка для запроса пароля.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>