Detect if non-GUI runs OK headless by forcing it to try using non-headless mode
Detect if non-GUI runs OK headless by forcing it to try using non-headless mode

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@564576 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 305e443357b6ea1ae79b6e1c0cd88c32d3b24bb1
apache/jmeter,benbenw/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,benbenw/jmeter,ham1/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter