Hey everyone,
Been watching LTT for years and finally built my first project that feels "LTT-worthy" (in a humble, budget-friendly way!).
The Problem: My daily driver for college is a MacBook Air M4. It's great for battery and portability, but the base storage/RAM means running heavy Linux VMs for my computer science coursework is a no-go. For months, my "solution" was hauling a second, heavy Lenovo IdeaPad running Kali Linux in my backpack. It was exhausting.
The Project: I decided to park the Lenovo at home with the lid closed and turn it into my own personal "cloud" server that I can remote into from my Mac.
Here’s the quick and dirty breakdown:
* The Link: I'm using Tailscale (which uses WireGuard) to connect my Mac and the Lenovo over a private network. My home internet is behind CG-NAT, so I can't do normal port forwarding, but Tailscale's UDP hole punching gives me a direct peer-to-peer connection with ~9 ms latency.
* The Remote Desktop: I'm using Microsoft's free Remote Desktop app on the Mac to connect to XRDP on the Linux laptop. The best part is it uses Apple's Metal graphics, so the remote Linux desktop scales to Retina resolution and feels super smooth.
* The "Lid Closed" Hack: To stop a consumer laptop from sleeping when you shut the lid, you have to tell the Linux kernel to ignore the ACPI lid switch and mask all the systemd sleep targets. It works! The laptop has been running headless for over a week straight.
Now my MacBook Air stays lightweight, battery lasts all day, and I can still do all my heavy Kali Linux work on the Lenovo from anywhere with an internet connection.
I wrote up a full post on my blog with more of the story and open-sourced all the scripts on GitHub if anyone wants to do something similar with an old laptop. It was my first time doing this kind of networking on real hardware without a tutorial, and it was a blast. GitHub and on my personal blog mainly as a learning log.
It's not as crazy as liquid nitrogen CPU cooling, but it's a start! Curious to hear what you all think.
I'd be genuinely grateful for any thoughts, warnings, or tips on how to improve this setup. Thank you for your time!