Debian GNU/Linux

x11vnc
(2022,2024)
It allows to get the current screen display or a create one.
Server
Install x11vnc
(with root access):
apt install x11vnc xvfb openbox
To server the current display:
x11vnc -localhost -rfbport 5959 -display :0
If you want to create a new display (I run this command in a screen
):
export DISPLAY=:59
Xvfb $DISPLAY -screen 0 1920x1080x24 &
sleep 2
openbox &
x11vnc -localhost -forever -rfbport 5959 -display $DISPLAY
Client
Install xtightvncviewer
(with root access):
apt install xtightvncviewer
Create a ssh
tunnel (replace SERVER_HOST
by the server host):
ssh -L 5959:localhost:5959 SERVER_HOST
And run the client (in your computer, not in the ssh
server session):
xtightvncviewer -quality 3 -encodings 'copyrect tight hextile' localhost::5959

RustDesk
(2024)
No tried yet.

x2go
(2022)
It is a similar software I tried.
Server
Install x2goserver-xsession
and x2goserver-desktopsharing
(with root access):
apt install x2goserver-xsession x2goserver-desktopsharing
Client
Install x2goclient
(with root access):
apt install x2goclient