Can you give a real example of how to add a service to startup? 17 August 2022, 17:28:56 I've read the wiki, I don't get it. There's obviously no ../../sv folder which is on runit wiki. Can you give me a real example of adding GDM or SDDM or anything on dinit, openrc and runit?
Re: Can you give a real example of how to add a service to startup? Reply #1 – 17 August 2022, 18:07:21 One way to just run programs without bothering to write service files on openrc is putting scripts in /etc/local.d, definitely read the README in that directory for more info. 1 Likes
Re: Can you give a real example of how to add a service to startup? Reply #2 – 17 August 2022, 18:11:50 Quote from: questtix – on 17 August 2022, 17:28:56There's obviously no ../../sv folder which is on runit wikiThere obviously is one. Just try it and adopt it. You aren't actually creating the link where you think when you type this command.Quote from: questtix – on 17 August 2022, 17:28:56Can you give me a real example of adding GDM or SDDM or anything on dinit, openrc and runit?I don't think any example is needed, just follow the wiki which is pretty straightforward: `ln -s ../../sv/gdm /run/runit/service` 2 Likes
Re: Can you give a real example of how to add a service to startup? Reply #3 – 17 August 2022, 18:23:07 Quote from: qontinuum – on 17 August 2022, 18:11:50There obviously is one. Just try it and adopt it. You aren't actually creating the link where you think when you type this command.I don't think any example is needed, just follow the wiki which is pretty straightforward: `ln -s ../../sv/gdm /run/runit/service`I see, that does work actually. However GDM doesn't work. But that's a separate issue. I will try it again, but most likely I will be posting a request to help me install GDM with something that doesn't look like an Android system (why do so many DEs do? Aren't most people using PC?) and isn't buggy for VM host but works fully with Wayland after I get some responses in my other topic on a DE recommendation.Quote from: Lancia – on 17 August 2022, 18:07:21One way to just run programs without bothering to write service files on openrc is putting scripts in /etc/local.d, definitely read the README in that directory for more info. Thanks, I will check it if I end up with OpenRC in the end. Though my problem will be initial setup. After that, I will only use VM guests for everything.I consider this thread solved.
Re: Can you give a real example of how to add a service to startup? Reply #4 – 17 August 2022, 18:26:18 Quote from: questtix – on 17 August 2022, 18:23:07after I get some responses in my other topic on a DE recommendationYeah, just don't forget it isn't your personal blog and most of the things you ask can be answered by searching in an engine or even in the forum
Re: Can you give a real example of how to add a service to startup? Reply #5 – 17 August 2022, 18:36:38 Quote from: qontinuum – on 17 August 2022, 18:26:18Yeah, just don't forget it isn't your personal blog and most of the things you ask can be answered by searching in an engine or even in the forumI just spent 3 days doing just that and trying to remove X11 and switch to Wayland. Nothing worked so now I'm trying the base system which still doesn't work. That includes searching for Wayland-compatible up-to-date info, which is scarce. I never post on forums before I am sure that I cannot do it myself within a few days of morning to evening trials. On a holiday right now so I no-lifed for 3 days, however since that got me literally nowhere, and Monday I work, I want to get the system installed before then. I need my PC when I'm at home, and I cannot troubleshoot for 2 months checking past page 10 of the search results for wildest keyword combinations I come up with.TLDR I've put roughly 50 hours into this so far and I haven't moved an inch. I need help. Someone has done what i'm trying to do. For them it will take 30 minutes to do a good deed and help a fellow Linuxer move on from the base installation. After I find out how to install the system with Wayland and non-systemd, I'm out of your hair and off to configure VMs which hopefully won't be impacted by the lack of systemd or X11. 1 Likes