From 18927c9e1c31083257813c67d35d5aadfe7afa44 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 24 Oct 2024 16:55:10 +0530 Subject: [PATCH] Notes on install Ref: https://timoanttila.com/blog/install-xfce-to-hetzner-cloud --- infra/docs/remote-desktop.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 infra/docs/remote-desktop.md diff --git a/infra/docs/remote-desktop.md b/infra/docs/remote-desktop.md new file mode 100644 index 0000000000..e4408f3d00 --- /dev/null +++ b/infra/docs/remote-desktop.md @@ -0,0 +1,32 @@ +## Setting up a remote desktop + +This is handy, e.g., when creating test environments with large disks, where we +still need a graphical session to run the desktop app. + +Create a vanilla non-graphical Ubuntu instance (these steps should work for +other distros too, the commands will change). + +Install + +- **Xfce4** - The desktop environment +- **xorg** - An X server +- **xrdp** - A remote desktop protocol (RDP) server. + +```sh +sudo apt install xfce4 xorg xrdp +``` + +Configure xrdp to use Xfce + +```sh +echo xfce4-session > ~/.xsession +``` + +Start the xrdp service, and also enable it so that it starts on boot + +```sh +sudo systemctl enable xrdp +sudo systemctl start xrdp +``` + +On macOS, install a RDP client, e.g. [Microsoft Remote Desktop](https://apps.apple.com/us/app/microsoft-remote-desktop/id1295203466).