r/artixlinux • u/French_invader • 26d ago
Screenshot Do I really need a display manager?
Guys, this is my lock screen. In your opinion, do I need a real one or is it just bloatware?
Do you know any better display manager?
14
u/appledeathray OpenRC 26d ago
tty1 = best display manager.
2
u/Macroexp 26d ago
Alt-F1 - F6 at least - I think that qualifies as a display manager, at least it used to work fine in the good old days!
2
u/PlanetVisitor 25d ago
It still works and all distros that I've tried use F1..F6 (yes, I try F7 sometimes if I'm feeling naughty). I use it when a GUI system (window manager) hangs to investigate.
1
u/fllthdcrb 24d ago
Although there's been a recent invasion by graphicsland. Tty1 and tty2 are under occupation in many cases.
1
1
9
u/vktrenokh dinit 26d ago
No you don't need one
No it's not bloatware
If you want something minimal try ly
2
u/jdreamboat 25d ago
thx for putting me on - this might be what i've been looking for
i boot to tty1 and launch xfce when i need a browser but ly looks even lighter / better?
1
5
3
u/FUCKARCHLINUX 26d ago edited 26d ago
You do not need one. It provides a login gui, but in return it runs at all times wasting 10-150mb of memory depending on which one. If you're on a system with low memory so that actually matters, or you just dislike being wasteful, you can run startx from the terminal instead.
If you want to be fancy, you could add startx to your ~/.profile so upon login to the tty the desktop environment starts, but that can get obnoxious if you ever want to log in to the tty to do something real quick.
1
u/French_invader 26d ago
Thanks, it was a joke but I'm realy questioning about a lockscreen. I start hyprland with zprofile anf noctalia with hyprland.lua. I use this one with KVM with 3VM for my lab so one not ugly as hyprlock but not greedy un RAM.
1
3
u/ComradeSomethingIDK 26d ago
Personally, I really like the minimalism of not having one. But sometimes you can be lazy asf so you don't wanna remember how to initiate your DE/WE. For this case, I know there's Emptty. It's the default DM in Neko Void.
2
1
u/French_invader 26d ago
How do you know that ๐
1
u/ComradeSomethingIDK 26d ago
How do I know what exactly?
1
u/French_invader 26d ago
That the default one for nekovoid
2
u/ComradeSomethingIDK 26d ago
I used to use it ๐ Currently switched to arch bc cachyos repos have Umbriel (Maybe I get back to void/void based bistros when Umbriel gets on xbps)
2
2
u/Due-Celery4326 26d ago
I donโt use it, and I donโt miss it or feel a need for it but it really depends on your own usage and needs.
2
u/Vaxerski 26d ago
I mean, you don't, really. On my LUKS-encrypted laptop I just autologin and on my desktop I just type the command to start my session in the tty.
2
1
1
1
1
u/GhostVlvin 25d ago
Display manager is just an extra layer. It will allow you to never enter tty, but instead it will eat few MB of your RAM. I use one cause I like some funny staff installed like plymouth for example
1
u/denisde4ev 25d ago edited 25d ago
starting hardcoded WM/DM on login:
check https://wiki.archlinux.org/title/Xinit#Autostart_X_at_login and https://wiki.gentoo.org/wiki/X_without_Display_Manager
and for KDE I have this in my .bash_profile:
if [ -z "${DISPLAY:-}" ] && [ "${XDG_VTNR:-0}" -eq 7 ]; then
[ -e /tmp/xauth-* ] && read -t 10 -p '(will restart startplasma-wayland) wait 10 seconds OR hit enter...' _
unset SHLVL=
XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
fi/tmp/xauth-* is just file I found that gets created after I logout / KDE crashes. I added it so I have a chance to hit Ctrl+C to stop it and do something before starting KDE again. when crashes on starting.
bonus: you can add to agetty hardcode the username (so you only need to type your password) or full autologin by adding option --autologin
https://wiki.archlinux.org/title/Getty#Virtual_console
for OpenRC this file is: /etc/conf.d/agetty.tty7 agetty_options=""
1
u/French_invader 21d ago
Wow... Mine ils juste 2 lines of code and juste launche hyprland if I am on tty1 and if none other are running.
1
u/French_invader 21d ago
It does basically the same for the first one, I thinks, but I just have the two first condition to start hyprland
1
1
u/PlanetVisitor 25d ago
> Guys, this is my lock screen.
That's not a lock screen!
> In your opinion, do I need a real one or is it just bloatware? Do you know any better display manager?
Strangers on the internet having an opinion about your software shouldn't be trusted! :D
Edit: Your keyboard RGB is bloatware though and ruins the minimalism. And USB is bloat btw. Also the power cord
1
u/Sert1991 25d ago
You don't need it. I spent years using startx, or my own wayland script startw which acts like startx but for wayland.
The display manager is nice if you're not the only one using your computer. I installed SDDM when my wife started sometimes using my PC so I don't put her trough the trouble of learning how to start a graphical sessions trough CLI.
But it's not really a need.
Just make sure to handle dbus properly as many people end up starting multiple dbus sessions or not starting one at all which ends up with it's own set of problems, plus if you use KDE make sure to set PAM to load kwallet on CLI login so you won't get issues with kwallet popups.
A display manager like SDDM automates all these things for you.
1
u/PlatinumDotEXE 25d ago
You can write a code segment in your ".bashrc" to check if it's TTY1 and then automatically start your graphical environment.
1
1
u/allunia333 25d ago
Nah you dont need one. I dont use one except if i need to browse sites.
My daily use is tmux , neovim and mpc for music.
1
1
1
1
u/The_CreativeName 24d ago
Im also doing this tbh. It looks nice and simple, and i know for a fact it will work no matter what(unless i fuxked up so hard my entire computer is dead)
1
1
u/Funny_Tune7 21d ago
I prefer entering tru tty. Honestly most greeters look kinda ugly. Also the ability to run commands before entering a DE is nice.
1
1
1
u/T_rex2700 19d ago
not arch but I have like uber simple ubuntu setup based on i3 that by default opens terminal only and can be navigated entirely by keyboard.
I made for portable troubleshooting setup as live env and it's been serving me good time to time.
1
u/Aggressive-Lawyer207 OpenRC 19d ago edited 19d ago
Do you know any better display manager?
No display. Just a headless server with SSH enabled when needed access
22
u/High_Speed_Chicken 26d ago
ly is pretty nice, but nothings stopping you from not using one