Невозможно установить пакеты с помощью текстового файла с перечисленными именами

Изhttps://lists.freedesktop.org/archives/lightdm/2015-December/000916.html

> ps aux | grep lightdm | grep -v grep
>
> is
>
> root       894  0.0  0.1  35192  3492 ?        SLsl 22:19   0:00 lightdm
> root      2766  1.9  1.3  98744 26980 tty7     Ssl+ 22:49   0:45
> /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0
> -nolisten tcp vt7 -novtswitch
> root      2852  0.0  0.1  19876  3796 ?        Sl   22:49   0:00
> lightdm --session-child 12 19

Yes, it is normal to have two processes.

The first lightdm process is the daemon (PID 894). When you log in, PAM requires that we start a child process to run the PAM functions inside. LightDM does this by setting up some pipes to communicate with the daemon and then re-running itself with --session-child (PID 2852). PAM then (as root) does whatever it is configured for to authenticate the user and set up this process to be suitable as your session. Once that is complete we fork another process, drop permissions and actually run your session. We need to keep the session child open so when your session ends, we can run the cleanup process with PAM.

Я предполагаю, что «дочерний элемент сеанса» в последнем предложении означает второй процесс lightdm, а не процесс lxsession. Но я действительно не знаю исходный код .

1
12.03.2021, 12:00
0 ответов

Теги

Похожие вопросы