Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2014, 10:15 AM   #1
Lenorav
Enthusiast
Lenorav began at the beginning.
 
Lenorav's Avatar
 
Posts: 39
Karma: 10
Join Date: Aug 2014
Device: PW2
My attempts to run VNC in PW2.

I'm trying to a week, reading the forum, and looking for ways to try to make the PW2 as the VNC desktop monitor, but without success, as I'll show the steps, so help me where I am going wrong.

1: My device is jailbreak, with kual, and install kindlevncviever https://www.mobileread.com/forums/att...8&d=1351345178 put this folder in root /mnt/us/kindlevncviewer/

2: Conect usb-network in kindle
$ ssh root@192.168.15.244
Welcome to Kindle!
root@192.168.15.244's password:
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]#

3: As read here https://www.mobileread.com/forums/sho...d.php?t=150434 In pc on terminal i execute:
$ xinit /usr/bin/openbox -- /usr/bin/Xvnc :1 -geometry 1200x824 -depth 16 -dpi 160 -alwaysshared -lazytight

4: In other terminal i execute:
$ x11vnc -rfbport 5901 -forever

5: In root on kindle:
[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh 192.168.15.2:0 &
[root@kindle root]# 21/11/2014 13:08:19 ConnectToTcpAddr: connect
21/11/2014 13:08:19 Unable to connect to VNC server
/mnt/us/kindlevncviewer/kvncviewer.sh: line 11: can't create /proc/keypad: nonexistent directory
/mnt/us/kindlevncviewer/kvncviewer.sh: line 12: can't create /proc/keypad: nonexistent directory


And PW2 does not reproduce the desktop screen monitor, what step I'm missing?
Lenorav is offline   Reply With Quote
Old 11-21-2014, 04:26 PM   #2
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Sorry to get back to you only now.

That version is for Kindle 2 (?), DX(G) and Kindle 3. Somewhere in the thread, somebody reported success with a Kindle 4, too, I think - but I'm not sure.

You would have to experiment with this: https://www.mobileread.com/forums/sho...d.php?t=228167 - but I think there's still a bug somewhere hiding in that code base.

You should certainly not run x11vnc and Xvnc. Read up what they are for - and start with one of them.

When you run displays on :1 on the desktop (or on -rfbport 5901, which is about the same), you need to connect to 192.168.15.2:1 (note the ":1" here, too) from the Kindle.

Last edited by hawhill; 11-21-2014 at 04:29 PM.
hawhill is offline   Reply With Quote
Old 11-21-2014, 05:45 PM   #3
Lenorav
Enthusiast
Lenorav began at the beginning.
 
Lenorav's Avatar
 
Posts: 39
Karma: 10
Join Date: Aug 2014
Device: PW2
[root@kindle kvncviewer]# ./luajit vncviewer.lua 192.168.15.2:1
could not open input device /dev/input/event2 (possibly harmless)
21/11/2014 20:42:04 ConnectToTcpAddr: connect
21/11/2014 20:42:04 Unable to connect to VNC server
./luajit: vncviewer.lua:152: cannot initialize client
stack traceback:
[C]: in function 'assert'
vncviewer.lua:152: in function 'connect'
vncviewer.lua:278: in main chunk
[C]: at 0x0000c394
Lenorav is offline   Reply With Quote
Old 11-22-2014, 08:12 AM   #4
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
This looks like either your desktop PC does *not* have the IP 192.168.15.2 (I just copied that from what you wrote, since I thought you know best, but check on your desktop with "ip addr") - or a VNC server (Xvnc or x11vnc) is not running, or not on port 5901 (":1"), or you have a firewall on your desktop or your VNC server does not listen on all interfaces.
hawhill is offline   Reply With Quote
Old 11-23-2014, 05:25 AM   #5
Lenorav
Enthusiast
Lenorav began at the beginning.
 
Lenorav's Avatar
 
Posts: 39
Karma: 10
Join Date: Aug 2014
Device: PW2
Quote:
Originally Posted by hawhill View Post
This looks like either your desktop PC does *not* have the IP 192.168.15.2 (I just copied that from what you wrote, since I thought you know best, but check on your desktop with "ip addr") - or a VNC server (Xvnc or x11vnc) is not running, or not on port 5901 (":1"), or you have a firewall on your desktop or your VNC server does not listen on all interfaces.
The command "ip addr" appear this:
inet 192.168.15.201/24 brd 192.168.15.255 scope global usb0

This is my configuration VNC server
Click image for larger version

Name:	1.png
Views:	239
Size:	42.7 KB
ID:	131458
Click image for larger version

Name:	2.png
Views:	235
Size:	55.1 KB
ID:	131459
Lenorav is offline   Reply With Quote
Old 11-23-2014, 07:34 AM   #6
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
So.... run "./luajit vncviewer.lua 192.168.15.201:1"?
Configuring x11vnc can get quite complex. See "x11vnc --help" for what I mean...
hawhill is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Australia's biggest telco attempts to steal iPad's thunder with T-hub tablet Bookbee News 5 04-14-2010 10:31 AM
Hacking attempts and how the administrators deal with them User Name Feedback 3 05-23-2009 02:10 PM
VitalSource attempts iTunes for e-books Colin Dunstan News 2 12-11-2007 08:38 AM


All times are GMT -4. The time now is 07:19 AM.


MobileRead.com is a privately owned, operated and funded community.