Ahhh... Thanks, guys. Yes, it was xvfb that I was thinking of.
I posted this on behalf of a guy from a CAD users' mailing list who was having a
problem, and from what I had heard of xvfb on this list, it sounded like that
might help him out. His app isn't actually Java, but it sounds like that's not
an issue with xvfb.
I'll pass this on to him. It's off-topic, but in case anyone's interested,
here's part of his original statement of his problem ("msplot" is a plotting
utility that works with this CAD software):
"The msplot command will not work because even though this is supposed to be
command line driven, once you submit the request, the print_cli command that
is called fails because it can't open the display, even though there is no
graphical display to output. I know that I can set the DISPLAY variable and
that then this would work, but this is not feasible for what I'm trying to
do."
Thanks again,
Jim
--
Nathan Meyers wrote:
>
> On Wed, Sep 12, 2001 at 06:25:00PM -0700, ed phillips wrote:
> > Are you referring, Jim, to an Expect like feature set for Java.
> >
> > Is there such a set of classes? Perl has an Expect module. Hmmm
>
> Joi's recommendation for xvfb is the right one. The Linux/Unix AWT always
> expects an X server even if you never create a window. Xvfb is a fully
> functional X server, but one whose "display" is in memory rather than
> a physical display device - exactly what you need to run AWT code on
> a server.
>
> Nathan
>
> > Ed
> >
> >
> > Joi Ellis wrote:
> > >
> > > On Wed, 12 Sep 2001, Jim Caley wrote:
> > >
> > > > It seems like a year or two ago I saw some sort of utility mentioned on this
> > > > mailing list that could be used to "fake out" a text-based app that still
>needed
> > > > to have a GUI display available. (Was it that some of the Swing classes wanted
> > > > the graphical display or something? I can't remember.)
> > > >
> > > > I'm not finding this in the archives. Does anyone know what I'm talking about?
> > >
> > > I'll guess that you're thinking of the xvfb (virtual frame buffer)
> > > X11 server which allows apps which manipulate fonts and/or images without
> > > using a physical display device. It comes up on headless web servers
> > > which want to generate dynamic gifs (hit counters) or whatever.
> > > The image/font manipulation stuff won't load without an X11 display, so
> > > xvfb is used to provide those resources without using an actual device.
> > >
> > > --
> > > Joi Ellis Software Engineer
> > > Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
> > >
> > > No matter what we think of Linux versus FreeBSD, etc., the one thing I
> > > really like about Linux is that it has Microsoft worried. Anything
> > > that kicks a monopoly in the pants has got to be good for something.
> > > - Chris Johnson
> > >
> > > ----------------------------------------------------------------------
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> > ----------------------------------------------------------------------
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
> --
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]