Old laptop as lapdock
Running a modern IDE on a Pentium III laptop using a smartphone.
Background
I bought a nearly two decade old laptop, originally to have a cheap interface with a raspberry pi.
A brief summary of the specs:
- Model: Dell latitude C600
- Processor: single core Pentium III 750.0 MHz.
- Memory: 128.0 MB PC133.
- Display: 14.1 in TFT (1024 x 768).
- IO: A lot, even IR and a single USB 1.0 port.
- It makes nostalgic sounds.
Installing Linux on the laptop
This was a bit more of a hassle than I expected.
No matter what distro I tried it kept erroring out at some point.
I suspected the cd-rom drive might be faulty, but but even with Plop the laptop would not boot from a USB stick. Network booting was the solution so a house mate left it overnight in a closet with a raspberry pi that served the image.
In the morning I was greeted with Ubuntu!
Installing Linux on the smartphone
There are many ways to install a chroot environment with linux on android, I was already running Kali NetHunter in Termux.
Installing NetHunter in Termux only takes a few commands and a lot of time depending on your phone and network connection.
Finishing up
My first idea was using VNC but because of the USB 1.0 port this did not work well. Luckily x forwarding works with minimal lag. Connect the devices with a USB cable and enable USB tethering on the phone. Run these commands on the phone:
Edit the following settings:
Port 8023
X11Forwarding yes
Run these commands on the laptop:
And with that we can now use xfce4 on the laptop!
I promised a modern IDE, fortunately java works great on arm so PyCharm and InteliJ work fine!
Even though it’s functional and I could definitely have learned C or Python on it, I wouldn’t recommend this project for anything serious.
You could lose data when the USB disconnects and Samsung even broke USB tethering for a few months after I finished this project.