[Newbies] Headless Squeak on Redhat - HELP!

Michael van der Gulik mikevdg at gmail.com
Tue Mar 4 02:50:39 UTC 2008


On Tue, Mar 4, 2008 at 1:16 PM, albegadeep <albegadeep at yahoo.com> wrote:

> I have a small (P3) server running Redhat, and I'm
> trying to get Squeak running on it. Since there's no
> monitor, and the graphics subsystem isn't started in
> the usual runlevel, I need to run Squeak headless.
>
> I put image and change file into a directory (read,
> write, owned by user A) that should copy a couple of
> files when run, using Smalltalk addToStartUpList:
> MyClass. I load it up in Windows, and it works fine.
>
> I load it in Linux:
> [root at myserver A]# squeak -headless
>
> The cursor goes to the next line, and nothing happens.
>
> Any idea what's going wrong? How do I correct it? I
> will happily furnish any other info or troubleshooting
> that is needed.
>


Unfortunately all our psychics are busy working out the Lottery results for
me for this coming Saturday, so you're going to have to do some diagnosis
yourself :-P.

It sounds like your image is starting up fine; a cursor on the next line is
all I'd expect. Have you checked to make sure the files aren't actually been
copied and that everything is working fine? Have you checked the obvious
things, such as running it in headless mode under your development
environment (your Windows machine) to see if it behaves the way you expect?

My initial suspicion is that something platform-related isn't working -
permissions, directories that don't exist, the current working directory is
wrong, a plugin is missing, or something like that.

I can think of several paths forward. Either:

- Use OSProcess to write debugging information to stdout, or a logging
solution like writing directly to a log file or using Toothpick.

- Install VNC on the image and access it from another host to diagnose the
problem.

- If the X11 libraries are installed on your server, grab the Cygwin X
server and ssh client, "ssh -X" to your linux server and run Squeak with the
GUI that way.

- Use REPLServer (which I wrote, so I'm biased ;-) ) to access the remote
image and work out what's happening.

I'm assuming you're able to find each of these packages using Google and
common sense.

Gulik.

-- 
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080304/8d150384/attachment-0001.htm


More information about the Beginners mailing list