View Single Post
Old 08-25-2017, 02:57 AM   #53
grizzly666
Junior Member
grizzly666 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2016
Device: Kobo aura h2o
I got it to work with the zip from post#1.
The line 122 error seems to be the general fail code for if not everything at least many things.
Like wrong port set on the vnc server (not kvncviewer but the server on windows/linux/etc) or that you forgot or typed the wrong password in the kvncviewer line.

Also got that error when trying different arguments in the kvnc line (that kvnc simple did not support or typed something wrong/forgot a space or -).

So make sure the vncserver use the 5901 port NOT port 5900 that is the standard default setting for most vncservers, and if password is used on the vncserver that kvnc use the right one, and the line is correct.

For example use this kvnc line with your password/ip adress and also the right "display" which in this line is the :1 at the end (canīt remember if the wrong display gave the same error or not).
./luajit vncviewer.lua -reconnecting -rotateFB 90 -password YOURPASS 192.168.2.102:1


The really bad picture issue i have not solved though as in if there are anything not black or white it becomes almost impossible to read.
And i tried fro days with settings/different vnc servers like x11vnc/xvnc/ and so on on both linux and windows and also a raspberry pi 3.
Basically the only settings that does anything for the picture is adding -dithering in the kvnc line (which give a better overall look but B&W looks worse) and setting resolution in the vncserver startup line.
Things like -dpi or different encodings/color options does nothing at all (atleast to my eye).

So after one and a half week off thinkering with this for 8+ hours a day i have given up!
I almost got it so i could use the kobo as a screen for a commandline browser like w3m/elinks/links/links2 and have them set to white background black text then links to black underlined and visited links to white (and yes they where invisible then, not 100% ideal but better then not knowing what you have visited).
The problem was after 5-10 "pages" (as in page up/down) the tex became harder and harder too read.
Tried different screen update settings but when i got it to be good text after a couple of "pages" the screen did a full refresh 5-10 times before you had a chance too finish reading it.
And that was the last straw i gave up, mostly because i did not want a kobo in 10000 small pieces.
grizzly666 is offline   Reply With Quote