this post was submitted on 26 Nov 2023
14 points (79.2% liked)

Selfhosted

40731 readers
383 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi guys

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

server: raspbery os

laptop/pc: zorin os

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 1 year ago (1 children)

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.

[–] badgrandpa 1 points 1 year ago (2 children)

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?

[–] semperverus 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

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)

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

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.

[–] Im_old 6 points 1 year ago (1 children)

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.

[–] [email protected] 4 points 1 year ago

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

[–] soundimus 3 points 1 year ago

I recently read that RealVNC has a deal with raspian for remote access to any raspberry PI. They have a lite version with 3pc's but I think as many pics as you own.

Process to enable it if you are using one of their os'

https://help.realvnc.com/hc/en-us/articles/360002249917-VNC-Connect-and-Raspberry-Pi#:~:text=RealVNC%20Server%20is%20included%20with,to%20control%20your%20Pi%20from.

[–] [email protected] 2 points 1 year ago

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

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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".

[–] badgrandpa 1 points 1 year ago
[–] besmtt 1 points 1 year ago (1 children)

I've found this page to be super helpful over the years:

https://c-nergy.be/blog/?cat=79

[–] badgrandpa 2 points 1 year ago
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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]

[–] LunchEnjoyer 1 points 1 year ago (1 children)
[–] badgrandpa 2 points 1 year ago (1 children)

I would like to get desktop access

[–] LunchEnjoyer 3 points 1 year ago

TigerVNC then.

[–] linearchaos 1 points 1 year ago

Parsec also runs very well.