#kinda freeze when quiting xinitrc dwm
13 messages · Page 1 of 1 (latest)
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
hey I am having some issues while using greetd like it is unable to shutdown because of operation not permitted and while I start dwm session it says dwm:unable to open display
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"
can you give me link to wiki page ?
https://wiki.archlinux.org/title/Greetd
find the section for 'tuigreet'
modify the command as needed
and which user do greetd create to shutdown the sys @tiny herald
can you also share you config file of greetd
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"