Forum / NoMachine for Linux / Use NoMachine together with ngrok for accessing remote access on Jetson
- This topic has 4 replies, 2 voices, and was last updated 3 years, 8 months ago by Carin.
-
AuthorPosts
-
April 8, 2021 at 14:17 #32817acroParticipant
I have a client where I need to do some updates and support on a system running Ubuntu on Jetson Xavier NX. First I was thinking of using [removed] but it is not supporting arm64. The same scenario with [removed] and others …
I tried to use NoMachine which works fine when running on the same network. I tried to make it work from outside (from the internet) by running it together with services like [ngrok] or [localtunnel] but it can’t get it to work and I might misunderstand some of the concept. This is what I have done:
1. installed NoMachine and ngrok on Jetson
2. run NoMachine-service and start the server
3. the server says nx://172.20.10.12 and ssh://172.20.10.12. It runs on port 4000Here comes what I might misunderstand. My idea is to use ngrok to fetch the NoMachine so I can access it from a webpage from anywhere instead of running it from my another computer on the same network.
After I saved my accesstoken for ngrok I tried by typing:
./ngrok tcp 172.20.10.12:4000
But it didn’t work.
Any idea how I can get this to work, basically to access my jetson from remote.
April 8, 2021 at 15:24 #32842CarinParticipantHi acro,
You may check this article:AR11L00827 – How to connect to NoMachine when the server is behind a NAT router or a firewall. If your router supports UPnP you can use this option to connect over the internet. In the article, you can find instructions on how to enable UPnP in the NoMachine server.
Please take also a look at How to get started with NoMachine – section: Using NoMachine for remote access to a computer over the internet.
If you want to forward port manually you should pass traffic to port 4000 (NX protocol), 22 (SSH protocol on Linux/MacOSX) or (4022) (SSH protocol on Windows). Follow your router instructions to know how to do that (guides you can also find on the internet, for example from here: https://portforward.com/router.htm).
April 8, 2021 at 20:21 #32847CarinParticipantHi acro,
We have tested ngrok in our labs and we did not find any issue.
I kindly ask you to double-check if either hostname and port were not correct. Or perhaps the IP address changed? Thanks!April 9, 2021 at 08:00 #32848acroParticipantCreate a tunnel: /ngrok tcp 3389
Go to http://localhost:4040/status to see the status
Connecting from client:
I’m asked to login:
But I cannot access. I’m using the same login as to ngroks dashboard but Im not getting in. What login did you use?
Shall I use some other login information? Or can I access my login information from ngrok somehwhere?
April 9, 2021 at 08:24 #32851CarinParticipantHi acro,
To log in to NoMachine you must use credentials of a system account you have on that host, not the ngrok dashboard credentials.
-
AuthorPosts
This topic was marked as solved, you can't post.