[HN Gopher] Ly: Display Manager with Console UI
___________________________________________________________________
Ly: Display Manager with Console UI
Author : klaussilveira
Score : 70 points
Date : 2024-07-16 14:11 UTC (8 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| ComputerGuru wrote:
| Is there a screencast (preferably with a transcript of pressed
| keys) that we can see? Because I'm not entirely clear on what
| this is, exactly.
|
| Is it like a tmux that automatically creates/arranges new panes
| for new processes?
| LeSaucy wrote:
| Appears to be a replacement for gdm that is console based
| (picking and launching your graphical desktop environment). A
| neat idea, I don't think this has been done before.
| bityard wrote:
| In the Linux desktop world, "display manager" has various
| responsibilities but most people not steeped in system
| components might call it a "login screen". So this is a
| terminal-based replacement for GDM, SDDM, etc.
| arghwhat wrote:
| The traditional reasons for a "display manager" are gone as
| even X now runs as the user as part of their session.
|
| They are just login managers now.
| klaussilveira wrote:
| They still do some stuff that otherwise you have to put in
| your xinitrc. Also, keyring sessions.
| arghwhat wrote:
| Most of that (e.g., keyring) is PAM, not the manager
| itself.
|
| The xinitrc thing is for all intents and purposes just a
| command run before your session binary, and sometimes a
| few extra env vars. Arguably a bad design (just let that
| be up to the session binary), it oh well. History is what
| it is.
|
| https://kl.wtf/posts/2022/03/12/login-managers-an-
| introducti...
| gigatexal wrote:
| I love this, and the doom splash screen, too!
| gigatexal wrote:
| would be nice for us noobs to see an example of adding the
| SELinux rule/exception for it for Fedora as mentioned in the
| readme.
| hollerith wrote:
| Maybe the author of the README doesn't know how to write the
| rule :)
| SushiHippie wrote:
| https://github.com/fairyglade/ly/issues/494#issuecomment-150...
| yoavm wrote:
| I've been using Ly for a while now. It does the job and it even
| has a Matrix effect that makes everyone think you're a hacker
| pvg wrote:
| A little thread 2 years ago (22 comments)
| https://news.ycombinator.com/item?id=31459013
| evanjrowley wrote:
| This looks kind of like the display manager that runs on my MNT
| Pocket Reform.
| koskanaiken wrote:
| Why does it depend on xorg if it's a TUI program?
| somebodythere wrote:
| To start an X session after logging in
| normaler wrote:
| I tried it a couple of times, but i think just a tty with the
| shell configured to start whatever when logged in via e.g. tty1
| is superior.
|
| Also I kept having issues with it, not using pam correctly on
| arch.
| Kab1r wrote:
| I tried Ly maybe a couple years ago, but I ran some issues. I've
| had great luck with greetd+tuigreet. The UI is quite similar as
| well.
| ivanjermakov wrote:
| For those looking for a dead simple DM with autologin
| capabilities I can recommend emptty:
| https://github.com/tvrzna/emptty
| tripdout wrote:
| I've also used greetd for this:
| https://sr.ht/~kennylevinsen/greetd/
| howeyc wrote:
| If you don't switch between window managers is there any point in
| having a DM?
|
| Why not just login and run "sway" or "startx"
| SushiHippie wrote:
| I've used DMs only for eye candy, as it looks a bit better than
| using getty/greetd to login.
|
| But I've never got DMs working without any problems, so I just
| have if [[ $(tty) = /dev/tty1 ]]; then
| exec sway; logout fi
|
| in my .zprofile file, which just works (tm).
| gorgoiler wrote:
| This has the advantage of executing all your shell mcguffins
| too, so PYTHON4_LC_COLOR=Europe/Orange is set for the entire
| desktop session, not just the shells you launch from your
| desktop environment.
|
| (By the way, exec is a fundamental Unix syscall of interest
| in that it _replaces_ the current process's code with new
| code. Your logout call will never run. The exec is the last
| thing zsh does before being replaced by sway.)
| umbra07 wrote:
| I just use my tty1, especially since I can work a good chunk of
| my morning without having to launch my DE.
| wiseowise wrote:
| Interesting license. How is it different from MIT? Except for
| swearing?
___________________________________________________________________
(page generated 2024-07-16 23:00 UTC)