Starting X11 Window Server

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Harry Sabnani

Starting X11 Window Server

Post by Harry Sabnani » Tue Aug 13, 2002 10:48 pm

I've read the Forum issues (http://www.object-refinery.com/phorum-3 ... 987&t=2987) surrounding the need for an X11 Window Server to be running for certain functions to work. I have a Solaris (2.7) question that no one in our group seems to know the answer to:

Can you start the X Window Server automatically when Solaris launches? It seems that the only way an X server launches is if we go to the Solaris console and actually log in after a reboot. We've tried to run /usr/openwin/bin/xinit manually, but it seems this process is already running. Thanks in advance for any help.

David Gilbert

Re: Starting X11 Window Server

Post by David Gilbert » Wed Aug 14, 2002 9:47 am

I'm not sure about system configuration for starting X11. One thing you might consider (if you are using JDK 1.4) is using the new "headless" mode, which just requires adding -Djava.awt.headless=true to the command line when you start Java. Then you don't have to have X11 running...

Regards,

DG.

Drew Varner

Re: Starting X11 Window Server

Post by Drew Varner » Sun Aug 25, 2002 4:15 am

For pre-JDK 1.4 Virtual machines, you can use X Virtual Frame Buffer (xvfb). It allows you to generate images in RAM without access to a Video Card. Oracle keeps a Solaris distribution of it on Technet. You can run xvfb and regular X Windows on the same machine.

- Drew

Locked