Alfresco 5.1 Javascript 调试器错误未设置 x11 显示变量,但此程序执行的操作需要

Alfresco 5.1 Javascript debugger error no x11 display variable was set but this program performed an operation which requires

我已经在 Ubuntu 14.04 上安装了 Alfresco 5.1,我还安装了 Javascript 脚本编辑库。然而,我的挑战是当我想通过 http://localhost:8080/alfresco/s/api/javascript/debugger 启用 javascript 调试器时,我收到以下错误:

The Web Script /alfresco/s/api/javascript/debugger has responded with a status of 500 - Internal Error.

500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: 05230000 Wrapped Exception (with status template): No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Exception: java.awt.HeadlessException - No X11 DISPLAY variable was set, but this program performed an operation which requires it.

请帮忙!!

https://forums.alfresco.com/forum/end-user-discussions/alfresco-share/javascript-debugger-error-09112012-1015

此外,根据我的经验 - 我现在无法找到任何官方信息 - 当 Alfresco 作为服务运行时调试将不起作用。