On Fri, 14 May 2010, Andrei Stebakov wrote:

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 [email protected]).
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.

A few other things you should set in RFBServer's panel:
- disable remote connections
- allow ZRLE encoding
- turn off the "conserve memory" feature
Force your client to use ZRLE encoding.
If the performance is still not good enough then you can:
- use a strikefont without anti-aliasing (ugly but much faster)
- remove gradients from your UI
- select a single color for background/remove background image


Levente



2010/5/14 Mariano Martinez Peck <[email protected]>

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

Mariano



2010/5/14 Andrei Stebakov <[email protected]>

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 <[email protected]>wrote:

2010/5/14 Andrei Stebakov <[email protected]>:
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 <[email protected]>
wrote:

2010/5/12 Andrei Stebakov <[email protected]>:
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 <[email protected]>

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: [email protected]
[mailto:[email protected]] On Behalf Of
Mariano
Martinez Peck
Sent: Wednesday, May 12, 2010 10:25 AM
To: [email protected]
Subject: Re: [Pharo-project] Remove developing with Pharo



2010/5/12 Andrei Stebakov <[email protected]>

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
[email protected]

http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]

http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to