-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
There seems to be some underlying library related to the electron module requiring a X server to display on, even though no GUI is being used.
We have a use-case to run 'ace' in a background process for users of our website (as we do with 'epubcheck'), so we would like it to run on the command line on its own.
However:
LocalMachine:~ localuser$ ssh user@server
Last login: Tue Oct 21 12:02:29 2025 from IP
[user@server ~]$ ace --version
[16465:1021/132316.372714:ERROR:ozone_platform_x11.cc(246)] Missing X server or $DISPLAY
[16465:1021/132316.372850:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
/PATH/TO/node_modules/@daisy/ace/node_modules/electron/dist/electron exited with signal SIGSEGV
[user@server ~]$ exit
logout
Connection to server closed.
LocalMachine:~ localuser$ ssh -X user@server
Last login: Tue Oct 21 13:23:02 2025 from IP
[user@server ~]$ ace --version
1.3.7
[user@server~]$
Is the assumption that anyone trying to run a command-line should use the HTTP server / API version instead?
This is on RHEL 9.6, Node 22.19.0, ACE 1.3.7.
Metadata
Metadata
Assignees
Labels
No labels