Skip to content
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

Installed on void, getting Unknown error when trying to log in #614

Open
ehsanghorbani190 opened this issue May 28, 2024 · 4 comments
Open
Labels
bug This issue or pull request discusses a bug

Comments

@ehsanghorbani190
Copy link

ehsanghorbani190 commented May 28, 2024

Hi! I recently installed LY on my clean void installation. I installed void from the base image (without XFCE) and installed and configured the Xserver totally from scratch. When I run my system, without LY, I get to the default shell login and after logging in, I can start my i3 with startx command without any problems.
Before my main issue, I had a lot of problems for getting the LY to even run on startup! The issue was that in /etc/sv/ly, scripts of LY service were not executable! And I had to chmod +x run finish config them on my own. It was hard to figure this out, please mention this in the README!
My main issue is when I reach to the LY and input my password, it waits a second, then splashes, and now I see the LY but with this message: an unknown error occured. I cannot figure this out because my .xinitrc is executable and starts with shebang, and startx command works like a charm! Any ideas for debugging? I don't know if the LY has a log or something, and where is it stored....

@jabuxas
Copy link

jabuxas commented Jun 11, 2024

how did you install on void? i get an error compiling

  • first error because zig on void repos is on 0.10
  • then after downloading 0.14 from zig downloads, i get another error that goes
/yang/tmp/ly/build.zig:32:33: error: no field named 'path' in union 'Build.LazyPath'
        .root_source_file = .{ .path = "src/main.zig" },
                                ^~~~
/yang/tmp/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/lib/std/Build.zig:2171:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
referenced by:
    runBuild__anon_8808: /yang/tmp/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/lib/std/Build.zig:2116:27
    main: /yang/tmp/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/zig-linux-x86_64-0.14.0-dev.15+d4bc64038/lib/compiler/build_runner.zig:301:29
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
    

@ehsanghorbani190
Copy link
Author

@jabuxas
Just use ZIG v0.12.0 as mentioned in requirements. Newer or older versions fail to compile.

@AnErrupTion AnErrupTion added the bug This issue or pull request discusses a bug label Jul 27, 2024
@AnErrupTion
Copy link
Collaborator

scripts of LY service were not executable! And I had to chmod +x run finish config them on my own. It was hard to figure this out, please mention this in the README!

This is now fixed in master and has been backported to v1.0.1. I'll try to investigate the unknown error very soon.

@AnErrupTion
Copy link
Collaborator

@ehsanghorbani190 I'm able to reproduce your issue when the dbus service isn't enabled. Can you check if that's the case on your system, and if so, does enabling it fix the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request discusses a bug
Projects
None yet
Development

No branches or pull requests

3 participants