I first asked Ian about the problem, because I thought a headless vm was something unix specific.
For now it is, AFAIK.
Another thing I'm playing with is the headless vm. Is there a method that gets called after the image has been loaded? I would like to start a PWS with a headless vm. After the image has been loaded I have to do something like "PWS serveOnPort: 9090 loggingTo: 'log.txt'".
Start the PWS in a normal VM, snapshot the image while the server is running, then load the image into the headless VM. I donĀ“t know about the PWS but with my WebServer the snapshot has to be done through the web to ensure proper socket handling.
Georg
---- Dipl.Ing. Georg Gollmann TU-Wien, EDV-Zentrum
phon:(+43-1) 58801 - 5848 fax: (+43-1) 587 42 11 mail:gollmann@edvz.tuwien.ac.at http://macos.tuwien.ac.at/Gollmann.html
I first asked Ian about the problem, because I thought a headless vm was something unix specific.
For now it is, AFAIK.
Let me add a little correction: The Windows VM *can* be run headless by using the "-headless" flag and it can also be installed as a service (which is the win32 name for demons). See the ReleaseNotes for how to setup the service stuff.
Andreas -- Linear algebra is your friend - Trigonometry is your enemy. +===== Andreas Raab ============= (raab@isg.cs.uni-magdeburg.de) =====+ I Department of Simulation and Graphics Phone: +49 391 671 8065 I I University of Magdeburg, Germany Fax: +49 391 671 1164 I +=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
On Wed 27 May, Andreas Raab wrote:
I first asked Ian about the problem, because I thought a headless vm was something unix specific.
For now it is, AFAIK.
Let me add a little correction: The Windows VM *can* be run headless by using the "-headless" flag
and so can the Acorn; in fact, since the Acorn doesn't open any window unless primitveBeDisplay() is called, you can run headless either with the 'headless' flag being read via getSystemAttributes, or by changing the processStartupList to simply avoid the send of #beDisplay. The advantage of having the image control headlessness is that a Notifier could be allowed to force a window and thus allow debugging.
tim
squeak-dev@lists.squeakfoundation.org