Squeak Headless

Jan B. Krejčí janbkrejci at gmail.com
Sat Mar 26 16:42:55 UTC 2005


On Fri, 25 Mar 2005 13:48:13 -0500, Daniel Salama <dsalama at user.net> wrote:
> VNC. How it is that you have your setup so that when you launch squeak
> as a start up service, it launches headless and with RFB Server
> started?

I personally start not only RFB, but also other services using a
script given as a parameter to squeak, so the shell script used for
starting is

====================cut here=================
#! /bin/sh

cd /home/jbk/squeak
nohup ./squeak -mmap 50m -nosound -nodisplay squeak.image
/home/jbk/squeak/start.st >/dev/null 2>&1 &
====================cut here=================

and the start.st looks like:

====================cut here=================
RFBServer start: 0.
GSMModem atPort: 0.
GSMModemWebAPI start.
MySQLUtil initializeConnection.
OutgoingMessageProcessor start.
(UDPServer at: 5902) start.
====================cut here=================

hope it helps.

-- 
.:jbk:.
Jan B. Krejci



More information about the Squeak-dev mailing list