So does this mean that you have to have the X client running on the Web
server?  This also implies that there must be graphics hardware present
on the Web server as well.  Most ISP's who have rack-mounted banks of
servers will probably not even have graphics hardware installed on their
servers.  I suppose that means that I'm out of luck for those types of
configurations.  Does anybody know of a way around this?

- Kurt
_______________________________
                                   Kurtis G. Williams
   Internet Applications Development
                      Sterling Wentworth Corp.
                       [EMAIL PROTECTED]
                phone: (801) 355-9777 x260
                     fax: (801) 355-9792



> -----Original Message-----
> From: Gene McKenna [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 10, 1999 1:58 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Dynamic Images on X hosts
>
> I've had weird troubles of this nature too on Solaris. I've never
> quite
> pinned it down but I must have X running ( at least when the process
> that creates the graphics context starts, then I can quit X ) and I
> think
> I have to have a user logged in too, but if my one user that is logged
> in has
> done so through a remote client ( like a remote telnet from Windows )
> then all the images generated come out totally black. I have to log in
> on the server itself to make it work right.
>
> GENE
>
>
> David Wall wrote:
> >
> > I run them under Linux, and I have found that the web server needs
> to have X
> > running, and in fact, there must be someone logged on to X so that
> the
> > DISPLAY=:0.0 will be available and usable.
> >
> > It's a bit odd, but even if the image generation will NOT display
> the image,
> > Java (blackdown jdk 1.1.7) will not return things like Graphics to
> draw the
> > image on unless you have either displayed the Frame (or better by
> calling
> > addNotify() to get the peers created without actually displaying
> > anything) -- via frame.setVisible(true); frame.setVisible(false); --
> and you
> > can't do these without having the display available.
> >
> > But, I'd sure like to know if anybody has solved this better.  As it
> is
> > right now, whenever my web server is rebooted, I must login (to any
> X
> > account) via xdm to allow the DISPLAY to work.
> >
> > David
> >
> > >I know that many of you have experience using dynamically generated
> > >images from servlets on Solaris/UNIX hosts and was wondering if
> anybody
> > >had an answer to a recurring problem of mine. I have a servlet that
> > >generates an image and serves it back to the client.  I'm trying to
> > >explain to an ISP how to set up their system for image generation.
> My
> > >questions are:
> > >
> > >What software has to be installed on the Web server?
> > >What system environment variables have to be set?
> > >What has to be running on the Web server to make it all work?
> >
> >
> ______________________________________________________________________
> _____
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> --
>                                         Gene McKenna
>   BLUEDOT.COM                           [EMAIL PROTECTED]
>   Event Management Software             tel: 415.979.9550 x13
>                                         fax: 415.979.9551
>
> ______________________________________________________________________
> _____
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to