*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 <[email protected]> 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: > > PluggableTextMorph>>yellowButtonActivity: > > SmalltalkEditor(TextEditor)>>mouseUp: > > TextMorphForEditView(TextMorph)>>mouseUp: in Block: [ editor mouseUp: evt ] > > TextMorphForEditView(TextMorph)>>handleInteraction: > > TextMorphForEditView>>handleInteraction: > > TextMorphForEditView(TextMorph)>>mouseUp: > > TextMorphForEditView>>mouseUp: > > TextMorphForEditView(Morph)>>handleMouseUp: > > MouseButtonEvent>>sentTo: > > TextMorphForEditView(Morph)>>handleEvent: > > TextMorphForEditView(Morph)>>handleFocusEvent: > > HandMorph>>sendFocusEvent:to:clear: in Block: [ ... > > BlockClosure>>on:do: > > WorldMorph(PasteUpMorph)>>becomeActiveDuring: > > HandMorph>>sendFocusEvent:to:clear: > > HandMorph>>sendEvent:focus:clear: > > HandMorph>>sendMouseEvent: > > HandMorph>>handleEvent: > > MouseClickState>>handleEvent:from: > > HandMorph>>handleEvent: > > HandMorph>>processEvents > > WorldState>>doOneCycleNowFor: in Block: [ :h | ... > > Array(SequenceableCollection)>>do: > > WorldState>>handsDo: > > WorldState>>doOneCycleNowFor: > > WorldState>>doOneCycleFor: > > WorldMorph>>doOneCycle > > > *Please let me know what i am doing wrong.* > > *TIA,* > > *thushar* >
