Martin,
> Everithing works with VM for X, but nothing with headless VM.
> I become hopeless
> :-(
Well, to narrow down the problem you should try something like:
Smalltalk snapShot: true andQuit: true.
Smalltalk quitPrimitive.
This will check if the system startup/shutdown does work as expected (e.g.,
Squeak should just start and immediately quit again). If this doesn't work
there is some general problem with the headless VM. There are a number of
things you could try in addition but my very best guess is that your
headless VM just doesn't find either the sources or the changes file. If
that happens, a notifier pops up - and since your VM is headless you won't
be able to see it. So make sure you have set the preferences
#warnIfNoChangesFile and #warnIfNoSourcesFile set to false (from 'help' menu
entry 'preferences' category 'general').
If you know that this is not the problem, make sure you have turned on the
preferences #logDebuggerStackToFile (in the 'debug' category of the
preferences) - this will create a SqueakDebug.log file for any error that
comes up (but beware: missing sources/changes are *not* errors so nothing
will get logged).
If none of the above helps I think you should send an email to the Squeak
list and see if somebody there can help.
Andreas