03-26-2021, 12:07 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 10th gen
|
Terminal or SSH through experimental browser
I would like to use shellinabox, anyterm, ajaxterm, GoTTy, WeTTY, or any other browser based terminal application to access my linux machine from the kindle's experimental browser. Firmware version 5.13.4.
GoTTY gives a websockets error on the handshake, and shellinabox shows an empty screen on the kindle, although there are no errors in the logs for the server. Kindle-TTY, an old github project, also shows an empty screen on the paperwhite 10th gen, but the title of the window is correct. I understand that the experimental browser is not exactly feature complete. If I can figure out why these applications don't work I could fork and do a workaround, but I don't know what the kindle browser is lacking that is causing the trouble. Any help would be appreciated! |
03-26-2021, 12:54 AM | #2 |
Wizard
Posts: 1,084
Karma: 3592495
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
SkipStone browser might he better (or not)
https://www.mobileread.com/forums/sh...96&postcount=4 |
03-26-2021, 01:25 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 10th gen
|
The firmware version I am using cannot be rooted/jailbroken afaik, so unfortunately I have to use what our dear overlords at Amazon deign to offer.
|
03-27-2021, 04:28 PM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 10th gen
|
Quick update: I was able to get shellinabox working by cloning it from github and building it myself. A few adjustments needed to be made to get the on-screen keyboard button to show on the web page without having to right-click, since the kindle paperwhite doesn't have a right click, and the response time is abysmal, but I can ssh onto my computer and use tmux to see the session, which allows me to use the keyboard for the computer but the display on the kindle.
I tried GoTTY again, and it didn't work. WeTTY also does not work. Ajaxterm and Anyterm might work but I couldn't either of them to build. I got the Kindle-TTY project to work by adding webkit prefixes to the CSS, but it's a very clunky approximation of a terminal. In summary, I think that the kindle's ability to process javascript is rather poor, and this results in a large latency between the session and the web page. The refresh rate of the screen is perfectly adequate. Makes me regret not jail-breaking it so I could use kterm to ssh directly. |
03-28-2021, 11:21 AM | #5 | |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
You can follow my guide on how to set up a chroot environment here: https://www.mobileread.com/forums/sh...d.php?t=336175 It's for Kobos but should be very similar for Kindles too. Good luck! Edit: I think I'll grab courage and upgrade to some 5.13.x jailbreakable version (from 5.6.5) via KindleBreak and see if I can get that working on my PW3. Last edited by NiMa; 03-28-2021 at 11:25 AM. |
|
03-29-2021, 06:25 PM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Kindle Paperwhite 10th gen
|
I think part of the issue with Wetty/Gotty is the websockets dependency since the kindle experimental browser doesn't support websocket 13, but the other part of the problem is that the full terminal implemented in JS is a bit heavy for the poor experimental browser, even with the older options like ajaxterm/shellinabox.
I was thinking of trying to lighten the load somehow by adjusting shellinabox. Or I might start something from scratch. For some reason shellinabox only works sometimes, and other times I end up with a blank screen. Shellinabox also has the drawback of not opening the kindle's keyboard. |
03-30-2021, 09:15 PM | #7 |
Evangelist
Posts: 479
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
GoTTY works *kind of* well on the Kobo, though...
|
03-30-2021, 09:51 PM | #8 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's because the WebKit version shipped on Kobo is only very slightly less shitty than the Kindle one ;p.
|
Tags |
experimental browser, pw4, ssh, terminal |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Has the experimental browser been removed? | Pjama | Amazon Kindle | 2 | 11-19-2017 08:57 PM |
Android SSH Terminal (client) | kenjennings | enTourage Archive | 1 | 03-04-2011 11:30 PM |
Android ssh terminal | glen | enTourage Archive | 7 | 02-24-2011 11:13 AM |
iLiad SSH client for terminal access | IvarC | iRex Developer's Corner | 2 | 02-06-2009 02:21 PM |
iLiad How to send output to SSH terminal? | ericshliao | iRex Developer's Corner | 4 | 12-27-2008 12:13 PM |