Author Topic: Updated Vnc Viewer For Sharp Roms  (Read 38787 times)

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Updated Vnc Viewer For Sharp Roms
« Reply #30 on: March 21, 2006, 01:02:26 am »
From a terminal or application icon I can start Teakettle

The dialog opens, I create a new connection
I enter my local server IP
leave display at 0 (tightVNC is configed for auto display#)
enter the password
and hit connect


At this point I can switch to the terminal to watch it run, and it jsut gives OGDict errors .. untill in the end it spits out a socket error

It doesn't ever actually crash ... it just can't connect (or seem to get far enough along to tell the CF wireless card to send packets) I haven't tried sniffing with another comp yet, but the server log doesn't show any connection attempts. . eventaully I jsut close the application normally.

 I do not have the XP firewall enabled, and went as far as to totally shutdown my personal one. So there should be nothing in the way of the Z. I have a Dlink router, which doesnt' default to blocking VNC ports.


hmm .. .

 ----- edit ----  
I wanted to add I'm using the wlan-ng drivers for the linksys :: so wlanconfig commands (assocciated with hostap drivers) don't work .. for this reason scripted applications like SLapASS fail . .  but VNC shouldn't be hardscripted to call those ?
« Last Edit: March 21, 2006, 01:04:07 am by loji »
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #31 on: March 21, 2006, 05:25:08 am »
Quote
I wanted to add I'm using the wlan-ng drivers for the linksys :: so wlanconfig commands (assocciated with hostap drivers) don't work .. for this reason scripted applications like SLapASS fail . .  but VNC shouldn't be hardscripted to call those ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119517\"][{POST_SNAPBACK}][/a][/div]
You're right. The only things teakettle does with the lan is high level stuff - so long as IP is working, it doesn't care whether is is PPP, ethernet, wireless, USB or whatever.

I'll take a *very* close look at what happens when you press connect tonight.

In the meantime, you should also be able to connect by hitting the OK key or the OK button at the top right of the dialog. On some models this doesn't work, which is why I added the big connect button, but, just in case it is something to do with the button (unlikely, I know) it may be worth trying these alternative methods.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #32 on: March 21, 2006, 07:05:04 pm »
I think I've found the problem. You *must* give the server a bookmark name. This is the bottom-most box on the "Server" tab.

I'll put a fix in that allows "anonymous" connections in the next release but in the meantime, just give the bookmark a name.

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Updated Vnc Viewer For Sharp Roms
« Reply #33 on: March 22, 2006, 01:33:37 am »
I just found the same conclusion during my show at work today. .  .   I do live sound for theatre, and the reason I want VNC is to remote admin a mac running the playback system.  This way I can hit 'go' sequences from anyplace on my Z.  but while I was sitting between cue I was trying to find what was amiss  (i love my z for sitting in the dark at work! )


I was able to run a session with somewhat low latency on OSXvnc over an ad-hoc connection simply by naming all fields



Thanks alot for the great app and attention
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #34 on: March 22, 2006, 06:24:51 am »
Quote
I was able to run a session with somewhat low latency on OSXvnc over an ad-hoc connection simply by naming all fields
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119723\"][{POST_SNAPBACK}][/a][/div]
I use it to administer my headless Mac Mini.

For OSXvnc, the best encodings seem to be zlib or zrle (depending on which I've worked on last). I recommend using these unless you are short of processing power on your Mac.

It's also worth remembering that I've fixed the "Check for screen updates" functionality so you can make that big if you want to minimise CPU impact, or small if you need low latency.

I tend to make it large when monitoring and smaller when controlling. Even when controlling you don't have to make it too small because it is the *minimum* time between updates. So long as that time has passed an update will be sent immediately.

Anyway, here is the fixed version. It also contains support for 0, 90, 180, 270 degree rotation and the rotation code is a little faster than it was.

oldhat

  • Newbie
  • *
  • Posts: 17
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #35 on: March 23, 2006, 11:57:28 pm »
Very Nice!  Running against x11vnc (a utility to export a currently running X session for those that haven't tried it) and works very well.  The only glitch I've run across is if I attached to the server using a Scale of 0, then detach, change the Scale to 1, then reattach all in the same teakettle session, teakettle only uses the upper corner of the screen on my C860 during the second connection.  Exiting teakettle and restarting fixed the problem.  Guessing there is some state info left lying around from the Scale 0 connection that didn't get reset when the Scale was changed to 1?

All in all *very* nice!  Keep it up!

oldhat

  • Newbie
  • *
  • Posts: 17
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #36 on: March 24, 2006, 12:04:57 am »
Quote
Very Nice!  Running against x11vnc (a utility to export a currently running X session for those that haven't tried it) and works very well.  The only glitch I've run across is if I attached to the server using a Scale of 0, then detach, change the Scale to 1, then reattach all in the same teakettle session, teakettle only uses the upper corner of the screen on my C860 during the second connection.  Exiting teakettle and restarting fixed the problem.  Guessing there is some state info left lying around from the Scale 0 connection that didn't get reset when the Scale was changed to 1?

All in all *very* nice!  Keep it up!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120031\"][{POST_SNAPBACK}][/a][/div]

Well, I can't recreate the same situation, so maybe I messed up a setting.  I've tried all combos of scale setting/resetting and different color depths, and its working like a champ!

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #37 on: March 24, 2006, 05:30:18 am »
Quote
Very Nice!  Running against x11vnc (a utility to export a currently running X session for those that haven't tried it) and works very well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120031\"][{POST_SNAPBACK}][/a][/div]
Thanks for the report.

I used to use x11vnc but the version I've got only supports a few encodings none of which were particularly efficient. IIRC in the end I settled for using CoRRE but I'm not sure. OTOH, I was using it on a lan so I could just have used raw encoding but by that stage I was testing the more advanced encodings so I needed tightvnc and realvnc to exercise them.

I just had a look at the project page for x11vnc and it looks like the more advanced encodings are now in there so guess what I'll be installing tonight 8^). I'd suggest zrle is most likely the best encoding to use if your version supports it.

I'm pretty much out of ideas for improving this ATM. I don't want to add tight encoding as it looks pretty memory intensive, looks pretty complex and it isn't that well documented - plus it doesn't improve much on zlib and zrle (unless you want fuzzy jpegs).

If I can find specs for the protocol invoking server side scaling I'll add that, too - but I can't find them anywhere.

Any one else got any features they want added?

oldhat

  • Newbie
  • *
  • Posts: 17
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #38 on: March 24, 2006, 09:08:21 am »
Quote
Quote
Very Nice!  Running against x11vnc (a utility to export a currently running X session for those that haven't tried it) and works very well.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120031\"][{POST_SNAPBACK}][/a][/div]
Thanks for the report.

I used to use x11vnc but the version I've got only supports a few encodings none of which were particularly efficient. IIRC in the end I settled for using CoRRE but I'm not sure. OTOH, I was using it on a lan so I could just have used raw encoding but by that stage I was testing the more advanced encodings so I needed tightvnc and realvnc to exercise them.

I just had a look at the project page for x11vnc and it looks like the more advanced encodings are now in there so guess what I'll be installing tonight 8^). I'd suggest zrle is most likely the best encoding to use if your version supports it.

I'm pretty much out of ideas for improving this ATM. I don't want to add tight encoding as it looks pretty memory intensive, looks pretty complex and it isn't that well documented - plus it doesn't improve much on zlib and zrle (unless you want fuzzy jpegs).

If I can find specs for the protocol invoking server side scaling I'll add that, too - but I can't find them anywhere.

Any one else got any features they want added?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120066\"][{POST_SNAPBACK}][/a][/div]

That's one reason I like x11vnc, it allows for server side scaling (and does a pretty nice job) to cut down on the data being transfered.  But I can't tell if it allows it on the fly, or if its a one time setting at program startup.

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #39 on: March 24, 2006, 09:36:32 am »
Quote
That's one reason I like x11vnc, it allows for server side scaling (and does a pretty nice job) to cut down on the data being transfered.  But I can't tell if it allows it on the fly, or if its a one time setting at program startup.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120086\"][{POST_SNAPBACK}][/a][/div]
I've seen one other reference to server side scaling but I have never seen a spec. The other reference suggests that the client negotiates it during the session set up.

I've downloaded the x11vnc source and I'm going to take a look at it to see if I can work out how it works. I doubt that it'll be too difficult to implement. OTOH, this could be something different to the previous reference and you may only be able to set it at start-up - but I have "high hopes".

TimW

  • Sr. Member
  • ****
  • Posts: 296
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #40 on: March 27, 2006, 04:51:01 am »
Mixed success. x11vnc does allow server side scaling but you can't control it from the client. OTOH, there was enough info in the source for x11vnc that I was able to implement the request for server side scaling into my version of keypebble and have had it working with osxvnc. Using server side scaling to get the size approximately right and applying client side scaling to fit the screen works really well (for some more fun you can change the Mac screen resolution on the fly...).

I've also made the client scaling options more flexible so you can scale by (e.g.) 2/3 or 3/2.

Not quite enough to warrant a release but if anyone is needing these features let me know.

Also, let me know if there are any other features needed before I wrap things up for now.

jpearn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #41 on: June 07, 2006, 05:12:27 pm »
Hi,

Does this work with Cacko OK ?? I'm just trying it on Cacko 1.23 for the 3200 and it seems to jump to a black screen with 'Please wait' followed by what looks to be the system switching to 320x240 res with all the program icons look big and out of place. It will connect OK but should it not be running at 640x480 ?? !!
I must be doing something wrong

Thanks

Jason.

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Updated Vnc Viewer For Sharp Roms
« Reply #42 on: June 07, 2006, 05:31:10 pm »
tap and hold the stylus on the icon.  a window will pop up with a couple of checkboxes.  uncheck the one that says something about magnify for 640x480 screens.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

jpearn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #43 on: June 08, 2006, 06:17:00 am »
Thanks, thats worked great !!

ken

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Updated Vnc Viewer For Sharp Roms
« Reply #44 on: June 08, 2006, 06:45:10 am »
Where do you enter the port info?
SL-6000L Sharp ROM 1.12 - 1G SD (RiDATA) - 2G Microdrive (Hitachi)
TRENDnet TE-CF100 10/100 (no drivers needed) AmbiCom CF56M-EZ modem (no drivers needed)