title: Screen -X isn't working ("No screen found")
body: <p>I have this php code:</p>
  
  <pre><code>echo shell_exec('sh /backups/turnon.sh');
  </code></pre>
  
  <p>The <code>/backups/turnon.sh</code> code is:</p>
  
  <blockquote>
    <p>screen -X 'cd /ftb; java -Xms2048m -Xmx2048m -jar mcpc.jar'</p>
  </blockquote>
  
  <p>However, that outputs to the website:</p>
  
  <blockquote>
    <p>No screen session found. </p>
  </blockquote>
  
  <p>However if I open PuTTY and I do <code>screen -x</code> I can load the screen with no issue. What am I doing wrong.</p>