-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ddlm crashes #8
Comments
I'll check this out as soon as I can, thanks for the report |
I checked with the latest build , also with the one from AUR just to be sure. And it works for me. :( Can you make sure greetd(or greeter) user is part of video group? Also could you please attempt running it with RUST_BACKTRACE=1 and capturing the stdout. It would help greatly in debugging |
Not soon. Because after I start it, it locks me out of console and I'm unable to do anything except reboot with SysRq. |
|
maybe try journalctl -u greetd? |
That's exactly what I did. There was no errors from DDLM. Just an error from greetd:
|
or make command="exec systemd-cat --identifier=ddlm -- RUST_BACKTRACE=1 ddlm" |
I'll try. |
sorry. |
I have |
That might be it. the pr where i backported the session selection + cleanup deprecated the targets flag. |
Well, that's too bad. Will it at least preselect a session that was used last time? Also, I use a wrapper script to start sway to export the environment variables. Do I need to create a custom session |
Even better is I could pass a session from command line and don't need to select one during login. |
I can readd the flag . And no, last selected session is not saved yet, but will do it once I have time, I'll attempt to do that over the weekend, alongside with the user listing and selection |
If it would either remember the selected session end user or take the default values for session and user from command line, that would be perfect for me. Either way is good. If you re-add the flag to pass a custom script, then session selection should be disabled when this flag is passed. |
Ideally I would like to only enter the password to login. |
I'll work on saving the last used username and session over the weekend. |
I tried that trick with systemd-cat and got this error message from ddlm:
|
there was no changes there since the initial release. |
could you ls /usr/share/wayland-sessions and ls /usr/share/xsessions? Because i have a feeling there is something interesting about your installation. |
|
This message is a consequence of trying to capture the program output with |
So? Is there a way to capture the error output of ddlm without breaking it? |
I see this same failure. As a diagnostic, I commented out the
@deathowl At a guess, this may not repro for you because you have more than one session file in /usr/share/wayland-sessions (or /usr/share/xsessions)? To test this idea, I added a dummy second file to /usr/share/wayland-sessions and suddenly ddlm stopped crashing at startup. @eternal-sorrow That may give you a usable workaround. |
Thank you! Now this is something that I can look into fixing |
Shouldn't Rust prevent this kind of crashes by design? |
the contents of the file with xsessions and wlsessions of your machine are not known on compile time, so i doubt Rust provides any extra safety here |
I ran into the same issue because the session folders are not present on my NixOs machine. I reinstated the Let me know! |
What I get is the screen is flickering as systemd restarts greetd several times. It shows ddlm for a split second and then it shows the VT cursor in the corner of the screen. In the end systemd gives up and I get stuck t the screen that shows DDLM but I cannot interact with it. Furthermore I can't even switch to another TTY. Even after pressing Alt+SysRQ+R. So the only thing that's left for me is to reboot via Alt+SysRQ+REISUB.
After I rebooted and disabled greetd startup with recovery mode, I was able to see the journal, but there was nothing except this error from greetd:
The text was updated successfully, but these errors were encountered: