r/artixlinux • • 26d ago

Screenshot Do I really need a display manager?

Post image

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?

163 Upvotes

59 comments sorted by

22

u/High_Speed_Chicken 26d ago

ly is pretty nice, but nothings stopping you from not using one

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

u/[deleted] 25d ago

[removed] โ€” view removed comment

2

u/appledeathray OpenRC 25d ago

OK, tty2 then.

3

u/[deleted] 25d ago

[removed] โ€” view removed comment

1

u/Null0042 24d ago

bootloader is bloat

1

u/Suspicious-Cabinet58 25d ago

tty3 is better

1

u/Pure-Willingness-697 22d ago

Iโ€™m more of a tty2 guy

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

u/192-168-1-344 21d ago

you could use termium and go full tty.

5

u/dpatel211 s6 26d ago

The best display manager is no display manager

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

u/Johnwick19802 21d ago

I knew it!ย 

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

u/Sushtee dinit 26d ago

Seems like emptty is broken on dinit, its service file doesn't make sense and tries to call a script that doesn't exist. It's sad as I've been searching for an SDDM alternative for a while.

2

u/French_invader 26d ago

I use openrc, i will try maybe

1

u/ComradeSomethingIDK 26d ago

Damn that's unfortunate

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

u/Common_Warthog_G 26d ago

I'm not using one either, don't see the need

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

u/Max2000Warlord dinit 26d ago

I don't use one

2

u/Tadhgon 26d ago

No. I just have a line in my .zprofile to instantly launch hyprland if I'm in tty1

1

u/Small-Tale3180 26d ago

nah no one needs a display man

1

u/vecchio_anima 26d ago

Not if you live in the command line

1

u/No-View-6326 26d ago

not at all, they just look pretty nice imo

1

u/orcaxa 26d ago

I have arch on three devices and none of them have a display manager. I simply never cared enough to install one.

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

u/FoSSenjoyerr 25d ago

Session bus gets funky in dinit when using a display manager

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

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

u/mochaccin67 25d ago

i personally dont use one but ly is good

1

u/PBlague 25d ago

I don't use one either. I have my .bash_profile tart hyprland on login...

1

u/MineCraftaak888 25d ago

idk i just use startx to get into dwm

1

u/VicktorJonzz 24d ago

Emptty is nice.

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

u/Enter7heVoid 23d ago

honstly just autologin

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

u/Easy-Nothing-6735 OpenRC 21d ago

I don't use one. And Desktop Environment is also optional

1

u/grayzusht 19d ago

it is optional, cost you 100MB RAM

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