Monday, February 2, 2026

Speed-up XRDP on Debian

Edit /etc/xrdp/xrdp.ini

Locate tcp_send_buffer_bytes and change to:

tcp_send_buffer_bytes=4194304


sudo sysctl -w net.core.wmem_max=8388608

Create /etc/sysctl.d/xrdp.conf file and add the following:

net.core.wmem_max = 8388608


Wednesday, January 28, 2026

Upgrade to Windows 11 on unsupported hardware

  1. Download Windows 11 ISO
  2. Disable networking
  3. Mount the ISO
  4. Open a Command Prompt and run:
    • X:\sources\setupprep.exe /product server


Wednesday, January 14, 2026

Check for SMART status on Debian

 Install smartmontools and use smartctl:

sudo smartctl --all /dev/xxx


Sunday, September 7, 2025

Adding a Samba user and setting the password

I almost always forget to add users to Samba group after enabling Samba. So here it is:

sudo smbpasswd -a <username>


Change service shutdown timeout in Debian

Make a change so that slow-non/responding services to terminate quickly during shutdown:

sudo nano /etc/systemd/system.conf

Uncomment and edit to:

DefaultTimeoutStopSec=5s

Reboot or reload with:

sudo systemctl daemon-reload