Remote Access¶
Tip
If you want to have a remote graphical output without having a monitor connected to the SBC (AnyDesk, RustDesk, Remmina w/ VNC), use the HDMI Dummy Plug.
AnyDesk¶
- Download AnyDesk (available at https://anydesk.com/en/downloads/linux)
- Execute the following commands
cd ~/Downloads/ sudo apt update sudo apt install ./anydesk_6.4.2-1_amd64.deb -y
- Open AnyDesk
- (optional) Set an alias to use it for remote access instead of the AnyDesk ID
- Open the Menu
Settings
- Security Unlock
- Enable unattended access:
- Set a password
- Set Full Access for the permission profile
- (optional) Disable Search local network for other AnyDesk clients
- (optional) Enable Exclude this device from discovery
- Enable unattended access:
- (optional) Display
- Set Best performance in the quality
- Set Optimize screen usage (strecht) in view mode
- Security Unlock
Tip
If you are having problems connecting to another computer through AnyDesk, try to remove the local cache folder.
ll ~/.anydesk/
rm -rf ~/.anydesk/
Warning
AnyDesk requires both remote access endpoints to have Internet connection.
Warning
Some IT managers may lock the remote access through AnyDesk by disabling
connections through *.net.anydesk.com
, even if both endpoints have an
Internet connection.
More information in
https://support.anydesk.com/knowledge/firewall.
RustDesk¶
- Download RustDesk (available at https://github.com/rustdesk/rustdesk/releases/)
- Execute the following commands
cd ~/Downloads/ sudo apt update sudo apt install ./rustdesk-1.3.7-x86_64.deb -y
- Open RustDesk
- Open the Menu
Settings:
- Security Unlock
Security Settings
- Use permanent password
- (optional) Deny LAN discovery
- (optional) Enable direct IP access Define
the Port (e.g.,
21118
)
- (optional) Display
- Set Scale adaptive
- Set Optimize reaction time
- Other default options
- Show monitors in toolbar
- Enable file copy and paste
- Use all my displays for the remote session
- Security Unlock
Security Settings
Tip
RustDesk is an open-source remote access software as an alternative to AnyDesk and similiar applications, allowing your own self-hosted servers and direct IP access to your machine.
Warning
Direct IP access through RustDesk remote connection is unecrypted!
Remmina¶
- Execute the following commands
sudo apt install remmina remmina-plugin-rdp remmina-plugin-vnc -y sudo apt install vino -y
- Open Settings Sharing Enable Screen Sharing
- Open Remmina on the client side
- Open a VNC connection with the address
<computer name>.local
or<IP address>
Secure Shell (SSH)¶
# SBC onboard the robot
sudo apt install openssh-server
# Remote access PC
sudo apt install openssh-client
ssh user@<IP address>
Warning
SSH 22 default port must be open in your network's firewall settings.
ZeroTier¶
- Execute the following commands
curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/main/doc/contact%40zerotier.com.gpg' | gpg --import && if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi sudo zerotier-cli info
- Go to https://my.zerotier.com/
Create A Network
- Enable Auto-Assign from Range for the IPv4 Auto-Assign
- Enable Broadcast for Multicast
- Execute the following commands
sudo zerotier-cli join <Network ID>
- Go to https://my.zerotier.com/ Access the network previously created Authorize the new device
-
Execute the following commands
ifconfig # (1)!
- should appear a new network interface specific to ZeroTier with an auto-assigned STATIC IP address
-
Execute remote access through VNC, SSH, or another method that allows IP direct access using the ZeroTier IP address
Warning
Both devices should be added in your private ZeroTier network