antimattercrusader
Posts: 4
Joined: Sun May 12, 2013 9:16 pm

XRDP through Middle-Man Server

Mon May 22, 2017 6:44 pm

Hello,
I have a Raspberry PI connected to a cellular hotspot on an unmanned vehicle and would like to be able to access it via Remote Desktop or similar.

- I was able to get TeamViwer working on my RPI2/3, but it doesn't work on the RPI0 without using something like Exagear which I don't want to use, AND I'd rather not rely on the 3rd party.
- I got XRDP and VNC to work, but local network only. I can get it to work through my router as well, I know how to forward ports.

However, on a cellular connection with no outside IP and one which changes frequently, I'd like to find a server type solution, such as Teamviewer but which works with RPI0 and where I own the server. I have a number of Amazon EC2 instances with static IPs which I could use.

Does anyone know how to direct XRDP to point to a static IP, and I can then point my remote desktop client there? Or anything similar? I'm a bit out of my league here,any help is appreciated.

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: XRDP through Middle-Man Server

Mon May 22, 2017 8:46 pm

Either you can use a cloud service like wylodrin ( https://projects.wyliodrin.com/wiki/boa ... aspberrypi)

Or you can try to use SSH tunneling, so that the raspberry opens a ssh connection to a server you control and then the tunnel will make you able to able to connect to the Raspberry via a port on the server.
Its similar to creating a VPN service that the Raspberry automatically connects to,.

In all three cases its the Raspberry that has to initiate the connection because it is the unit behind the GSM/3G providers firewall/NAT.

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: XRDP through Middle-Man Server

Mon May 22, 2017 8:54 pm

antimattercrusader wrote:Hello,
I have a Raspberry PI connected to a cellular hotspot on an unmanned vehicle and would like to be able to access it via Remote Desktop or similar.

- I was able to get TeamViwer working on my RPI2/3, but it doesn't work on the RPI0 without using something like Exagear which I don't want to use, AND I'd rather not rely on the 3rd party.
- I got XRDP and VNC to work, but local network only. I can get it to work through my router as well, I know how to forward ports.

However, on a cellular connection with no outside IP and one which changes frequently, I'd like to find a server type solution, such as Teamviewer but which works with RPI0 and where I own the server. I have a number of Amazon EC2 instances with static IPs which I could use.

Does anyone know how to direct XRDP to point to a static IP, and I can then point my remote desktop client there? Or anything similar? I'm a bit out of my league here,any help is appreciated.
Why not use VNC Connect ?

https://www.raspberrypi.org/blog/get-ba ... c-connect/
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

antimattercrusader
Posts: 4
Joined: Sun May 12, 2013 9:16 pm

Re: XRDP through Middle-Man Server

Tue May 23, 2017 4:22 pm

fruitoftheloom wrote:
antimattercrusader wrote:Hello,
I have a Raspberry PI connected to a cellular hotspot on an unmanned vehicle and would like to be able to access it via Remote Desktop or similar.

- I was able to get TeamViwer working on my RPI2/3, but it doesn't work on the RPI0 without using something like Exagear which I don't want to use, AND I'd rather not rely on the 3rd party.
- I got XRDP and VNC to work, but local network only. I can get it to work through my router as well, I know how to forward ports.

However, on a cellular connection with no outside IP and one which changes frequently, I'd like to find a server type solution, such as Teamviewer but which works with RPI0 and where I own the server. I have a number of Amazon EC2 instances with static IPs which I could use.

Does anyone know how to direct XRDP to point to a static IP, and I can then point my remote desktop client there? Or anything similar? I'm a bit out of my league here,any help is appreciated.
Why not use VNC Connect ?

https://www.raspberrypi.org/blog/get-ba ... c-connect/
Ah! Because I was not aware of this solution. Perfect. Thank you very much! Works like a charm.

Return to “Beginners”