Johan,

I use OpenDJ and I've run it both on Linux and OmniOS.  

The simplest solution is do not attempt to run the control panel app from the 
OmniOS server.

1) Download/copy the OpenDJ package, or even a tarball of your installation 
from the OmniOS machine to a "desktop" machine, anything where you have Java 
and X11 (or Mac or Windows).  
2) From that machine, run the control-panel.
3) When it starts, you'll need to provide IP, port, and credentials to make it 
talk to the OpenDJ daemon process on OmniOS machine, but it should work just 
fine otherwise.

As Dan suggested, you can also install the X11 libs on OmniOS, but you'd still 
need a local X11 server for the remote control-panel process to use for user 
interaction.


-Benjamin

> On May 12, 2015, at 10:38 AM, Dan McDonald <[email protected]> wrote:
> 
> 
>> On May 12, 2015, at 1:08 PM, Johan Kragsterman 
>> <[email protected]> wrote:
>> 
>> So if anyone of you got any input on this, pls let me know....(I'm a 
>> complete nooob with java...):
> 
> I'm no Java wizard, so take this with a grain of salt, but...
> 
>> root@z1:/etc/opendj/bin# ./control-panel
>> Could not launch Control Panel.  Check that you have access to the display.
>> Check file /var/tmp/opendj-control-panel-1827401860598694601.log for details.
>> root@z1:/etc/opendj/bin# cat 
>> /var/tmp/opendj-control-panel-1827401860598694601.log
>> May 12, 2015 4:52:28 PM 
>> org.opends.guitools.controlpanel.util.ControlPanelLog initLogFileHandler
>> INFO: Application launched May 12, 2015 4:52:28 PM UTC
>> May 12, 2015 4:52:28 PM 
>> org.opends.guitools.controlpanel.ControlPanelLauncher$1 run
>> WARNING: Error setting look and feel: java.awt.AWTError: Toolkit not found: 
>> sun.awt.X11.XToolkit
>> java.awt.AWTError: Toolkit not found: sun.awt.X11.XToolkit
> 
> From that last quoted line, it looks like you'll need X11 libraries, possibly 
> X11 *JAVA* libraries as well.
> 
> We don't supply X11 at all in the "omnios" publisher.  I'd suggest using 
> pkgsrc and installing X11 libraries to help you out.
> 
> I'm sure there are others on the list with experience installing X11 
> libraries on OmniOS, possibly even to help out Java apps.
> 
> Dan
> 
> _______________________________________________
> OmniOS-discuss mailing list
> [email protected]
> http://lists.omniti.com/mailman/listinfo/omnios-discuss

_______________________________________________
OmniOS-discuss mailing list
[email protected]
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to