Dinit: ly doesn't start, permission denied error 19 November 2024, 17:15:34 Hey, everyone! I installed `ly-dinit`, but it doesn't start. The command `sudo dinitctl start ly` shows:QuoteService 'ly' failed to start.Reason: execution of service process failed: Stage: executing command Error: Permission deniedEven if I run it from the Root user profile, it shows the same. The system reboot just throws me in a TTY session. The `sudo dinitctl enable ly` tells me that it's already enabled:Quotedinitctl: service already enabled.Also, if I launch `ly` just from the console by running `ly-dm`, the display manager appears, but shows "failed to access console".Maybe I do something wrong? How can I put it to work? Thanks for any help.
Re: Dinit: ly doesn't start, permission denied error Reply #1 – 20 November 2024, 09:01:02 There's a relevant discussion here.Basically, ly contains a dinit service file in its source tree, but has "$EXE" in place of the actual executable name ("ly-dm"). (I assume that as part of the build or install process it gets updated with the actual executable name but I haven't verified that).Apparently for the Artix package, that service file was used verbatim without replacing "$EXE" by "ly-dm" (and apparently, without testing the result). See the repo (the ly file within).To fix it, edit the /etc/dinit.d/ly file and change "command = $EXE" to "command = /usr/bin/ly-dm". And read the rest of that first discussion I linked as it may be relevant.