hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.09k stars 754 forks source link

Login Manager (Least imp) #1293

Closed niksingh710 closed 8 months ago

niksingh710 commented 1 year ago

I am totally aware that this is out from the scope of Hyprland. but then also thought to propose.

available login managers :- sddm,ly,gdm

sddm: - works but get's many kde applications and xorg installed good for someone who is using kde plasma as primary. ly:- not perfect (get's the job done. does not go with the ui asthetics of Hyprland) gdm:- didn't gave try but naah.

a respective login manager and a lockscreen will be a good add on as if some one wants to only use hyprland. as swaylock have less features too.

Ziqi-Yang commented 1 year ago

Maybe you can try lightdm, which is a cross-desktop display manager, providing you with a lot of flexibility on the choice of the front end(greeter). For example, you can try web-greeter, which uses qt5-webengine and allows user to create web-based themes with HTML, CSS, and JavaScript, so there won't be ui aesthetics if you write your own theme in the case that you couldn't find a right theme that fit Hyprland. You can find other greeter here: https://wiki.archlinux.org/title/LightDM

niksingh710 commented 1 year ago

Maybe you can try lightdm, which is a cross-desktop display manager, providing you with a lot of flexibility on the choice of the front end(greeter). For example, you can try web-greeter, which uses qt5-webengine and allows user to create web-based themes with HTML, CSS, and JavaScript, so there won't be ui aesthetics if you write your own theme in the case that you couldn't find a right theme that fit Hyprland. You can find other greeter here: https://wiki.archlinux.org/title/LightDM

I checked it and yep it is nice. but it also renders using x11. it can start a Wayland session but to render itself it uses Xorg-server.

ghost commented 1 year ago

I recently tested LightDM and it was unable to start a Hyprland session.

khaneliman commented 1 year ago

I recently tested LightDM and it was unable to start a Hyprland session.

Yeah, I didn't try long but I used to use lightdm when I mained AwesomeWM. When I was first setting up Hyprland it wouldn't launch it and I switched to sddm-git.

Sunderland93 commented 1 year ago

Try greetd

foznoth commented 1 year ago

I generally use greetd, nice and lightweight and can be a plain text, tui or graphical.

lepz0r commented 1 year ago

Try greetd

I tried greetd but it doesn't support user switching

vaxerski commented 8 months ago

hyprdm not planned

niksingh710 commented 8 months ago

hyprdm not planned

wat bout hyprlock? i guess it is quite needed as then it may solve lock issue on multimonitor and may have some awesome plugins........

vaxerski commented 8 months ago

nope

hughesjs commented 1 month ago

@vaxerski - What if someone else wrote it? Just gauging whether it's something the core team don't want to implement or if you just don't want it as part of the project altogether?

vaxerski commented 1 month ago

if you want to write it it's your choice, lol. I just don't want to do it myself.

guttermonk commented 1 month ago

Can anyone using Hyprland & NixOS recommend a login manager? On this thread, they said that ly doesn't respect the config files. Sounds like greetd or it's forks may be my best option? A hyprland specific login manager that matched hyprlock would be nice.

hughesjs commented 1 month ago

Can anyone using Hyprland & NixOS recommend a login manager? On this thread, they said that ly doesn't respect the config files. Sounds like greetd or it's forks may be my best option? A hyprland specific login manager that matched hyprlock would be nice.

SDDM is functional. That's about the best endorsement I can give it.

khaneliman commented 1 month ago

Can anyone using Hyprland & NixOS recommend a login manager? On this thread, they said that ly doesn't respect the config files. Sounds like greetd or it's forks may be my best option? A hyprland specific login manager that matched hyprlock would be nice.

Have used regreet with greetd and sddm. I’ve got some examples of configuration in my repo

guttermonk commented 1 month ago

tuigreet looks pretty cool and works well, but I get some code spam between when I log in and hyprland loads. Any way to hide that?

A matching, wayland native, login manager and lockscreen would still be cool.

lepz0r commented 1 month ago

lightdm works here but you must add this script to your ~/.xprofile as in canonical/lightdm#63 & WayfireWM/wayfire#1479

if [ -n "$XDG_VTNR" ] ; then
    echo "Waiting for VT $XDG_VTNR:"
    for ((i=0;i<100;i++)) ; do
      CURRENT="$(</sys/devices/virtual/tty/tty0/active)" 
      echo  "  $(date +%s.%N) using $CURRENT"
      if [[ "$CURRENT" = "tty$XDG_VTNR" ]]; then
          break
      fi
      sleep 0.01
    done 
fi