home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!chen
- From: chen@umiacs.umd.edu (Ling Tony Chen)
- Newsgroups: comp.sys.sgi
- Subject: XOpenDisplay fails when nobody is logged on
- Message-ID: <60308@mimsy.umd.edu>
- Date: 14 Sep 92 21:04:42 GMT
- Sender: news@mimsy.umd.edu
- Distribution: na
- Organization: UMIACS, University of Maryland, College Park, MD 20742
- Lines: 23
-
-
- I'm doing some mixed X and GL programming , and have encountered a problem
- with XOpenDisplay.
-
- The problem is that when nobody has logged on to the machine (and xlogin
- is running) XOpenDisplay fails. Does anybody know if its suppose to be
- this way ? Is there a way to get around this problem?
-
- The problem is that we what to periodially produce some images on a
- server with no graphical display and store the results on disk.
- So I'm using the "Display" of some other workstation on the network,
- but the problem is that this will only work if somebody is logged on
- to that workstation.
-
- I only need to call XOpenDisplay to get a "display" in which I can use in
- subsequent GL and X calls. But I don't really need to draw anything on
- to the display.
-
- I would appreciate any answers or workarounds.
-
- --
- Ling (Tony) Chen
- lchen@avw.umd.edu
-