bordaigorl / rmview

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

Shared screen not modified with ScreenShare on 2.10 #107

Closed mkamensky closed 2 years ago

mkamensky commented 2 years ago

Opening rmview with ScreenShare displays the open document, but modifications with the pen are not displayed. Only a red marker is displayed, similar to #91 (but without the line peek: Input/output error in the output). Remarkable version is 2.10.1.332, output from rmview -v as follows:

2021-10-08 21:17:30+0300 [-] Log opened.                                        
[INFO] STARTING: Fri Oct  8 21:17:30 2021                                       
[INFO] Searching configuration in rmview.json, /home/moshe/.config/rmview.json  [DEBUG] Configuration failure in rmview.json: [Errno 2] No such file or directory: 'rmview.json'                                                                
[INFO] Fetching configuration from /home/moshe/.config/rmview.json
[WARNING] Config file "/home/moshe/.config/rmview.json" is readable by others (permissions=644). 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 /home/moshe/.config/rmview.json)
[DEBUG] Config values: {'ssh': {'address': '10.11.99.1', 'auth_method': 'key', 'host_key_policy': 'auto_add'}, 'orientation': 'auto', 'pen_size': 15, 'pen_color': 'red', 'pen_trail': 200}
[WARNING] No key nor password given. System-wide SSH connection parameters are going to be used.                                                                
[INFO] Using known hosts file: /home/moshe/.config/rmview_known_hosts
[INFO] Loaded known hosts from /home/moshe/.config/rmview_known_hosts
[INFO] Connecting...
[INFO] Connected to 10.11.99.1
[INFO] Detected reMarkable 2.0
[INFO] Using backend 'screenshare'
[INFO] Connecting to ScreenShare, make sure you enable it
[WARNING] Authenticating, please wait...
2021-10-08 21:17:31+0300 [-] ChallengeReaderProtocol starting on 5901
2021-10-08 21:17:31+0300 [-] Starting protocol <rmview.screenstream.screenshare.ChallengeReaderProtocol object at 0x7fa23c08a670>
[DEBUG] Stopping connection worker
[INFO] received timestamp challenge 1633717044673
[INFO] Challenge: 96cdd55b2eb1a08b1309a559f8f86a65d8697908764beb96c6ca94acf75fc5a0, connecting to vnc
2021-10-08 21:17:34+0300 [-] Starting factory <rmview.screenstream.common.VncFactory object at 0x7fa23c075970>
[DEBUG] Stopping listening for timestamps
[DEBUG] skipping challenge 1633717044673
2021-10-08 21:17:34+0300 [-] (UDP Port 5901 Closed)
2021-10-08 21:17:34+0300 [-] Stopping protocol <rmview.screenstream.screenshare.ChallengeReaderProtocol object at 0x7fa23c08a670>
2021-10-08 21:17:34+0300 [VncClient (TLSMemoryBIOProtocol),client] Using protocol version 3.800
2021-10-08 21:17:34+0300 [VncClient (TLSMemoryBIOProtocol),client] Server: reMarkable rfb
[INFO] Connection to VNC server has been established

The installation of rm2fb was modified as in https://github.com/ddvk/remarkable2-framebuffer/issues/18#issuecomment-931592124

bordaigorl commented 2 years ago

Have you tried it while disabling rm2fb? Also: are you using the stock software or the ddvk-hacked one?

mkamensky commented 2 years ago

Disabling rm2fb solved the problem. Not sure about the second question, rm2fb was from ddvk, rmview was from here. Thanks!