<br><br><div class="gmail_quote">On Tue, Mar 4, 2008 at 1:16 PM, albegadeep &lt;<a href="mailto:albegadeep@yahoo.com">albegadeep@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a small (P3) server running Redhat, and I&#39;m<br>
trying to get Squeak running on it. Since there&#39;s no<br>
monitor, and the graphics subsystem isn&#39;t started in<br>
the usual runlevel, I need to run Squeak headless.<br>
<br>
I put image and change file into a directory (read,<br>
write, owned by user A) that should copy a couple of<br>
files when run, using Smalltalk addToStartUpList:<br>
MyClass. I load it up in Windows, and it works fine.<br>
<br>
I load it in Linux:<br>
[root@myserver A]# squeak -headless<br>
<br>
The cursor goes to the next line, and nothing happens.<br>
<br>
Any idea what&#39;s going wrong? How do I correct it? I<br>
will happily furnish any other info or troubleshooting<br>
that is needed.<br>
</blockquote></div><br><br>Unfortunately all our psychics are busy working out the Lottery results for me for this coming Saturday, so you&#39;re going to have to do some diagnosis yourself :-P.<br><br>It sounds like your image is starting up fine; a cursor on the next line is all I&#39;d expect. Have you checked to make sure the files aren&#39;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?<br>
<br>My initial suspicion is that something platform-related isn&#39;t working - permissions, directories that don&#39;t exist, the current working directory is wrong, a plugin is missing, or something like that.<br><br>I can think of several paths forward. Either:<br>
<br>- Use OSProcess to write debugging information to stdout, or a logging solution like writing directly to a log file or using Toothpick.<br><br>- Install VNC on the image and access it from another host to diagnose the problem.<br>
<br>- If the X11 libraries are installed on your server, grab the Cygwin X server and ssh client, &quot;ssh -X&quot; to your linux server and run Squeak with the GUI that way.<br><br>- Use REPLServer (which I wrote, so I&#39;m biased ;-) ) to access the remote image and work out what&#39;s happening.<br>
<br>I&#39;m assuming you&#39;re able to find each of these packages using Google and common sense.<br><br>Gulik.<br><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg">http://people.squeakfoundation.org/person/mikevdg</a><br>
<a href="http://gulik.pbwiki.com/">http://gulik.pbwiki.com/</a>