Re: Emacs Daemon as Service

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 25 Mar 2020 07:45:00 +0000

>#!/usr/bin/execlineb -P
>s6-setuidgid uros
>emacs --fg-daemon --user uros
>```
>Though the server starts it cannot connect to the X display. I assume
>there's an explicit way to handle this in s6.

  Here emacs is launched by your supervision tree, not your user
environment, so it doesn't have access to your DISPLAY variable.
Try giving it a -d :0 option?

--
  Laurent
Received on Wed Mar 25 2020 - 07:45:00 UTC

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