ArticlesHow-to
Ubuntu remote access: reach an Ubuntu computer from anywhere
How you reach an Ubuntu computer from somewhere else depends on what you need. For a command line, use SSH. For your desktop on the same network, use Ubuntu’s built-in Remote Desktop. To help someone with their own computer, use a remote support tool. For your own desktop from anywhere, with no network setup, use a browser tool such as Naytto. Naytto is for reaching your own computers, not for supporting other people’s.
Which route fits
| You want | Use | What it takes |
|---|---|---|
| A command line | SSH | The SSH server on the Ubuntu computer, and a way to reach it on the network |
| Your desktop, on the same network | Ubuntu’s Remote Desktop | An RDP app on the other computer. From outside, often a VPN or port forwarding |
| To help someone with their computer | A remote support tool | Its app on their computer, and them at it. Some let you help from a browser |
| Your own desktop, from anywhere | Naytto | The Naytto app on the Ubuntu computer. Any current browser to connect from |
A command line: SSH
SSH gives you a terminal on the Ubuntu computer, with nothing to see on screen. Ubuntu’s OpenSSH guide covers the setup:
- On the Ubuntu computer, install the server:
sudo apt install openssh-server - From the other computer, sign in with
ssh you@ubuntu-computer, using your own user name and the computer’s name or address. - To sign in with a key instead of a password, the guide makes one with
ssh-keygen -t ed25519and copies it over withssh-copy-id you@ubuntu-computer. That works from a Mac or Linux; Windows’ built-in OpenSSH hasssh-keygenbut nossh-copy-id, by Microsoft’s list of its commands.
Ubuntu 26.04 moves from OpenSSH 9.6 to 10.2. Its release notes say the weak DSA signature algorithm is gone, and that sshd.service now also works as a name for ssh.service in systemctl commands.
SSH has to be reachable from where you are. At home it usually is: Ubuntu’s firewall guide says ufw starts out disabled, and if you’ve turned it on, sudo ufw allow 22 lets SSH through. From another network it usually takes a VPN or a forwarded port, as remote desktop without port forwarding explains.
Your desktop: Ubuntu’s built-in Remote Desktop
Ubuntu 24.04 and later share the desktop over RDP, from Settings › System › Remote Desktop. Ubuntu’s guide describes two modes:
- Desktop Sharing shows the session you’re signed in to. You must be signed in, with the screen unlocked: GNOME Remote Desktop’s README says locking it closes the connection. You can let the other computer take control.
- Remote Login signs you in from the other computer while nobody is signed in at this one: its own password first, then your Ubuntu account at the sign-in screen. If you are signed in, the remote user can end your session and take over.
The user name and password for both are set on that page, apart from your Ubuntu password. Connect with an RDP app that GNOME lists as known to work, such as Windows’ built-in Remote Desktop Connection or Remmina. Between different networks, the guide says you might have to set up port forwarding on your router or reach the computer through a VPN. It warns that port forwarding opens your system to the world, and suggests the VPN when only a few people need to connect.
Ubuntu 26.04 remote desktop has every step, from Windows and from a Mac.
Helping someone else: remote support tools
When the computer belongs to a friend, a relative or a customer, you need a tool made for remote support: the other person runs it and lets you in. Ubuntu’s default desktop runs on Wayland, which some of these tools only partly support. From each vendor’s own pages:
- TeamViewer lists Ubuntu 24.04 and 26.04 as supported. Its Wayland page still calls Wayland support experimental: GNOME asks for confirmation, with very limited unattended access, and KDE Plasma allows unattended access after initial setup, up to version 6.7. The person helping can use its web app in a browser; the person being helped installs the TeamViewer app, as its remote access page explains. That page says it is free for personal, non-commercial use, such as helping family; on paid plans, its pricing page says only the person giving support needs a licence.
- RustDesk is open source and, by its README, works out of the box with RustDesk’s own servers, or with a server you run yourself. Its Wayland post says standard builds share a Wayland desktop in a signed-in session, and it has a web client for connecting from a browser.
- AnyDesk says on its supported systems page that on Wayland only outgoing sessions work, and incoming sessions need Xorg. So it can’t reach a default Ubuntu desktop, and Ubuntu 26.04’s own desktop no longer offers Xorg.
- Ubuntu’s own Desktop Sharing also works for helping someone on the same network: they turn it on and read you the user name and password from the settings page.
How these and other tools compare on Ubuntu, and where each fits for remote support, is in the best remote desktop for Ubuntu.
Your own computer from anywhere: Naytto
Naytto shows your Ubuntu computer’s own screen in any browser, through its private relay, so there’s no port to forward, no VPN and nothing to install on the device you connect from. It isn’t a support tool. Each computer joins your account only with your approval in a signed-in browser and Allow at the computer, and you can’t share a computer with anyone else.
- Supported: Ubuntu 24.04 with GNOME or KDE, or Ubuntu 26.04 with GNOME, on x86-64 or ARM64. Ubuntu 26.04 has been checked on a virtual computer, not yet on physical ones.
- Works: the desktop with pointer and keyboard, sound, files both ways, and a terminal in the browser once someone turns on Allow terminal on the computer.
- On Wayland: someone at the computer approves screen access, which lasts until Naytto closes, the desktop locks or they sign out. The clipboard isn’t shared, and lock and sign-in screens can’t be shown.
- Early access: bugs or interruptions may happen. Free covers 1 computer, for personal use.
Ubuntu remote desktop has the setup, which starts with one command.
When Naytto isn’t the right choice
- You help other people with their computers. Naytto reaches only computers on your own account.
- You only need a command line on your own network. SSH is free and already in Ubuntu’s archive.
- You need to sign in after a restart on Ubuntu 26.04. Remote Login can; Naytto can’t there.
- Your Linux isn’t Ubuntu 24.04 or 26.04. Naytto hasn’t been tested elsewhere.
Common questions
Is it safe to open Ubuntu to the internet for remote access?
Ubuntu’s guide warns that port forwarding opens your system to the world and calls it a security risk, and suggests a VPN instead. A relay, such as Naytto’s, avoids opening a port on your router at all.
Can I reach Ubuntu after it restarts?
SSH, yes, once the computer is on the network. For the desktop, GNOME’s Remote Login signs you in while you’re signed out. Naytto reaches the sign-in screen only on Ubuntu 24.04 with GNOME’s sign-in screen on Xorg; on 26.04 someone signs in at the computer first.
What about Linux remote access on other distributions?
SSH works the same way on most Linux systems. TeamViewer and AnyDesk list several distributions beyond Ubuntu on their pages. Naytto has been checked only on Ubuntu; Linux remote desktop in your browser says what that means.
Sources
Read on 23 November 2026: Ubuntu’s OpenSSH and firewall guides, remote desktop guide and 26.04 release notes; the GNOME Remote Desktop 50 README and GNOME’s help; Microsoft’s OpenSSH for Windows overview; TeamViewer’s supported systems, Wayland, remote access and pricing pages; RustDesk’s README, Wayland post and 1.5.0 post; AnyDesk’s supported systems. Naytto’s side is from Help. TeamViewer, RustDesk and AnyDesk are trademarks of their owners; Naytto isn’t affiliated with them.
Reach your computer from a browser
Naytto is free for 1 computer, with no card needed. Install it on the computer you want to reach, then connect from any browser.