Re: runit: run process in a tty

From: Érico Nogueira <>
Date: Sat, 17 Oct 2020 01:50:23 -0300

On Fri Oct 16, 2020 at 2:35 PM -03, Kian Kasad wrote:
> I'm trying to have a runit service spawn `/usr/bin/ly` in a certain tty
> (tty2). I've tried redirecting std{in,out,err} to the tty:
> exec /usr/bin/ly </dev/tty2 >/dev/tty2 2>&1
> but this didn't work.

As far as I know, ly wants to be explicitly configured for a certain
tty, instead of supporting being launched anywhere. Even then, it might
still require quite a bit of work to function properly.

You can see a service for it in a PR for Void Linux [1]. For anyone
curious, ly is a TUI display manager [2].

- [1]
- [2]

> I tried the openvt(1) program, which has a flag `-e` to exec the program
> instead of forking it:

I don't know anything about openvt, unfortunately.
Received on Sat Oct 17 2020 - 04:50:23 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC