Hi Norbert,

I don't think it is RFB's fault either. I did give the complete steps I did. 
Perhaps just a wait loop after each of the steps is all it takes, 'cos since I 
did those steps using the local vm by hand before the "save and quit". I know 
how to wait for RFBServer to start (1), but I'm not sure how to wait for the 
load to finish or whether I need to.

Anyway, I'm happy now since RFB is running fine with the manually created image.

Thanks! ... and all this is pretty cool!
-Kumar

(1) [RFBServer current isRunning] whileFalse: [1 second asDelay wait]

On 25 Oct, 2013, at 7:51 PM, [email protected] wrote:

> Date: Fri, 25 Oct 2013 16:21:49 +0200
> From: Norbert Hartl <[email protected]>
> To: Pharo users users <[email protected]>
> Subject: Re: [Pharo-users] Pharo 2.0 with RFBServer with -headless
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=windows-1252
> 
> Hi Srikumar,
> 
> can you tell what other software you have installed in your image. I know the 
> effect but I?m still not fully convinced it is RFBs fault.
> 
> Norbert
> 
> Am 25.10.2013 um 05:24 schrieb Srikumar Karaikudi Subramanian 
> <[email protected]>:
> 
>> Hi,
>> 
>> Since this is my first post, I'd first like to say Pharo rocks!
>> After quite a bit of search for a server-side programming environment
>> that I can live with, I landed on Pharo/Zinc+family and went
>> "this is it!" for my project which is like a wiki for music 
>> notation.
>> 
>> I'm trying to setup a pharo+zinc server with RFB installed on a VPS
>> so I can access it through VNC ("Chicken of the VNC" on MacOS 10.8.5).
>> I'm only get a static image of the pharo environment when I connect 
>> and I don't get any interactivity at all. One other poster [1] who 
>> mentioned this also posted that the problem was solved with a 
>> later version of squeak, which I didn't have any luck with since I don't
>> have X configured on my server.
>> 
>> Much appreciate any tips.
>> 
>> I got pharo from get.pharo.org and cloned the image using "save".
>> I run the following script on the cloned image with 
>> the "-headless" flag (I tried with and without the flag.)
>> 
>> "----begin code---"
>> Gofer it
>> squeaksource: 'MetacelloRepository';
>> package: 'ConfigurationOfRFB';
>> load.
>> (Smalltalk at: #ConfigurationOfRFB) load.
>> 
>> (RFBServer current)
>> allowEmptyPasswords: false;
>> allowRemoteConnections: false;
>> allowInteractiveConnections: true;
>> allowZRLE: true;
>> setFullPassword: 'my password';
>> start: 0.
>> 
>> [1 hour asDelay wait] repeat.
>> "----end code----"
>> 
>> One other point - if I save an image after loading the RFB package 
>> (using "Smalltalk snapshot: true andQuit: true.") and then 
>> launch with a script that only starts the server, I get a static black screen
>> instead and not even the static image. So I don't understand why
>> there should be a behaviour difference between the two as well.
>> 
>> Regards to all,
>> -Kumar
>> 
>> [1] http://groups.yahoo.com/neo/groups/squeak/conversations/topics/141662

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to