I saw this problem several times. I think I good idea is to have RFB running. You should add RFB server to the startUp list, but here, you have several problems:

1) If you put it at the end, it will probably never executed because the image get stuck before that

2) put it before in the list, but where?� what should be started before so that RFB can run ok ?

3) if the problem is before that (in case 2) it even doesn't help.

I remember Esteban Lorenzano has a similar problem some time ago. You can surf the mailing list and see if you find something useful.

BTW, did you check if there isn't a PharoDebug.log ?� there is no output in the console ?

On Mon, Jan 18, 2010 at 4:27 PM, Simon Denier <Simon.Denier@inria.fr> wrote:
Hi there

I'm trying to run a VM in headless mode on a linux server (version 3.10-3 #32 Wed Apr �8 19:55:11 BST 2009 gcc 4.1.2).

After struggling a bit to found a recent VM (that is, closure-enabled), now I can launch it with the following command:
exec "$EXE/squeak" \
� � � �-plugins "$RES" \
� � � �-encoding latin1 \
� � � �-vm-display-null \
� � � �"$APP/testServer.image"

Problem is the process starts but obviously got stuck after that. I got no feedback on what's going wrong (I guess some error happens and the system is waiting for user input).

I tried with a fresh 10500 image and the simplest script I could think of to test:
(FileStream forceNewFileNamed: 'foo.txt') nextPutAll: 'bar'; close

....same thing.

Of course it works on my local machine with UI.

Is there a way to debug this, like having the debugger to dump the stack in the terminal. I tried Cmd-. �but it just stops the process (like Ctrl-c) with no feedback.


--
�Simon




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