From: Arseny Maslennikov <arseny@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] DM (RFC: wayland session wrapper script)
Date: Fri, 3 Dec 2021 19:05:12 +0300
Message-ID: <YapAOO6PXFDCf6Mh@cello> (raw)
In-Reply-To: <20211203151004.lo6wdi46fb27hm4q@example.org>
[-- Attachment #1: Type: text/plain, Size: 3333 bytes --]
On Fri, Dec 03, 2021 at 04:10:04PM +0100, Alexey Gladkov wrote:
> On Fri, Dec 03, 2021 at 05:49:31PM +0300, Sergey Bolshakov wrote:
> > >>>>> "Alexey" == Alexey Gladkov <legion-u2l5PoMzF/Uox3rIn2DAYQ@public.gmane.org> writes:
> >
> > > On Thu, Dec 02, 2021 at 08:35:23PM +0200, Igor Vlasenko wrote:
> > >> Уважаемые коллеги!
> > >>
> > >> Как показал #40910
> > >> https://bugzilla.altlinux.org/40910
> > >> нам срочно нужен wayland session wrapper script.
> >
> > > Спасибо, что начал двигать эту тему. Это я как человек сидящий на
> > > wayland-only окружении говорю.
> >
> > +1 к спасибо, назрело и перезрело.
> > legion: кстати, как ты этот свой sway запускаешь wayland-only,
> > неужто c exec sway c tty ? asking for a friend
>
> Именно так и запускаю. Я пробовал разные DM, но не срослось. Собирать
> что-то от фанатов [1] тоже не стал так как это +1 DM (из и так развелось)
Вот потому и развелось, что никто не пытался общую привилегированную
часть написать один раз, секурно и хорошо, а вендорам DE и администраторам
оставить писать greeters — и убедить их всех, включая гномеров, так
делать.
> и плюс его вычитывать же нужно. Я так и не собрался.
>
> В остальном системный конфиг sway почти такой же как мой. В моём из
> важного разве что используется waybar, запускается mako и swaykbdd.
>
> [1] https://git.sr.ht/~kennylevinsen/greetd
Он собран в сизиф.
Я его читал средне-вдумчиво, там немного кода, он выглядит почти
хорошим, в т. ч. архитектурно. Разве только:
(1) написан на Rust с std и обильным cargo, список модулей на пару экранов не влезает :(
(2) автору совсем не пришло в голову, что запускать гритеры лучше из
инит-скриптов / строчек в inittab / autovt@.service (зачем заново
писать startup manager?);
(3) он, запускаясь на VT X, _сначала_ вызывает ioctl(*, KDSETMODE, KD_TEXT),
а _потом_ спрашивает у гритера, какой режим VT ему нужен;
(4) он, кажется, не решает проблему "если DM крашнулся, сеансы убиваются
вслед"; (один из путей решения — пункт 2)
(5) ну и XDG compliance у него не реализован, кажется, ничем: нет в
комплекте лончера, который бы все эти переменные ставил (т. е.
потребуются костыли, о которых пишет Игорь viy@).
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-12-03 16:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 18:35 [devel] RFC: wayland session wrapper script Igor Vlasenko
2021-12-02 19:09 ` Alexey V. Vissarionov
2021-12-03 7:30 ` Sergey V Turchin
2021-12-03 10:58 ` Igor Vlasenko
2021-12-03 10:59 ` Igor Vlasenko
2021-12-03 18:41 ` Alexey V. Vissarionov
2021-12-03 12:12 ` Dmitry V. Levin
2021-12-03 12:52 ` Igor Vlasenko
2021-12-03 16:07 ` [devel] почему ssh-agent не имеет смысла на tty1 Arseny Maslennikov
2021-12-03 16:11 ` Dmitry V. Levin
2021-12-03 13:50 ` [devel] RFC: wayland session wrapper script Alexey Gladkov
2021-12-03 14:49 ` Sergey Bolshakov
2021-12-03 15:10 ` Alexey Gladkov
2021-12-03 16:05 ` Arseny Maslennikov [this message]
2021-12-03 18:05 ` [devel] DM (RFC: wayland session wrapper script) Alexey Gladkov
2021-12-03 19:59 ` [devel] DM (was: RFC: " Arseny Maslennikov
2021-12-03 23:00 ` Alexey Gladkov
2021-12-21 13:19 ` [devel] RFC: wayland session wrapper script Alexey Gladkov
2021-12-03 15:16 ` Arseny Maslennikov
2021-12-03 15:14 ` Arseny Maslennikov
2021-12-03 18:01 ` Igor Vlasenko
2021-12-03 18:16 ` Yuri Sedunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YapAOO6PXFDCf6Mh@cello \
--to=arseny@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git