hello, i followed the guide at viewtopic.php?f=3&t=315 but seeing as i don't have a gui i have no idea what to put in the PMS.conf to get h264 video working on the ps3 also, what flag for mulicore
any help would be greatly appreciated
9Mqjq2k13 wrote:Did anyone got this working?
At startup PMS says that it's starting on the command-line with no GUI even when I ssh to the server with the -X option.
xclock & works fine on my two machines via SSH-tunnel.
if (System.getProperty("console") == null) {//$NON-NLS-1$
frame = new LooksFrame(autoUpdater, configuration);
autoUpdater.pollServer();
} else {
System.out.println("GUI environment no available"); //$NON-NLS-1$
System.out.println("Switching to console mode"); //$NON-NLS-1$
frame = new DummyFrame();
}
public static void main(String args[]) throws IOException, ConfigurationException {
if (args.length > 0) {
for(int a=0;a<args.length;a++) {
if (args[a].equals("console")) //$NON-NLS-1$
System.setProperty("console", "true"); //$NON-NLS-1$ //$NON-NLS-2$
else if (args[a].equals("nativelook")) //$NON-NLS-1$
System.setProperty("nativelook", "true"); //$NON-NLS-1$ //$NON-NLS-2$
else if (args[a].equals("scrollbars")) //$NON-NLS-1$
System.setProperty("scrollbars", "true"); //$NON-NLS-1$ //$NON-NLS-2$
else if (args[a].equals("noconsole")) //$NON-NLS-1$
System.setProperty("noconsole", "true"); //$NON-NLS-1$ //$NON-NLS-2$
}
}
try {
Toolkit.getDefaultToolkit();
if (GraphicsEnvironment.isHeadless() && System.getProperty("noconsole") == null) //$NON-NLS-1$
System.setProperty("console", "true"); //$NON-NLS-1$ //$NON-NLS-2$
} catch (Throwable t) {
System.setProperty("console", "true"); //$NON-NLS-1$ //$NON-NLS-2$
}
configuration = new PmsConfiguration();
PMS.get();
try {
// let's allow us time to show up serious errors in the GUI before quitting
Thread.sleep(60000);
} catch (InterruptedException e) { }
}
Return to Linux Specific Support
Users browsing this forum: No registered users and 3 guests