【发布时间】:2018-07-27 10:30:37
【问题描述】:
我正在使用soffice --headless 从命令行测试 LibreOffice 扩展。这在 Linux 上效果很好,但是当我 ssh 进入我们的 macos 测试服务器时,它根本没有启动,只是挂起
_RegisterApplication(), FAILED TO establish the default connection to
the WindowServer, _CGSDefaultConnection() is NULL.
有没有办法解决这个问题?我看到了对 launchd 和 https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPMultipleUsers/Concepts/SystemContexts.html 之类的引用,但它们似乎需要对 LibreOffice 本身进行更改。
【问题讨论】:
标签: macos ssh libreoffice headless launchd