x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Surf Firefox on Jornada720 with Duvian/ssh/X11 via RaspberryPi

1 2
munchausen Page Icon Posted 2021-02-10 1:07 PM
#
Avatar image of munchausen
Factor Fanatic

Posts:
61
Location:
United Kingdom
Status:
Ive played with WRP and found it to be a little clunky when you want to enter text etc, I imagine X11 forwarding works better, though it will need more processing on the jornada side. But I'd be interested to hear how you get on. BTW there is an x11 server for CE that supports forwarding, but I dont know if the version of ssh it comes with is recent enough to work...

Edited by munchausen 2021-02-10 1:08 PM
 Top of the page
ntware Page Icon Posted 2021-02-10 5:08 PM
#
Avatar image of ntware
Subscribers
H/PC Elite

Posts:
531
Location:
Florida, US
Status:
Quote
munchausen - 2021-02-10 8:07 AM
BTW there is an x11 server for CE that supports forwarding, but I dont know if the version of ssh it comes with is recent enough to work...


I've been looking for that, but all I can find are broken links. I heard that the server performance is very poor as well, don't know if it is true. In any case, if the server works, we don't even need SSH. With a direct ethernet cable connection between the Pi and the J720, it is fairly safe to just use telnet to forward X traffic.
 Top of the page
munchausen Page Icon Posted 2021-02-10 10:56 PM
#
Avatar image of munchausen
Factor Fanatic

Posts:
61
Location:
United Kingdom
Status:
I didn't realise it was missing! I sent a message to the owner of this site to see if he has any of the files any more http://users.ox.ac.uk/~pault/mobile/j720/xwindows.html

I guess there is WeirdX as well http://www.jcraft.com/weirdx/
 Top of the page
joval Page Icon Posted 2021-02-11 3:45 PM
#
Avatar image of joval
Subscribers
H/PC Philosopher

Posts:
377
Location:
Northern California
Status:
Quote
ntware - 2021-02-09 9:09 AM

Sorry if I'm hijacking the thread, but I have this idea for a while, just never implemented it due to lack of time. But instead of using the external RPi as a mere VNC server for Devuan, I though instead to run an "old browser proxy" on the Pi like this one: https://github.com/tenox7/wrp

In essence this would proxy all web traffic so that the built in PIE on WinCE can render modern pages. The RPi would do all the heavy lifting for the website processing and then just send an image to WinCE which can be easily rendered on PIE. How about that?


Wow, cool, sounds exciting! Ethernet to Raspi? Let us know if you get it working.

Joval
 Top of the page
munchausen Page Icon Posted 2021-02-11 9:37 PM
#
Avatar image of munchausen
Factor Fanatic

Posts:
61
Location:
United Kingdom
Status:
Paul Trafford was surprised that his Jornada page was still there, as he gave away his Jornadas years ago, but he was able to dig up some of the files for X11 on CE:

x11-fonts.tar.gz http://s000.tinyupload.com/index.php?file_id=66461236327663255713
x11-arm-hpc-wce300.tar.gz http://s000.tinyupload.com/index.php?file_id=58981375117156632136

He also found the port of Perl, which I think is available elsewhere, but there may be extras in his zip:
Perl-ce.zip http://s000.tinyupload.com/index.php?file_id=00338677826863814814

I don't know if this is actually enough to get X11 working. I think it also needs a console and celib.dll. The binaries for celib.dll are available in the source archive here: I didn't find binaries for those but the source seems to be here https://sourceforge.net/projects/perlce/files/PerlCE%20support%20fil...

I couldn't find binaries for w32console, but the source code is here https://sourceforge.net/projects/perlce/files/PerlCE%20support%20fil...

Paul said that if he finds more he will share it.
 Top of the page
C:Amie Page Icon Posted 2021-02-12 9:35 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
15,569
Location:
United Kingdom
Status:
 Top of the page
joval Page Icon Posted 2021-02-17 9:05 PM
#
Avatar image of joval
Subscribers
H/PC Philosopher

Posts:
377
Location:
Northern California
Status:
Quote
ntware - 2021-02-09 9:09 AM

Sorry if I'm hijacking the thread, but I have this idea for a while, just never implemented it due to lack of time. But instead of using the external RPi as a mere VNC server for Devuan, I though instead to run an "old browser proxy" on the Pi like this one: https://github.com/tenox7/wrp

In essence this would proxy all web traffic so that the built in PIE on WinCE can render modern pages. The RPi would do all the heavy lifting for the website processing and then just send an image to WinCE which can be easily rendered on PIE. How about that?


Once again ntware almost succeeded in hijacking the thread, Close try,buddy, but No Cigar this time! actually your post is most welcomed and appreciated. Let me know if you get the proxy working.

Joval
 Top of the page
ntware Page Icon Posted 2021-02-22 7:49 PM
#
Avatar image of ntware
Subscribers
H/PC Elite

Posts:
531
Location:
Florida, US
Status:
I was discouraged from munchausen comment about WRP and decided to try a much better alternative. I'm happy to announce that I've found what is probably the best way to retrofit a Jornada 720/728. X11 forwarding through ssh is a good alternative, but this leaves a heavy burden for the Jornada as all windows are rendered locally on Devuan's X server. For a device with just 32MB of RAM, where 20MB of these are used just to boot X on the machine, drawing windows is really burdensome. So the next best thing was to use VNC instead of X forwarding as directly as possible. I found a project called DirectVNC that basically connects to a VNC server straight from terminal. It uses Linux framebuffer to write to the screen directly, so no X is required on the client. I tried that on Devuan but it didn't work straight away. Perhaps with some hacking around it might be possible to use it, but since I'm a bit limited on time, I decided to try plan B. I installed Tiger VNC viewer on X (fluxbox) and configured it to load in full screen. Then on the server side (which can be a Raspbery Pi or, in my case, a Ubuntu Server I have laying around) I started VNC server with the exact same screen resolution as the Jornada: vncserver -geometry 640x240

That's it! Once I connected to it through Tiger VNC, my Jornada screen was replaced by my server's with the exact same dimensions. I'm connected to it using a WPA capable WiFi card, writing this message in Firefox which is neat! There are no cables at all connected to my Jornada, and since this card is a Prism WPA capable,I can go anywhere on the house and still have a good connection. Speed is amazing. I have around 10-15FPS on my Jornada showing whatever is running on my server. The only drawback really is the screen resolution, but I don't think there is much that can be done with that as I can't (at least not easily) replace Jornada's screen. But using a good combination of software configs on the server side you can make good use of such small screen resolution.

My next step will be to try to hack around DirectVNC to see if that can work. I bet I will be able to achieve even greater framerates with that running on bare console. Well, that's it for now. I'll see if I can post a video of that running so you guys can have an idea of how fast it is.
 Top of the page
hpc:factor« View previous thread · H/PC Linux / Unix · View next thread »
1 2
Jump to forum:
Seconds to generate: 0.125 - Cached queries : 64 - Executed queries : 9
Server Time now is: Wednesday, 24 February 2021 - 18:30