On Fri, Aug 27, 2010 at 1:59 AM, Sven Van Caekenberghe <sven@beta9.be> wrote:

On 26 Aug 2010, at 21:44, Sven Van Caekenberghe wrote:

> I hope the linux VM is equally fast.

Is the COG VM capable of running headless on Linux ?

We routinely run it headless on linux using -vm-display-null.
sven@bladerunner:~/Smalltalk$ ./coglinux/bin/squeak -version
3.9-7 #2 Wed Aug 18 19:45:40 GMT 2010 gcc 4.1.2
Croquet Closure Cog VM [CoInterpreter VMMaker-oscog.26]
Linux cern 2.6.18-194.8.1.el5PAE #1 SMP Fri Jul 2 10:18:13 CEST 2010 i686 i686 i386 GNU/Linux
plugin path: /home/sven/Smalltalk/coglinux/lib/squeak/3.9-7/ [default: /home/sven/Smalltalk/coglinux/lib/squeak/3.9-7/]

sven@bladerunner:~/Smalltalk$ ./coglinux/bin/squeak -vm-display-null -vm-sound-null seaside3.lr.cog.image

This doesn't seem to work, no errors to be seen anywhere. Can I enable some debugging output ?

Try -sendtrace, e.g.
�� �./coglinux/bin/squeak -vm-display-null -vm-sound-null -sendtrace seaside3.lr.cog.image
This same image runs perfectly well with a display, as in

sven@bladerunner:~/Smalltalk$ ./coglinux/bin/squeak seaside3.lr.cog.image

What does your image do? �Does it depend on any additional plugins or shared objects? �Are these also present in your Cog installation?

HTH
Eliot �

Thx,

Sven


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project