headless operation

Steve Loughran <[email protected]> Fri, 29 Jun 2007 17:44:29 +0100
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
I've been having some fun with the rpms and headless operation.

1. setting the DISPLAY to localhost:8 doesnt work. it may work on some 
boxes, but not all.

2. what we ought to do is have the daemon start up from init.d without 
any display at all, somehow.

3. we could maybe have it start up a specific default.sf

4. or we make the startup scripts clever, use the absence of $DISPLAY to 
set java.awt.headless=true and then dynamically decide whether to deploy 
the display or not based on the LAZY PROPERTY java.awt.headless.

Thoughts?
-- 
-----------------------
Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/