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

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

    <bug>
          <bug_id>43887</bug_id>
          
          <creation_ts>2022-09-28 14:58:17 +0300</creation_ts>
          <short_desc>Во время блокировки экрана каждый раз создается новая X сессия</short_desc>
          <delta_ts>2023-01-25 12:23:55 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Simply Linux</product>
          <component>bugs</component>
          <version>10.0</version>
          <rep_platform>aarch64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="DVoropaev">voropaevdmtr</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>shilovps</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>215388</commentid>
    <comment_count>0</comment_count>
    <who name="DVoropaev">voropaevdmtr</who>
    <bug_when>2022-09-28 14:58:17 +0300</bug_when>
    <thetext>Столкнулся с проблемой в slinux-10.0 для Raspberry Pi
https://mirror.yandex.ru/altlinux/p10/images/simply/aarch64//slinux-10.0-rpi4-aarch64.img.xz

Заблокировал/разблокировал экран несколько раз подряд, появились новые X сессии:
$ ps ax | grep X
   2144 tty1     Ssl+   0:08 X -nolisten tcp :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
   2997 tty2     Ssl+   0:02 X -nolisten tcp :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt2 -novtswitch
   3122 tty3     Ssl+   0:02 X -nolisten tcp :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt3 -novtswitch
   3220 tty4     Ssl+   0:02 X -nolisten tcp :3 -seat seat0 -auth /run/lightdm/root/:3 -nolisten tcp vt4 -novtswitch
   3274 pts/0    S+     0:00 grep X

При этом после 5 попытки Raspberry Pi 3 начинает тормозить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220699</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Shilov">shilovps</who>
    <bug_when>2023-01-25 12:23:55 +0300</bug_when>
    <thetext>Произвел проверку на платформе:
* slinux-10.0-rpi4-aarch64

Версия пакета: 
* light-locker-1.9.0-alt1.aarch64

$ uname -a
Linux host-188 5.15.73-rpi-def-alt1 #1 SMP PREEMPT Fri Oct 14 16:09:10 UTC 2022 aarch64 GNU/Linux

$ apt-repo 
rpm [p10] http://ftp.altlinux.org/pub/distributions/ALTLinux p10/branch/aarch64 classic
rpm [p10] http://ftp.altlinux.org/pub/distributions/ALTLinux p10/branch/noarch classic

$ ps ax | grep X
   4152 tty1     Ssl+   0:29 X -nolisten tcp :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
   6382 tty2     Ssl+   0:02 X -nolisten tcp :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt2 -novtswitch
   6482 tty3     Ssl+   0:01 X -nolisten tcp :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt3 -novtswitch
   7039 tty4     Ssl+   0:01 X -nolisten tcp :3 -seat seat0 -auth /run/lightdm/root/:3 -nolisten tcp vt4 -novtswitch
   7300 pts/4    S+     0:00 grep --color=auto X
   
   
$ journalctl -u lightdm
ноя 27 22:07:06 host-188 systemd[1]: Starting Light Display Manager...
ноя 27 22:07:06 host-188 systemd[1]: Started Light Display Manager.
ноя 27 22:07:13 host-188 lightdm[2281]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
-- Boot 5c3e41f8772047828dfcd3a64e5439fc --
дек 23 13:06:32 host-188 systemd[1]: Starting Light Display Manager...
-- Boot e0860584d41a446dab3c11a39608c59d --
дек 23 13:06:33 host-188 systemd[1]: Starting Light Display Manager...
-- Boot 5c3e41f8772047828dfcd3a64e5439fc --
дек 23 13:06:33 host-188 systemd[1]: Started Light Display Manager.
-- Boot e0860584d41a446dab3c11a39608c59d --
дек 23 13:06:33 host-188 systemd[1]: Started Light Display Manager.
-- Boot 5c3e41f8772047828dfcd3a64e5439fc --
дек 23 13:06:42 host-188 lightdm[4328]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
-- Boot e0860584d41a446dab3c11a39608c59d --
дек 23 13:06:42 host-188 lightdm[4340]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
дек 23 13:06:45 host-188 lightdm[4340]: pam_tcb(lightdm:auth): Authentication passed for test from (uid=&gt;
дек 23 13:06:46 host-188 lightdm[4340]: pam_tcb(lightdm:session): Session opened for test by (uid=0)
-- Boot 5c3e41f8772047828dfcd3a64e5439fc --
дек 23 13:06:47 host-188 lightdm[4328]: pam_tcb(lightdm:auth): Authentication passed for test from (uid=&gt;
дек 23 13:06:47 host-188 lightdm[4328]: pam_tcb(lightdm:session): Session opened for test by (uid=0)
-- Boot 5e00b95539314ceea445fad107dc456d --
янв 25 11:49:18 host-188 systemd[1]: Stopping Light Display Manager...
янв 25 11:49:19 host-188 systemd[1]: lightdm.service: Deactivated successfully.
янв 25 11:49:19 host-188 systemd[1]: Stopped Light Display Manager.
янв 25 11:49:19 host-188 systemd[1]: lightdm.service: Consumed 1.961s CPU time.
-- Boot 5c3e41f8772047828dfcd3a64e5439fc --


 systemctl status lightdm.service 
● lightdm.service - Light Display Manager
     Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-12-23 13:06:33 MSK; 1 month 2 days ago
       Docs: man:lightdm(1)
   Main PID: 4125 (lightdm)
      Tasks: 60 (limit: 9049)
        CPU: 56.670s
     CGroup: /system.slice/lightdm.service
             ├─ 4125 /usr/sbin/lightdm
             ├─ 4152 X -nolisten tcp :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtsw&gt;
             ├─ 6382 X -nolisten tcp :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt2 -novtsw&gt;
             ├─ 6456 lightdm --session-child 13 22
             ├─ 6482 X -nolisten tcp :2 -seat seat0 -auth /run/lightdm/root/:2 -nolisten tcp vt3 -novtsw&gt;
             ├─ 6524 lightdm --session-child 22 29
             ├─ 6590 lightdm --session-child 29 36
             ├─ 6654 lightdm --session-child 36 43
             ├─ 6774 lightdm --session-child 43 52
             ├─ 6871 lightdm --session-child 52 59
             ├─ 6916 lightdm --session-child 14 21
             ├─ 7039 X -nolisten tcp :3 -seat seat0 -auth /run/lightdm/root/:3 -nolisten tcp vt4 -novtsw&gt;
             ├─ 7104 lightdm --session-child 21 30
             ├─ 7325 X -nolisten tcp :4 -seat seat0 -auth /run/lightdm/root/:4 -nolisten tcp vt5 -novtsw&gt;
             ├─ 7391 lightdm --session-child 22 35
             ├─ 7422 X -nolisten tcp :5 -seat seat0 -auth /run/lightdm/root/:5 -nolisten tcp vt6 -novtsw&gt;
             ├─ 7480 lightdm --session-child 47 53
             └─ 7483 lightdm --session-child 23 34

янв 25 11:57:54 host-188 lightdm[6916]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
янв 25 11:57:56 host-188 lightdm[6916]: pam_tcb(lightdm:auth): Authentication passed for test from (uid=&gt;
янв 25 12:00:13 host-188 lightdm[7104]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
янв 25 12:00:17 host-188 lightdm[7104]: pam_tcb(lightdm:auth): Authentication passed for test from (uid=&gt;
янв 25 12:06:28 host-188 lightdm[7391]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
янв 25 12:07:16 host-188 lightdm[7391]: pam_tcb(lightdm:auth): Authentication passed for test from (uid=&gt;
янв 25 12:07:34 host-188 lightdm[7466]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd&gt;
янв 25 12:08:46 host-188 lightdm[4125]: session_real_start: assertion &apos;priv-&gt;pid == 0&apos; failed
янв 25 12:08:46 host-188 lightdm[7483]: pam_succeed_if(lightdm:auth): requirement &quot;user ingroup nopasswd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>