Re: [Pharo-users] Pharo 2.0 with RFBServer with -headless
Hi Ben, Thanks for the welcome :) My problem doesn't seem to be related to the semaphore issue and more likely reflects my noob status. I'm up and running now though. I was afraid of having to run xpra or something since it would eat server memory, but thankfully RFBServer seems to work fine now. Best, -Kumar On 25 Oct, 2013, at 7:51 PM, pharo-users-request@lists.pharo.org wrote:
Date: Fri, 25 Oct 2013 22:11:33 +0800 From: btc@openinworld.com To: Any question about pharo is welcome <pharo-users@lists.pharo.org> Subject: Re: [Pharo-users] Pharo 2.0 with RFBServer with -headless Message-ID: <526A7C15.60203@openinworld.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Srikumar, Welcome to the community. Really great to hear you are enjoying Pharo, and got your problem solved yourself. Hope to see more of you here.
I don't have a direct answer for your queries. I haven't used RFB like that before. I remember a thread about RFB and semaphores that might have related information. Google "RFB on 2.0 + linux - semaphore primitive failed"
cheers -ben
Srikumar Karaikudi Subramanian wrote:
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
participants (1)
-
Srikumar K. S.