Automatic Startup

Alexander Lazarević Alexander at lazarevic.de
Fri Mar 11 06:10:32 UTC 2005


Daniel Salama schrieb:
> I'm running Squeak on a linux server. Is it mandatory for the X
> interface to be running?

As Ned already said, no it's not necessary, but it is sometimes
convenient to be able to see what is going on with the image, to file in
some code or do maintenance without the need to edit startup scripts and
to restart squeak. If you install a VNC[1][2] server on your Linux
machine you can have squeak running headfull (with a display), but the
display will only be visible using a VNC client (eg. on another
machine). So you can attach/detach a display to squeak whenever you
want. There is even no need to install a VNC server on the Linux machine
if you use the RFB (Remote Framebuffer) goodie[3] by Ian Piumarta (which
happens to be my personal Squeak pearl of the week). This goodie still
works in a 3.7 image, but the menus behave somewhat strange.

> Can Squeak be started as a daemon process? If
> not, how would you suggest to configure the machine so each time it's
> rebooted, Squeak will be launched?

On Debian you can use start-stop-daemon in rcX.d scripts to
launch/shutdown programs that do not fork.

Alex

[1]http://www.tightvnc.com/
[2]http://www.realvnc.com/
[3]http://www-sor.inria.fr/~piumarta/squeak/goodies.html#html/goodies.m4.1.0



More information about the Squeak-dev mailing list