Giter Site home page Giter Site logo

Connection refused on RM2 about rmview HOT 8 CLOSED

bordaigorl avatar bordaigorl commented on June 26, 2024
Connection refused on RM2

from rmview.

Comments (8)

bordaigorl avatar bordaigorl commented on June 26, 2024

First: the example configuration is not meant to be used directly but needs to be adapted with your configuration parameters. So in your case you probably want to remove the key setting. The address in the example config is the default one when connecting via USB. Make sure you can connect via ssh on USB with the tablet.

Second: have you installed the dependencies on the tablet?

from rmview.

Th0rgal avatar Th0rgal commented on June 26, 2024

First: the example configuration is not meant to be used directly but needs to be adapted with your configuration parameters. So in your case you probably want to remove the key setting. The address in the example config is the default one when connecting via USB. Make sure you can connect via ssh on USB with the tablet.

Second: have you installed the dependencies on the tablet?

The default configuration was fine to me (my ssh key is in the default location):

{
  "ssh": {
    "address": "10.11.99.1",
    "username": "root",
    "key": "~/.ssh/id_rsa",
    "timeout": 2
  },
  "orientation": "auto",
  "pen_size": 10,
  "pen_color": "red",
  "pen_trail": 1000,
  "background_color": "black",
  "hide_pen_on_press": false
}

The modified version with my password had the other bug.

Second: yep I installed them with these commands:

scp rM-vnc-server root@remarkable:rM-vnc-server
scp mxc_epdc_fb_damage.ko root@remarkable:mxc_epdc_fb_damage.ko
ssh root@remarkable chmod +x rM-vnc-server

from rmview.

bordaigorl avatar bordaigorl commented on June 26, 2024

Ok thanks for the info.
What happens if you run

ssh 10.11.99.1 '/sbin/insmod $HOME/mxc_epdc_fb_damage.ko; $HOME/rM-vnc-server'

If everything is in order, you should see something like Listening for VNC connections on TCP port 5900 and you can exit by pressing ctrl+C.

from rmview.

Th0rgal avatar Th0rgal commented on June 26, 2024

Ok thanks for the info.
What happens if you run

ssh 10.11.99.1 '/sbin/insmod $HOME/mxc_epdc_fb_damage.ko; $HOME/rM-vnc-server'

If everything is in order, you should see something like Listening for VNC connections on TCP port 5900 and you can exit by pressing ctrl+C.

So here is what I tried:

╰─ ssh [email protected] '/sbin/insmod $HOME/mxc_epdc_fb_damage.ko; $HOME/rM-vnc-server'
Enter passphrase for key '/home/thomas/.ssh/id_rsa':
insmod: ERROR: could not insert module /home/root/mxc_epdc_fb_damage.ko: Invalid module format
09/12/2020 11:10:27 Listening for VNC connections on TCP port 5900
09/12/2020 11:10:27 Listening for VNC connections on TCP6 port 5900

from rmview.

bordaigorl avatar bordaigorl commented on June 26, 2024

Ok so the error message suggests the kernel is different from the one mxc_epdc_fb_damage.ko was compiled against.
Is this RM1 or RM2?

from rmview.

Th0rgal avatar Th0rgal commented on June 26, 2024

It is RM2, is there a different version for RM2?

from rmview.

bordaigorl avatar bordaigorl commented on June 26, 2024

Ah well, as the Readme says, only rm1 is supported. I'll amend the readme to state that more prominently.
Currently there's no version for RM2, see #22 .
You may try with an experimental version of reStream.
I don't own an RM2 so I cannot test things.
There are very capable devs looking into ways of getting something like rmview working for RM2 when those methods are mature enough I'll do my best to integrate them in rmview.
But for now, it's just not supported I'm afraid....

from rmview.

bordaigorl avatar bordaigorl commented on June 26, 2024

I'll close as duplicate, let's collect all info on this topic on #22

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.