Skip to main content
Topic: Help: "turnstiled: srv: died before notifying readiness" (Read 1740 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help: "turnstiled: srv: died before notifying readiness"

Also, "GTK-Warning: cannot open display:" on Waybar, Gnome Builder, but not most GTK4 apps.

I really wanna give this distro a chance but it’s like pushing back every step of the way.

Help please!

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #1
Also, "GTK-Warning: cannot open display:" on Waybar, Gnome Builder, but not most GTK4 apps.

I really wanna give this distro a chance but it’s like pushing back every step of the way.

Help please!

I've had similar feelings / thoughts so many times, until i finally realised that it's not the distro per se, but the way that i was approaching it and expecting it to just "work" (which to be fair, it does, and exceptionally well). However, once i spent time with it, asked AI a lot of questions, installed different versions (OpenRC, runit & dinit) tens of times over a 2 month period, i finally started to realise many things and learned a lot that i previously didn't have a clue about. I'm still learning, but it's now a lot easier.

I don't know what problems you're having as your info doesn't say a lot or go into any detail. But, i will say that if you just install a version (i'm using xfce with dinit) and then slowly start to get used to it for a while, learn and read a bit about how dinit and arch operates and how it differs from other distros / inits etc, it'll slowly start to sink in.

Artix is amazing, and dinit is really good. Modern, fast and reasonably easy to get to grips with, but you're gonna hit some hurdles and this causes frustration.

If i could ask a question? Why are you using Gnome right from the start? With the amount of hooks and deps into systemd i'm not surprised that it's potentially problematic. Have you tried just installing a lighter (xfce?) DE and then going from there? Once you have a "stable" system and know a little about how dinit works, then you could install Gnome, give it a try and at least have xfce (or whatever DE you choose) to go back to if things go wrong. It's not foolproof, but it's as good a place as any to start. :)

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #2
Also, "GTK-Warning: cannot open display:" on Waybar, Gnome Builder, but not most GTK4 apps.

I really wanna give this distro a chance but it’s like pushing back every step of the way.

Help please!
I don't know about what your settings are, in my case I had a very hard time configuring a basic Wayland desktop with labwc and stuff and had all kinds of errors. I found this info on github which saved me, maybe it can help you.
This kind of hardship didn't happen on Arch Linux where everything that was needed for things to just work were dependencies of labwc/wayland. But I'm glad I did the switch to Artix-dinit, it is faster and other aspects are easier to handle without having to be an engineer. And it's just as stable

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #3
Also, "GTK-Warning: cannot open display:" on Waybar, Gnome Builder, but not most GTK4 apps.

I really wanna give this distro a chance but it’s like pushing back every step of the way.

Help please!

I've had similar feelings / thoughts so many times, until i finally realised that it's not the distro per se, but the way that i was approaching it and expecting it to just "work" (which to be fair, it does, and exceptionally well). However, once i spent time with it, asked AI a lot of questions, installed different versions (OpenRC, runit & dinit) tens of times over a 2 month period, i finally started to realise many things and learned a lot that i previously didn't have a clue about. I'm still learning, but it's now a lot easier.

I don't know what problems you're having as your info doesn't say a lot or go into any detail. But, i will say that if you just install a version (i'm using xfce with dinit) and then slowly start to get used to it for a while, learn and read a bit about how dinit and arch operates and how it differs from other distros / inits etc, it'll slowly start to sink in.

Artix is amazing, and dinit is really good. Modern, fast and reasonably easy to get to grips with, but you're gonna hit some hurdles and this causes frustration.

If i could ask a question? Why are you using Gnome right from the start? With the amount of hooks and deps into systemd i'm not surprised that it's potentially problematic. Have you tried just installing a lighter (xfce?) DE and then going from there? Once you have a "stable" system and know a little about how dinit works, then you could install Gnome, give it a try and at least have xfce (or whatever DE you choose) to go back to if things go wrong. It's not foolproof, but it's as good a place as any to start. :)

I’m not using Gnome, just using Gnome apps. I’m running Hyprland.
When I tried to start waybar, it worked before I installed turnstiled, and if i dbus-launched it. Now I have dbus and it doesn’t work. Theming is hell too, but that’s another thing.

Turnstile says the title thing on boot. It also says in turnstile logs:
dinit: Error binding control socket: No such file or directory
dinit: invalid control socket ''

So turnstiled won’t start and running dinitctl start --user turnstiled gives me:
dinitctl: connecting to socket: /run/user/1000/dinitc: No such file or directory
dinitctl: perhaps no user instance is running?

This started when I installed seatd and seatd-dinit and removed elogind and elogind-dinit. I tried to uninstall seatd and reinstall elogind (and the dinit versions) but it still prevailed. I would prefer to stay on seatd because I heard it’s less bloated.

That is absolutely all the info I have.

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #4

I’m not using Gnome, just using Gnome apps. I’m running Hyprland.

That is absolutely all the info I have.

Aha, i see,  i can't help with that, i'm using X11 and don't use (or know much about) Wayland / Hyperland. Hopefully someone else here who does use Wayland can help you.

One thing i will say is that by the look of this.....

Code: [Select]
dinit: Error binding control socket: No such file or directory
dinit: invalid control socket ''

And this....

Code: [Select]
running dinitctl start --user turnstiled gives me:
dinitctl: connecting to socket: /run/user/1000/dinitc: No such file or directory
dinitctl: perhaps no user instance is running?

 it's possibly a simple dinit script error, or you're trying to run it as a user when it should be run as a system service? Maybe the best way is to just reinstall and get everything to the place where it was before it went wrong? You said it was working with elogind? so why not just reinstall and use elogind instead? At least your system will be running and then you can do some research to find out a bit more about using seatd etc?

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #5

I’m not using Gnome, just using Gnome apps. I’m running Hyprland.

That is absolutely all the info I have.

Aha, i see,  i can't help with that, i'm using X11 and don't use (or know much about) Wayland / Hyperland. Hopefully someone else here who does use Wayland can help you.

One thing i will say is that by the look of this.....

Code: [Select]
dinit: Error binding control socket: No such file or directory
dinit: invalid control socket ''

And this....

Code: [Select]
running dinitctl start --user turnstiled gives me:
dinitctl: connecting to socket: /run/user/1000/dinitc: No such file or directory
dinitctl: perhaps no user instance is running?

 it's possibly a simple dinit script error, or you're trying to run it as a user when it should be run as a system service? Maybe the best way is to just reinstall and get everything to the place where it was before it went wrong? You said it was working with elogind? so why not just reinstall and use elogind instead? At least your system will be running and then you can do some research to find out a bit more about using seatd etc?

Okay I did some testing and when I dinitctl stop and start greetd, log back in, waybar works? This is huge but I want maybe a less hacky solution.

FURTHER testing indicates that Waybar works when I start from my already logged in account.

Re: Help: "turnstiled: srv: died before notifying readiness"

Reply #6
I FIGURED IT OUT. After like 3 days of constant debugging, I found out that uninstalling pam_rundir and letting turnstile manage the rundirs (in /etc/turnstile/turnstiled.conf, manage_rundir=yes) it WORKED.