04-13-2012, 10:43 PM | #1 |
wannabe developer
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
[Kindle Touch] VNC Server
Here's x11vnc server for Kindle Touch (sw 5.1).
Some features : - mouse input - keyboard input ( it puts some funny characters in between... ) - custom iptables, so you can connect via WiFi and usbNetwork (port no 5900) - vnc.conf upstart script which checks existance of ENABLE_VNC under /mnt/us/vnc directory Feel free to play around with source files if you're interested. http://dl.dropbox.com/u/16679763/x11vnc_kindle.zip Enjoy. edit : If you're wondering; Kindle Home button is mapped as "Home" button on keyboard. Obviously. Last edited by seaniko7; 04-13-2012 at 11:20 PM. |
04-14-2012, 01:10 AM | #2 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Does this only install on 5.1? I tried installing it on 5.0.4 with "universal jailbreak", but it is not recognized in the update menu.
EDIT: Nevermind. It worked after I rebooted and copied the install.bin to the kindle a second time. Apparently the jailbreak needs another restart not listed in the jailbreak README.txt. EDIT 2: Wow. This is great. I love it. Thanks! Even the screensavers work on this. Okay, which key is the power button so I can remote wake it? Or... it could disable screensavers during a vnc connection: lipc-set-prop com.lab126.powerd preventScreenSaver 1 Last edited by geekmaster; 04-14-2012 at 01:57 AM. |
Advert | |
|
04-14-2012, 01:22 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle
|
Great work!
Does it support Kindle 3 3g? |
04-14-2012, 01:51 PM | #4 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
This VNC version relies on Xorg which is NOT in the K3.
There IS a "native mode" version of VNC (from hawhill) for the K3 and DX: https://www.mobileread.com/forums/sho...d.php?t=150434 Here are some instructions for the DX version: http://tinyapps.org/docs/e-ink-monitor.html Here is a "PowerShell" configuration for native VNC: https://www.mobileread.com/forums/sho....php?p=2004968 EDIT: To adapt hawhill's VNC code for the K3, it may need to be adjusted for screen size and keyboard codes different from the DXG, but it should be a simple change. Last edited by geekmaster; 04-14-2012 at 06:43 PM. |
04-14-2012, 01:53 PM | #5 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
With this X11 VNC server, and code from hawhill's native mode VNC client, a native mode app can monitor and control desktop apps over the localhost VNC port 5900.
Last edited by geekmaster; 04-15-2012 at 02:07 AM. Reason: multiplying like rabbits |
Advert | |
|
04-14-2012, 01:55 PM | #6 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
THIS SPACE RESERVED
Last edited by geekmaster; 04-14-2012 at 06:46 PM. Reason: call an exterminator |
04-14-2012, 04:25 PM | #7 |
Connoisseur
Posts: 59
Karma: 57554
Join Date: Jan 2012
Location: Romania
Device: Kindle Touch
|
Some problems with a launcher extension
Firstly I'd like to tell you that your port of x11vnc is awesome. Keep up the good work!
I tried to create a launcher extension to stop and start x11vnc. I must admit that I am not very good with linux commands and I have used the usbnetwork launcher in order to understand how the launcher works and I based my launcher extension on it and on the info I could gather from the source you posted for x11vnc. My launcher extension stops and starts x11vnc correctly but it doesn't work the same as if it x11vnc launched at boot by checking the ENABLE_VNC file (the normal way). I will list the differences: -I can open x11vnc with my launcher extension and connect to it with a VNC client. but if I disconnect the client, I cannot connect it again without restarting x11VNC whereas with the normal startup I can disconnect and reconnect as many times as I wish. -If I open x11vnc with my launcher and connect a VNC client, the Kindle interface becomes not responsive after a few seconds. After I disconnect the VNC Client all my interactions are registered at the same time resulting in multiple menu windows, collections selects, page selects, etc at the same time. Can you please look at my launcher extension and see what am I doing wrong? Thanks! PS: I updated the wiki with some basic info about your VNC package. https://wiki.mobileread.com/wiki/Kind...ing#VNC_Server |
04-14-2012, 09:50 PM | #8 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
This is great seaniko7. Thanks, I've been looking for this stuff a long time. Is there a vnc-viewer build for Linux-ARM around?
A couple of issues: 1. I think key mappings are not correct! Try to write for example character 'a' or whatever from your computer's keyboard (that runs vnc-viewer) to your Kindle's URL bar and you'll see it writes a weird character before it. Also, Shift, Tab, Control, and ... are mapped with weird characters. 2. Sometimes x11vnc crashes with this error in the terminal (for instance when running browser): Code:
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 132 (MIT-SHM) Minor opcode of failed request: 4 (X_ShmGetImage) Serial number of failed request: 77551 Current serial number in output stream: 77553 Last edited by thatworkshop; 04-14-2012 at 10:35 PM. |
08-07-2012, 08:40 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2012
Device: kindle touch
|
If you want to use password, you can edit the vnc.conf file, /etc/upstart/vnc.conf
# nopw is no password #exec x11vnc -nopw exec x11vnc -passwd xxxxxx |
08-07-2012, 08:54 PM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Three choices: Add more ram (not practical without the special re-work tools) ; Run fewer programs at the same time ; Enable swap ; Choice two is probably the best choice of the three. |
|
10-03-2012, 06:26 AM | #11 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
May dig into this, interest willing. |
|
10-03-2012, 06:38 AM | #12 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Before trying, does it work with 5.1.2?
|
10-03-2012, 06:54 AM | #13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
err. I didn't try this one. but I would guess so. the one I built is running on that.
|
10-03-2012, 07:11 AM | #14 |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Ok, it works really fine!!
Only thing I can't do is scroll down using the mouse wheel (I think it's related to my VNC viewer, UltraVNC) |
10-03-2012, 07:52 AM | #15 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm let me test that.
EDIT: mousewheel works on gvncviewer FWIW. Last edited by twobob; 01-05-2013 at 12:04 AM. |
Tags |
launcher, launcher add-ons |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PE: why can't ADB over wifi or VNC server work? | multiprose | enTourage eDGe | 0 | 04-12-2012 09:31 PM |
VNC server for kindle | arikfunke | Kindle Developer's Corner | 0 | 03-31-2012 02:25 PM |
connecting VNC server/viewer | multiprose | enTourage eDGe | 0 | 03-01-2012 05:57 PM |
Can't access Calibre Server with Kindle touch | ganymede | Devices | 3 | 12-14-2011 01:20 PM |
iLiad Scratchbox VNC Server Usage | BTolputt | iRex Developer's Corner | 2 | 02-02-2009 02:57 AM |