bordaigorl / rmview

A live viewer for reMarkable written in PyQt5
GNU General Public License v3.0
754 stars 62 forks source link

Issues connecting #155

Closed atxbyea closed 1 year ago

atxbyea commented 1 year ago

I might be an idiot, but I can't get any connection to work.

What I do

[~/Downloads/rmview/rmview/src]$ python -m rmview -v config.json
2023-08-30 09:09:58+0200 [-] Log opened.
[INFO] STARTING: Wed Aug 30 09:09:58 2023
[INFO] Searching configuration in config.json, rmview.json, /home/eirikz/.config/rmview.json
[INFO] Fetching configuration from config.json
[WARNING] Config file "config.json" is readable by others (permissions=664). If your config file contains secrets (e.g. password) you are strongly encouraged to make sure it's not readable by other users (chmod 600 config.json)
[DEBUG] Config values: {'ssh': {'address': '192.168.1.228', 'auth_method': 'password', 'username': 'root', 'password': '**********'}, 'orientation': 'auto', 'pen_size': 15, 'pen_color': 'red', 'pen_trail': 200, 'backend': 'screenshare'}
[INFO] Using known hosts file: /home/eirikz/.config/rmview_known_hosts
[INFO] Loaded known hosts from /home/eirikz/.config/rmview_known_hosts
[INFO] Connecting...
[INFO] Connected to 192.168.1.228
[INFO] Detected reMarkable 2.0
[INFO] Using backend 'screenshare'
[INFO] Connecting to ScreenShare, make sure you enable it
[WARNING] Skipping authentication
2023-08-30 09:10:02+0200 [-] Starting factory <rmview.screenstream.common.VncFactory object at 0x7f0a5977a380>
[DEBUG] Stopping connection worker
2023-08-30 09:10:02+0200 [VncClient (TLSMemoryBIOProtocol),client] Using protocol version 3.800
2023-08-30 09:10:02+0200 [VncClient (TLSMemoryBIOProtocol),client] auth failed, currently ignored

Currently running version 3.6.0.1865 on RM2 And latest master branch (march 5th) of rmview.

Interesting tidbit, if I set the backend to "auto" it tries to use VNC for some reason

[INFO] Connected to 192.168.1.228
[INFO] Detected reMarkable 2.0
[INFO] Using backend 'vncserver'
[DEBUG] Stopping connection worker
[INFO] <class 'PyQt5.QtCore.QFile'> <class 'PyQt5.QtCore.QIODevice'>
[INFO] 1
[INFO] Installing...
[INFO] Installation successful!
[INFO] Starting VNC server (command=$HOME/rM-vnc-server-standalone)
[INFO] Start command stdout output: /home/root/rM-vnc-server-standalone: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
[DEBUG] Stopping VNC streamer thread...
[INFO] Stopping VNC server...
[DEBUG] VNC streamer thread stopped
[INFO] QUITTING: Wed Aug 30 10:07:14 2023
bordaigorl commented 1 year ago

This issue has been reported in #146 and #153 and #148 an issue with the new 3.6 version (which I do not have installed, so I cannot test it first-hand). If any solution is found it will be posted on those issues.