Skip to main content
Topic: Can someone post their openrc or s6 service files for tigervnc? (Read 531 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Can someone post their openrc or s6 service files for tigervnc?

Hi All!  I came across a post from here a couple of months ago inquiring as to why there hasn't been a runit script built for starting/enabling tigervnc, while there is a script for openrc or s6: https://forum.artixlinux.org/index.php/topic,2414.0.html

While I am very VERY new to Artix and the runit init system, I'd just like to see what other init systems have done so that I might try and interpret them and get them going on runit.  I'm unlikely to be successful as I'm just a beginner when it comes to coding/programming, but I have been able to accomplish simple tasks like editing runit files to get postgresql running when it wouldn't by default, and have also written a small runit script to undervolt my nvidia gpu via the nvidia-smi.

So I'd like to try my hand at something advanced, but am having trouble finding any source files to give me an idea of where to start.

Any ideas would be helpful, or at least hopefully this post will bring the lack of a tigervnc service package for runit to the Artix developers attention and eventually get it resolved.

Thanks for taking the time to read this post and I appreciate any advice offered.

Re: Can someone post their openrc or s6 service files for tigervnc?

Reply #1
http://openrc.run/

Re: Can someone post their openrc or s6 service files for tigervnc?

Reply #2
Oh the reason there isn't a tigervnc service for runit is because the binary automatically backgrounds itself with no option to control it (at least last time I checked that was the case) which makes it impossible to work on runit. Openrc can run background services and s6/suite66 use s6-fghack in the init script to force that binary to the foreground which is why it works there.

Strictly speaking, one could use s6-fghack on runit as well. It's just one program.

Re: Can someone post their openrc or s6 service files for tigervnc?

Reply #3
Oh the reason there isn't a tigervnc service for runit is because the binary automatically backgrounds itself with no option to control it (at least last time I checked that was the case) which makes it impossible to work on runit. Openrc can run background services and s6/suite66 use s6-fghack in the init script to force that binary to the foreground which is why it works there.

Strictly speaking, one could use s6-fghack on runit as well. It's just one program.

Thanks for that clarification.  I'll look into the s6-fghack, but I really appreciate you taking the time to explain it (I felt a little bad that no one had bothered to post to the link above clarifying that, so I'm sorry if this is considered a form of a repost, but I just wanted to see if there had been any discussion about it, and you've answered my question).

Truly! Thanks again!