*That was a wrong script, the working script i am executing is the one
below.*
#!/bin/bash
RT=$PWD/Pharo3.0.app/Contents
#exec $0 $RT/MacOS/Pharo$RT/Resources/Pharo3.0.image
exec $PWD/Pharo3.0.app/Contents/MacOS/Pharo --headless --nohandlers
$PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image
--no-default-preferences --no-quit
*Sorry about that. as u can see the --headless and --nohandlers are used
here in the working script. and this when connection through vnc i am
getting the error on right click.*
On Fri, Jan 23, 2015 at 5:29 PM, Thushar G R thushar...@gmail.com wrote:
*HI,*
*Please find below the script i am using to run pharo seaside image
headless on mac. its pharo3.0 image downloaded for mac os.*
#!/bin/bash
RT=$PWD/Pharo3.0.app/Contents
#exec $0 $RT/MacOS/Pharo$RT/Resources/Pharo3.0.image
exec $PWD/Pharo3.0.app/Contents/MacOS/Pharo -vm-sound-null
-vm-display-null $PWD/Pharo3.0.app/Contents/Resources/Pharo3.0.image
--no-default-preferences --no-quit
*The script is placed on the same folder as the Pharo3.0.app and it
executes pretty well. *
*1) Can anyone verify this and let me know if i am doing it the right way?*
*Also i have an RFB server set up in the image for debugging. When i
connect to it and do a right click i get the below error *
RFB: caught ConnectionClosed: Connection close while waiting for
data.SubclassResponsibility:
NonInteractiveUIManager had the subclass responsibility to implement
#newMenuIn:for:
NonInteractiveUIManager(Object)subclassResponsibility
NonInteractiveUIManager(UIManager)newMenuIn:for:
PluggableTextMorph(ScrollPane)getMenu:
PluggableTextMorphyellowButtonActivity:
SmalltalkEditor(TextEditor)mouseUp:
TextMorphForEditView(TextMorph)mouseUp: in Block: [ editor mouseUp: evt ]
TextMorphForEditView(TextMorph)handleInteraction:
TextMorphForEditViewhandleInteraction:
TextMorphForEditView(TextMorph)mouseUp:
TextMorphForEditViewmouseUp:
TextMorphForEditView(Morph)handleMouseUp:
MouseButtonEventsentTo:
TextMorphForEditView(Morph)handleEvent:
TextMorphForEditView(Morph)handleFocusEvent:
HandMorphsendFocusEvent:to:clear: in Block: [ ...
BlockClosureon:do:
WorldMorph(PasteUpMorph)becomeActiveDuring:
HandMorphsendFocusEvent:to:clear:
HandMorphsendEvent:focus:clear:
HandMorphsendMouseEvent:
HandMorphhandleEvent:
MouseClickStatehandleEvent:from:
HandMorphhandleEvent:
HandMorphprocessEvents
WorldStatedoOneCycleNowFor: in Block: [ :h | ...
Array(SequenceableCollection)do:
WorldStatehandsDo:
WorldStatedoOneCycleNowFor:
WorldStatedoOneCycleFor:
WorldMorphdoOneCycle
*Please let me know what i am doing wrong.*
*TIA,*
*thushar*