I use Pharo-1.4 using the VM's from
  http://www.mirandabanda.org/files/Cog/VM/

Now I want to use Zodiac, so I need the SSL plugin. The SSL plugin is pre-built in the VM's from

https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/Architecture=32,OS=mac/

But, when I run with this CogVM, I get only a blank window (on MacOSX 10.5.8). When I compared the two executables using "otool -L" it looks like, from the shared library list, that Eliot's VM is Carbon based, and the "Pharo" VM is Cocoa based.

Even though I could only see a blank window, the CPU usage seemed to be normal (3-5%), so I decided to try accessing the Seaside app that was already running in the image, and found that it was working fine. Since I had RFB/VNC loaded, I could enable it, and connect to the image via a VNC viewer.

It seems that the image is running in "headless" mode. I tried older Pharo images, as well as newer/older Pharo CogVM's, and got the same blank window.

I added some code the the VNCController app to get the remote UI to work. The code was:
  self uiProcess isNil
    ifTrue: [ UIManager default: MorphicUIManager new ]

Even though there's now a MorphicUIManager set, the window is still blank.

So any ideas?

Does the VM fall back to headless mode when it cannot init the graphics on my older MacOS?

Does the MorphicUIManager need to be set in the startup code, else it's too late?

--
Yanni


Reply via email to