#kinda freeze when quiting xinitrc dwm

13 messages · Page 1 of 1 (latest)

pseudo mulch
#

I use ly dm and when I try to log using mod+shift+q in dwm it freeze. I am running it on xinitrc . I can still type when in this state

tiny herald
#

Maybe not the answer you're looking for, but myself and many others found ly to be really buggy.

If you want a DM like ly, you can try greetd + tuigreet.
I've also experience a similar bug back when i was using ly, and i haven't had it since i switched

pseudo mulch
tiny herald
#

you need to either give permissions to the user that greetd creates to shutdown your computer, OR change greetd's config file to shutdown as your user. you may also need to change the command that greetd executes to shutdown your computer in the config.toml file

#

as for your second point, are you starting dwm with startx?

#

make sure you arent starting dwm directly from tuigreet, you can set tuigreet to exec startx if you havent already. read the wiki page if you havent set this up

#

if that doesn't work, try modifying your xinitrc file to run "exec dbus-run-session dwm"

pseudo mulch
tiny herald
#

modify the command as needed

pseudo mulch
#

and which user do greetd create to shutdown the sys @tiny herald

#

can you also share you config file of greetd

tiny herald
#

the config file is located in /etc/greetd/config.toml
heres what mine looks like:

[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
vt = 7

# The default session, also known as the greeter.
[default_session]

# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh`
# with whatever you want started, such as `sway`.
#command = "agreety --cmd /bin/sh"
command = "tuigreet --greeting 'Enter the void...' --cmd 'startx' --power-shutdown 'loginctl poweroff' --power-reboot 'loginctl reboot'"

# The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be
# in the `video` group.
#user = "_greeter"
user = "my_user_here"