View Single Post
Old 12-08-2020, 05:12 AM   #530
robotfish
Junior Member
robotfish began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2020
Device: Kindle 4
Hi,

I realise this is a really old thread, but I'm hoping the dev is still around.

I'm using my Kindle 4 as a screen for a status display for temperature, ph, and salinity on my reef tank. I've got a server running Grafana and the vnc viewer from this thread displaying it through a full-screen firefox window. It works pretty well, except that the connection drops roughly once or twice a day and I have to manually restart kindlevncviewer from the KUAL menu. I ran strace on the vnc viewer process and got this at the moment of the disconnect:

ioctl(3, FBIO_EINK_UPDATE_DISPLAY_AREA, 0xbea26a88) = 0
select(8, [4 5 6 7], NULL, NULL, {300, 0}) = 1 (in [7], left {272, 172293})
read(7, 0x4070a0a0, 8192) = -1 ETIMEDOUT (Connection timed out)
gettimeofday({1607389609, 204967}, NULL) = 0
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "08/12/2020 01:06:49 ", 20) = 20
write(2, "read (110: Connection timed out)"..., 33) = 33
write(2, "error while handling RFB message"..., 34) = 34
close(7) = 0
munmap(0x406bf000, 360448) = 0
brk(0xe4000) = 0xe4000
stat64("192.168.1.42", 0xbea26978) = -1 ENOENT (No such file or directory)
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
connect(7, {sa_family=AF_INET, sin_port=htons(5901), sin_addr=inet_addr("192.168.1.42")}, 16) = -1 ETIMEDOUT (Connection timed out)
gettimeofday({1607389609, 242614}, NULL) = 0
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "08/12/2020 01:06:49 ", 20) = 20
write(2, "ConnectToTcpAddr: connect\n", 26) = 26
close(7) = 0
gettimeofday({1607389609, 269107}, NULL) = 0
open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "08/12/2020 01:06:49 ", 20) = 20
write(2, "Unable to connect to VNC server\n", 32) = 32
ioctl(4, EVIOCGRAB, NULL) = 0
close(0) = 0
ioctl(5, EVIOCGRAB, NULL) = 0
close(1) = 0
ioctl(6, EVIOCGRAB, NULL) = 0
close(2) = 0
close(3) = 0
exit_group(-1) = ?
+++ exited with 255 +++

The connection times out, and then it can't find /etc/localtime.

I had a second connection running to the vnc server from my desktop at the time, and it's still going, so it's not the server dropping the connection.

Any thoughts on what I should do next?
robotfish is offline   Reply With Quote