2009/8/10 Miguel Enrique Cobá Martinez <miguel.coba@gmail.com>
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.
Ahhhhh okok. Now I get it :) I confused that with Linux displays. Like DISPLAY:=0 and all that. I have already running VNC on 5900, so I tried puting a 1 and then vinagre localhost:5901 and works like a charm!!!!! This is an EXCELLENT work. I cannot believe it. I have a -headless image where I can use from a VNC client. Thanks Miguel for this. A couple of comments: 1) The RFBServerGUI morph has a problem with the menus I think. When you pass the mouse over one of the options (for example, passwords) the submenu is open and maintained open only if you maintain pressed the mouse button. Is this correct? Shouldn't it be clicked only once and maintain opened ? It's difficult to express with words, sorry. 2) Would you mind adding that little explanation of you about 0 -> 5900, 1 -> 5901 ... to the help menu ? Perhaps there are other like me ;) Thanks all I can say right now. thanks for all.
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
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project