remote access in linux

badgrandpa@lemmy.world to Selfhosted@lemmy.world – 14 points –

Hi guys

How can I access desktop of my home server from my laptop/pc?

server: raspbery os

laptop/pc: zorin os

19

Just for completeness sake, the usual way of accessing a server is over SSH, using the console. That would be openssh-server on the pi and openssh-client on the laptop.

Also, I don't know if it's available on ARM, but Sunshine and Moonlight run so much faster than VNC. It's meant for gaming but works perfectly fine for remote desktop access. Sunshine is the server and Moonlight is the client.

I just need top connect remotely to desktop from time to time (lazy to go to the next room). What about Remmina - never used it?

remminia is a client (I believe for rdp and vnc), but to host you'd need some type of server.

The best and fanciest today is sunshine but it requires some kind of gpu for encoding - so probably out of the question for an RPI

The next are all pretty similar, (I myself have most experience with vnc so I can attest to it): xrdp/rdp, vnc, and nx

Half of them try and create their own virtual desktop to stream, but so you probably want to stream a real desktop - x11vnc does a great job at this (and if anything has too many options)

SSH is the correct way. After 15 years of using linux, ive never heard of remmina

If your looking for a remote access to a desktop/GUI Rustdesk.com Is a quick and easy option. Mesh Central is also a good but a little more involved as you need to setup a central server.

There are a few others options if you have a VPN access. Like XRDP servers that lets you use RDP clients, or you can use VNC as well.

I second RustDesk, I've started using it a lot lately and it works quite well even across the internet and NAT. Works best if you have your own server that you can use as a relay rather than direct connection or using RustDesk's own limited public servers, but even without it, it gets the job done.

I assume you have configured raspberry to start the desktop environment when at boot. Also, that this is on the internal lan only. You can run raspiconfig and enable vnc. Then from your laptop run a vnc client and connect to the server.

This is how I do it πŸ‘Œ no need to install another when the pi already comes with one OOTB.

If OP is looking for VNC clients for zorin OS, there's an app called "Connections" in the store which works great

Install x2go on the laptop/PC. You need X and SSH on the server. That's it, when you connect it will open a new desktop session on the server.

If you want to connect to an existing desktop session you need x2godesktopsharing installed on the server, you need to activate sharing in x2godesktopsharing, and in x2go client (on laptop/PC) you need to select "session type" as "X2Go/X11 desktop sharing".

If the desktop is gnome, you can enable RDP in the settings.

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
NAT Network Address Translation
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer
SSH Secure Shell for remote terminal access
VNC Virtual Network Computing for remote desktop access
VPN Virtual Private Network

5 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #304 for this sub, first seen 27th Nov 2023, 00:35] [FAQ] [Full list] [Contact] [Source code]