Am 10.07.2013 um 23:05 schrieb Mariano Martinez Peck <[email protected]>:

> 
> 
> 
> On Wed, Jul 10, 2013 at 6:03 PM, Mariano Martinez Peck 
> <[email protected]> wrote:
>>> 
>>>> 
>>>>> Also, I had another problem with RFB and the UIManager. The solution I 
>>>>> found was this one: 
>>>>> http://samadhiweb.com/blog/2012.11.04.headless.rfb.html
>>>>> I don't like it because I need to change Pharo's base source, but I 
>>>>> didn't spend time finding a better solution...I guess there is, though.
>>>> The first line of code all my images (deployed on server using RFB) see is
>>>> 
>>>> UIManager default: MorphicUIManager new.
>>> 
>>> I was going to do that as well. But it is not clear to me WHERE you write 
>>> that line of code. Because even if you save the image with that, doesn't 
>>> the image set its own UI manager when booting?  So I guess you need to pass 
>>> around a script when running the image or something?
>>> What about adding RFB at startup list and implement #startUp doing  
>>> "UIManager default: MorphicUIManager new." ?
>> 
>> Norbert, I still don't understand your answer. What do you mean by "first 
>> line of code all my images..." ?
>> 
>> If I save the image with that UIManager then when started again in headless 
>> mode it is changed, right?
>> 
>> Thanks, 
> 
> Norbert?
> 
I'm using some start scripts that do it for me. It is something like init 
scripts for linux but for pharo. The first script invokes the line so it is 
just the first that happens on any image startup. You can doit with a start 
script as well. I'll release my stuff in a while. Just didn't find time to do it

Norbert
>  
>>  
>>> Best, 
>>> 
>>>  
>>>> With that I don't have problems at all.
>>>> 
>>>> thanks,
>>>> 
>>>> Norbert
>>>> 
>>>>> Best, 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Fri, May 3, 2013 at 2:56 PM, Norbert Hartl <[email protected]> wrote:
>>>>>> I've found the problem. There is a FileDirectory access in 
>>>>>> RFBSession>>#desktopName. Removing it makes RFB work.
>>>>>> 
>>>>>> The current RFB sources are on Lukas' server. What do we do with that 
>>>>>> stuff? Move to smalltalkhub? If not I can ask Lukas to give me write 
>>>>>> permission. Just wanted to ask what kind of behaviour is en vogue this 
>>>>>> days.
>>>>>> 
>>>>>> Norbert
>>>>>> 
>>>>>> Am 03.05.2013 um 19:31 schrieb Norbert Hartl <[email protected]>:
>>>>>> 
>>>>>> > Esteban,
>>>>>> >
>>>>>> > now I can tell that it isn't working for me either. Socket is open and 
>>>>>> > server is running. But there are immediate disconnects when trying to 
>>>>>> > connect to a pharo2.0 image.
>>>>>> >
>>>>>> > Did you figure it out?
>>>>>> >
>>>>>> > Norbert
>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Mariano
>>>>> http://marianopeck.wordpress.com
>>> 
>>> 
>>> 
>>> -- 
>>> Mariano
>>> http://marianopeck.wordpress.com
>> 
>> 
>> 
>> -- 
>> Mariano
>> http://marianopeck.wordpress.com
> 
> 
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com

Reply via email to