First of all, file ~/Kindle/usbnet/etc/config
# NOTE: The K4 has a specific default HOST_IP=192.168.15.201 KINDLE_IP=192.168.15.244
To get the real identifier of network interface dmesg | grep usb0
(enp0s20f0u2)
Assign ip
sudo ifconfig enp0s20f0u2 192.168.15.201
Launch vncserver
in terminal. To get :port which vncserver is listening to:
netstat -tulpn tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 4350/Xtightvnc
Connect to Kindle ssh root@192.168.15.244
In Kindle terminal:
/mnt/us/kindlevncviewer/kvncviewer.sh 192.168.15.201:5901 &
Result:
03/06/2011 20:47:10 VNC server supports protocol version 3.8 (viewer 3.8) 03/06/2011 20:47:10 We have 2 security types to read 03/06/2011 20:47:10 0) Received security type 2 03/06/2011 20:47:10 Selecting security type 2 (0/2 in the list) 03/06/2011 20:47:10 1) Received security type 16 03/06/2011 20:47:10 Selected Security Scheme 2 got request for password, but no password was given on command line. 03/06/2011 20:47:10 Reading password failed
It's 2019, but kindle apparently thinks it is 2011. There was no password prompt, so not clear where the password has to come from.
On Kindle killall kindlevncviewer
On pc sudo ifconfig enp0s20f0u2 down
vncserver -kill :1
By the way, disabling updates by renaming /etc/uks
to e.g. /etc/uks.disabled
is not successful, because the system is mounted in read only mode.