I created a chapter called "Remote Development" under the "Tips and Tricks" chapter.
Here is the link: http://book.pharo-project.org/book/TipsAndTricks/RemoteDevelopment/?_s=q1YO5C7aEDQ6MqD3&_k=pLWYn4T5TuKAVPgt
Andrei: Once you have finished to make it work and how to tune it to make it faster, it would be great if you can write this in a section/chaper of the collaborative pharo book:�� http://book.pharo-project.org/
If you want I can creat you a user, and the section...then you only need to write ;)
cheers
mariano2010/5/14 Andrei Stebakov <lispercat@gmail.com>
Ok, I figured it out.
On the remote machine just start pharo with RFBServer started (connection passwords must be set!)
On the local Windows machine open ssh or putty tunneling local port 5900 to the remote port 5900 (putty -L 5900:localhost:5900 username@doman.com).
After that start a VNC client (in my case I installed TightVNC) and connect to your local machine.
That will automatically establish a tunneled traffic between those two systems va ssh tunneling.2010/5/14 Mariano Martinez Peck <marianopeck@gmail.com>I paste a text I got from an old mail:� "The latest version on squeaksource works. You can load it from http://squeaksource.com/RFB (Note that this package has been forked at least three times.) We used to connect to the server with RealVNC with the following settings: ZRLE encoding (disable auto select), Full color. IIRC you should also turn off the "render cursor locally" feature.
On the server you should allow ZRLE and turn off the conserve memory feature.
"
In addition, ask in seaside mailing list too. You will probably receive more help.
Cheers
Mariano2010/5/14 Andrei Stebakov <lispercat@gmail.com>
Exactly what VNC slient I can use on Windows?
I tried VNC viewer free (http://www.realvnc.com/products/free/4.1/winvncviewer.html), trying to connect to the locally run Pharo and the viewer fails with "uncknown rect encoding" after which Pharo image also freezes.
Is there any step-by-step tutorial how to setup VNC (remote Linux, local Windows)?On Thu, May 13, 2010 at 6:26 PM, Igor Stasenko <siguctua@gmail.com> wrote:
2010/5/14 Andrei Stebakov <lispercat@gmail.com>:
> Interesting! Is it done on the X-server side or client?you should have settings in your VNC client.
>
also, you could set bpp for image.
both could help to run things faster.
> On Thu, May 13, 2010 at 5:38 PM, Igor Stasenko <siguctua@gmail.com> wrote:
>>
>> 2010/5/12 Andrei Stebakov <lispercat@gmail.com>:
>> > That's right, looks like it sends full-blown images (not the delta, not
>> > the
>> > commands to x-server) and re-drawing takes forever. I wonder if it's a
>> > Pharo
>> > issue or x-server's? My xterm works pretty fast compared to Pharo
>> > though...
>> >
>> lowering the pixel depth to 8bpp helps :)
>>
>> > 2010/5/12 Schwab,Wilhelm K <bschwab@anest.ufl.edu>
>> >>
>> >> I have at times done what you are attempting, and painful is nicest
>> >> adjective I can think to use.� Please let us know if VNC is a better
>> >> option.��Re RDP,�I have�wondered whether the poor performance could be
>> >> telling us something about the amount of drawing that might be
>> >> happening for
>> >> no purpose???� It can be terribly slow, especially the response to
>> >> typing.
>> >> Bill
>> >>
>> >> ________________________________
>> >> From: pharo-project-bounces@lists.gforge.inria.fr
>> >> [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of
>> >> Mariano
>> >> Martinez Peck
>> >> Sent: Wednesday, May 12, 2010 10:25 AM
>> >> To: Pharo-project@lists.gforge.inria.fr
>> >> Subject: Re: [Pharo-project] Remove developing with Pharo
>> >>
>> >>
>> >>
>> >> 2010/5/12 Andrei Stebakov <lispercat@gmail.com>
>> >>>
>> >>> Currently I have my web applications running on a Ubuntu box to which
>> >>> I
>> >>> connect from a remote WinXP system via ssh.
>> >>
>> >> I guess the subject should be "remote" instead of "remove"� ?� ;)
>> >>
>> >> Sorry I ask but why not you cannot just develop in your pc and with scp
>> >> or
>> >> similar you copy the .image and .image file trough ssh to the server ?
>> >>
>> >>>
>> >>> My current set of tools is Lisp/Slime/Emacs.
>> >>> I tried to launch Pharo with X11 forwarding using X-server on WinXP,
>> >>> but
>> >>> it painfully slow (the Pharo main windows redraws in a few minutes).
>> >>> I am really thinking developing some web app using Pharo/Seaside (I am
>> >>> liking the language more and more!) but I need to know to do it
>> >>> remotely via
>> >>> a secure connection.
>> >>
>> >>
>> >> Yes, there is an implementation of the VNC protocolol. You can take a
>> >> Pharo image and load a VNC server. Then, you can connect to any VNC
>> >> client
>> >> and what you see is the image....Then you can do whatever you want. I
>> >> don't
>> >> know the performance, thus.
>> >>
>> >> That package is called RFB (remote something buffer)
>> >>
>> >> http://book.seaside.st/book/advanced/deployment/maintaining/vnc
>> >>
>> >> To install it:
>> >>
>> >> Gofer it
>> >> �squeaksource: 'MetacelloRepository';
>> >> �package: 'ConfigurationOfRFB';
>> >> �load.
>> >> ((Smalltalk at: #ConfigurationOfRFB) project perform: #latestVersion)
>> >> load.
>> >>
>> >>
>> >> Cheers
>> >>
>> >> Mariano
>> >>
>> >>
>> >>>
>> >>> Thank you,
>> >>> Andrei
>> >>>
>> >>> _______________________________________________
>> >>> Pharo-project mailing list
>> >>> Pharo-project@lists.gforge.inria.fr
>> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >>
>> >>
>> >> _______________________________________________
>> >> Pharo-project mailing list
>> >> Pharo-project@lists.gforge.inria.fr
>> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>> >
>> > _______________________________________________
>> > Pharo-project mailing list
>> > Pharo-project@lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> >
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project@lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
Best regards,
Igor Stasenko AKA sig.
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project