Hello,
I'm new here. I wasn't able to read the whole thread so sorry if this was already answered.
I started using kindlevncviewer today and it works great. I'm going to use it for programming so that I don't have to look at a backlit screen. The problem is that when I type I have to wait long until the characters appear. However when I'm moving a window or something like that it updates much faster. Does it wait until a large enough number of pixels has changed or something like that? I noticed that it will update if i press a button on the Kindle keyboard. But clicking a key 2 times per seckond is not a good idea. Can it be configured to automatically update faster?
Thanks in adavance.
Also, this post was written using the kindle as a screen. Kind of difficult to write nwithout seeing the letters appear.
Edited to add:
I looked at the source. I noticed that there are commandline options. Buk kvncviewer seems to ignore them. I cloned the repository so that I can make changes to make it print information so that i know what's going on.
I wasn't able to build it. I figured out that I have to download luajit, libvncserver and zlib.
The "-m32" option is not recognized. I removed it to see what happens.
I still get errors.
Code:
b:~/kvnc/kindlevncviewer> make ARCH=arm-linux-gnueabihf
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
make -C luajit-2.0 HOST_CC="gcc" CROSS=arm-linux-gnueabihf-
make[1]: Entering directory `/home/b/kvnc/kindlevncviewer/luajit-2.0'
==== Building LuaJIT 2.0.2 ====
make -C src
make[2]: Entering directory `/home/b/kvnc/kindlevncviewer/luajit-2.0/src'
AR libluajit.a
make[2]: arm-linux-gnueabihf-ar: Command not found
make[2]: *** [libluajit.a] Error 127
make[2]: Leaving directory `/home/b/kvnc/kindlevncviewer/luajit-2.0/src'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/b/kvnc/kindlevncviewer/luajit-2.0'
make: *** [luajit-2.0/src/luajit] Error 2
I have no idea what to do now.
Also, when a part of the screen is updated the rightmost pixel is not updated. An off-by-one error?
ETA: Ok, I found out that I have to upgrade binutils. I have successfully built luajit, jibjpeg-turbo and zlib. I'm stuck on libvncserver now.
Code:
b:~/kvnc/kindlevncviewer> make ARCH=arm-linux-gnueabihf
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
arm-linux-gnueabihf-gcc -fPIC -shared -DLIBVNCSERVER_HAVE_LIBZ -DLIBVNCSERVER_HAVE_LIBJPEG -Ilibvncserver/libvncclient/.. -Ilibvncserver/libvncclient/../common/ -Ilibvncclient.so -Izlib/ -Ilibjpeg-turbo-1.3.0/ -Wl,-E -Wl,-rpath,'$ORIGIN' -o libvncclient.so libvncserver/libvncclient/cursor.c libvncserver/libvncclient/listen.c libvncserver/libvncclient/rfbproto.c libvncserver/libvncclient/sockets.c libvncserver/libvncclient/vncviewer.c libvncserver/libvncclient/tls_none.c libvncserver/libvncclient/../common/minilzo.c zlib/libz.so.1 libjpeg-turbo-1.3.0/.libs/libjpeg.so.62
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/cursor.c:25:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/listen.c:39:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/rfbproto.c:37:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/sockets.c:32:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/vncviewer.c:32:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
In file included from libvncserver/libvncclient/../rfb/rfbclient.h:39:0,
from libvncserver/libvncclient/tls_none.c:20:
libvncserver/libvncclient/../rfb/rfbproto.h:72:27: fatal error: rfb/rfbconfig.h: No such file or directory
compilation terminated.
make: *** [libvncclient.so] Error 1
Looks like rfbconfig.h should be autogenerated somehow.
ETA: I needed automake and autoconf to build the config script to generate rfbconfig.h and the makefiles. using automake or autoconf gives errors. Anlo, using the generated ./config gives errors