<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JavaScript debugger &amp;quot;No X11 DISPLAY variable was set, but this program performed an operati in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/javascript-debugger-quot-no-x11-display-variable-was-set-but/m-p/15668#M6916</link>
    <description>&lt;P&gt;Just in case someone still struggles with this after having tried everything above.&lt;/P&gt;&lt;P&gt;We solved the issue simply by reinstalling the console:&lt;/P&gt;&lt;PRE&gt;java -jar ${TOMCAT_BASE}/alfresco/bin/alfresco-mmt.jar install ${TOMCAT_BASE}/alfresco/amps/alfresco-aos-module-1.1.amp ${TOMCAT_BASE}/alfresco/webapps/alfresco.war -verbose
java -jar ${TOMCAT_BASE}/alfresco/bin/alfresco-mmt.jar install ${TOMCAT_BASE}/alfresco/amps/javascript-console-repo-0.6.0.amp ${TOMCAT_BASE}/alfresco/webapps/alfresco.war -verbose&lt;/PRE&gt;</description>
    <pubDate>Sat, 16 Jul 2022 10:12:30 GMT</pubDate>
    <dc:creator>badawiraphael</dc:creator>
    <dc:date>2022-07-16T10:12:30Z</dc:date>
    <item>
      <title>JavaScript debugger "No X11 DISPLAY variable was set, but this program performed an operation which"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/javascript-debugger-quot-no-x11-display-variable-was-set-but/m-p/15667#M6915</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I've been struggling for a while to make the JS debugger working again after migrating from Alfresco 5.x Alfresco 6.2. The Alfresco instance is running on a CentOS 7 server.&lt;/P&gt;&lt;P&gt;The error message is a&amp;nbsp;"No X11 DISPLAY variable was set, but this program performed an operation which requires it."&lt;/P&gt;&lt;P&gt;I tried to force the console working headless with the JAVA_OPTS&amp;nbsp;-Djava.awt.headless=true but it resulted in a Headless Exception with a "cannot resolve reference to bean 'rhinoScriptDebugger'" message.&lt;/P&gt;&lt;P&gt;If I put headless back to false, set and launch X as follows :&lt;/P&gt;&lt;PRE&gt;export DISPLAY=:0.0
xinit
xhost +&lt;/PRE&gt;&lt;P&gt;i got this different error message :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alf.png" style="width: 867px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/126i396615B70C8DFAC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Since then I've been going around in circles.&lt;/P&gt;&lt;P&gt;Anybody has any idea to fix this?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 08:40:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/javascript-debugger-quot-no-x11-display-variable-was-set-but/m-p/15667#M6915</guid>
      <dc:creator>badawiraphael</dc:creator>
      <dc:date>2022-07-15T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: JavaScript debugger "No X11 DISPLAY variable was set, but this program performed an operati</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/javascript-debugger-quot-no-x11-display-variable-was-set-but/m-p/15668#M6916</link>
      <description>&lt;P&gt;Just in case someone still struggles with this after having tried everything above.&lt;/P&gt;&lt;P&gt;We solved the issue simply by reinstalling the console:&lt;/P&gt;&lt;PRE&gt;java -jar ${TOMCAT_BASE}/alfresco/bin/alfresco-mmt.jar install ${TOMCAT_BASE}/alfresco/amps/alfresco-aos-module-1.1.amp ${TOMCAT_BASE}/alfresco/webapps/alfresco.war -verbose
java -jar ${TOMCAT_BASE}/alfresco/bin/alfresco-mmt.jar install ${TOMCAT_BASE}/alfresco/amps/javascript-console-repo-0.6.0.amp ${TOMCAT_BASE}/alfresco/webapps/alfresco.war -verbose&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Jul 2022 10:12:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/javascript-debugger-quot-no-x11-display-variable-was-set-but/m-p/15668#M6916</guid>
      <dc:creator>badawiraphael</dc:creator>
      <dc:date>2022-07-16T10:12:30Z</dc:date>
    </item>
  </channel>
</rss>

