El lun, 10-08-2009 a las 12:20 -0300, Mariano Martinez Peck escribió:
Hi Miguel: Thanks for your excellent work!! I am giving a try for first time in my life to RFB but it doesn't work. I am in Ubuntu 8.10.
What I did is to do:
RFBServerGUI open
and then start in 0 (main display)
The thing is that I don't know which port is used.
The standard port for RFB is from 5900 on: display 0 -> port 5900 display 1 -> port 5901 etc. the sever ask for a displayNumber are integer numbers 0, 1, 2, etc. Of course as any server the RFB could start on any port, but for start it on another port you must modify the code. For now use a displayNumber. The clients also ask for displayNumbers, so no problems should be like both of them translate it to port number.
Then I tried:
RFBServer start: 6666
To open in port 6666
But in both cases when I try to connect like this:
vinagre 127.0.0.1:6666
I have used; - xtightvncviewer -encodings "hextile" -depth 8 localhost:0 - gvncviewer localhost:0 Personally I like a lot more the last one.
I have an error "Conntion to host 172.0.0.1:666 was closed"
If I see server Log I get:
RFBServer RFBDisplayScreen, RFBEventSensor installed RFBServer running RFBServer started
Any idea what I am doing wrong? How can I specify a port from the UI ? and from command line? Perhaps a problem with my vnc client ?
best,
Mariano
2009/8/7 Miguel Enrique Cobá Martinez <miguel.coba@gmail.com> I promise that this is the last reply to myself :)
> The version on Lukas repo is: > > RFB-MiguelCoba.26.mcz
Something I forgot to say is that this new version is based on Lukas version that has already some changes to make it work on pharo. So this version work on pharo. Maybe can work on squeak also, maybe can be ported to squeak. I changed considerably RFBServer but just a little of RFBSession (one-liners). All the other classes are untouched. So maybe some time later I can do the port to make it work with squeak, if some good soul don't do it before.
_______________________________________________ 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
-- Miguel Cobá http://miguel.leugim.com.mx