Skip to content

Instantly share code, notes, and snippets.

@FenixC4
FenixC4 / x2go.md
Created April 11, 2025 19:35
AI generated X2Go installation and config process

Okay, let's get X2Go set up! It's a great choice for performance, especially with a lightweight window manager like DWM on X11 over a LAN.

We'll break this down into two parts:

  1. Server Setup (Your Ubuntu Laptop)
  2. Client Setup (Your Windows PC)

Part 1: Server Setup (Ubuntu 24.04 Laptop with DWM)

@FenixC4
FenixC4 / xrdp_setup.md
Created May 7, 2024 18:55
The most basic xrdp setup for remote connection

Not a lot to say here. Just the packages you need to have a very basic remote access to system / container with xrdp (aka the superior remote protocol)

xrdp
xorgxrdp
fuse
xinit
fluxbox
fbautostart
x11-xserver-utils
alacritty
@FenixC4
FenixC4 / notes.md
Last active July 31, 2023 11:17
Proxmox device passthrough

Recently I have been on a journey to use block devices like a HDD partition in unprivilaged containers safely. After many different methods and struggels i have come to a, in my opinion balanced resolution.

  1. Block devices Here my solution is to create a mount directory and changing it's ownership to 100000:100000. Those settings translated to lxc container permissions make it be owned by root:root, because every uid and gid in container in Proxmox by default is created by adding 100000 to it's original uid and gid more here. Mounting of course can be achieved by manually mounting for example /dev/sdc2 in /mnt/storage which has correctly set ownership or adding a new rule in /etc/fstab. After all that a mount point can be added to container's configuration file
--mp[n] [volume=] ,mp= [,acl=<1|0>] [,backup=<1|0>] [,mountoptions=] [,quota=<1|0>] [,replicate=<1