Git Product home page Git Product logo

Comments (15)

pizzard avatar pizzard commented on August 29, 2024 4

I stand corrected. I was looking for a firewall at the router side, and there is none, but there is a firewall on the target laptop and Wireshark captures in front of the firewall. So my issue has been resolved.

from rmview.

alexandru-calinoiu avatar alexandru-calinoiu commented on August 29, 2024 2

Same issue solved in Ubuntu by adding a firewall rule

image

from rmview.

hersle avatar hersle commented on August 29, 2024 1

For anyone on Fedora with exactly the same issue, here is my quick fix:

sudo firewall-cmd --add-port=5901/udp # open the required UDP 5901 port
sudo firewall-cmd --runtime-to-permanent # make the new firewall configuration persistent, so it applies also after reboot

from rmview.

triha74 avatar triha74 commented on August 29, 2024

I have the same issue and running 2.12.2.573

[INFO] Loaded known hosts from /Users/triha/Library/Preferences/rmview_known_hosts
[INFO] Connecting...
[INFO] Connected to 192.168.2.217
[INFO] Detected reMarkable 2.0
[INFO] Using backend 'screenshare'
[INFO] Connecting to ScreenShare, make sure you enable it
[WARNING] Authenticating, please wait...
2022-04-21 14:51:43+0200 [-] ChallengeReaderProtocol starting on 5901
2022-04-21 14:51:43+0200 [-] Starting protocol <rmview.screenstream.screenshare.ChallengeReaderProtocol object at 0x1365513d0>
[DEBUG] Stopping connection worker

from rmview.

bordaigorl avatar bordaigorl commented on August 29, 2024

You need to first enable ScreenShare on the tablet, which unfortunately is only available if you have a subscription.
There's currently no workaround.

from rmview.

triha74 avatar triha74 commented on August 29, 2024

I have a subscription and the ScreenShare enabled

from rmview.

bordaigorl avatar bordaigorl commented on August 29, 2024

@triha74 have you looked at #111 ? That's most likely the issue.

from rmview.

triha74 avatar triha74 commented on August 29, 2024

Im not sure it is because I dont have the firewall enabled

from rmview.

bordaigorl avatar bordaigorl commented on August 29, 2024

@triha74 would you mind listing your specs? What OS are you using? Are you running from WiFI or USB? Have you tried with the official app?

from rmview.

triha74 avatar triha74 commented on August 29, 2024

On my mac neither the official app or rmview is working.

On my windows machine (which I only use for gaming) it does work both with the official app and rmview.

Both machines on the same network

from rmview.

bordaigorl avatar bordaigorl commented on August 29, 2024

@triha74 looks like something in your config is blocking the communication on port 5901 (UDP).
This is not an issue with rmview per-se.

from rmview.

massimilianorighi avatar massimilianorighi commented on August 29, 2024

I had the same problem using the docker version of rmview. If you are on Ubuntu just allow TCP/UDP on port 5901: sudo ufw allow 5901 . Tested on Remarkable 2, OS: 2.12.3.606 and Ubuntu 20.04.3 LTS running from WIFI (home network)

from rmview.

pizzard avatar pizzard commented on August 29, 2024

I also have the same problem:

[INFO] Connected to 10.144.255.236
[INFO] Detected reMarkable 2.0
[INFO] Using backend 'screenshare'
[INFO] Connecting to ScreenShare, make sure you enable it
[WARNING] Authenticating, please wait...
2022-06-17 16:32:44+0200 [-] ChallengeReaderProtocol starting on 5901
2022-06-17 16:32:44+0200 [-] Starting protocol <rmview.screenstream.screenshare.ChallengeReaderProtocol object at 0x7fce8411cac0>
[DEBUG] Stopping connection worker

In this state the application is stuck.
I activated screenshare on the Tablet and inspected my network traffic via wireshark.
I can see the following packets:
4003 413.035381053 10.144.255.236 10.144.255.255 UDP 93 55606 → 5901 Len=51 on my laptop in regular intervals. I can also see that rmview has a listen port via netstat:

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           986/avahi-daemon: r 
udp        0      0 0.0.0.0:5901            0.0.0.0:*                           18831/python3    
<more lines...>

On a different network I verified that screenshare works in windows with the official client. Here I am on debian11.
How do I look deeper here? Is there an easy way to see whether the UDP Packets are actually received in rmview?

/edit: Remarkable is 2.14.0.861

from rmview.

bordaigorl avatar bordaigorl commented on August 29, 2024

@pizzard without further info, it looks to me like a network config problem.
To see if this is true you should be testing rmview and the official app in the same network.
Are you absolutely positive that UDP traffic on port 5901 is not blocked by a firewall?

from rmview.

pizzard avatar pizzard commented on August 29, 2024

As I can see the packets in wireshark I am certain that the network lets them through, but I will try to verify further whether the device receiving them does apply any further filters.
I will try on the same device in the same network with both official and rmview to directly compare.
I am on a Debian11 system, for reference.

from rmview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.