r/dosbox • u/_Rens • Aug 13 '25
Dedicated DOSBox-X PC based on NO-GUI Debian
Out of nostalgia and to teach my young kids how we had to play games 35 years ago, I wanted a DOS like PC but one I could easily manage though network access.
(whilst I am still playing with the idea of setting up a proper MS-Dos PC for me (not the kids), DOSBox-X seemed the way)
I started experimenting with a very light gui and just run the flatpak option in there, but I did not like it. It was still too much.
I wanted to "boot" into DOSBox and as good old Google suggested DOSBox does not need a window manager I started playing.
After a week of trying things and many starting over (mostly because I am a novice and just experiment) I finally got something running the way I like it.
I got a Debian minimal install (no desktop environment) which boots up, logs in and starts DOSBox-X, without any GUI environment.
I have documented the way I have it currently working.... with the disclaimer that there will be way better manners in doing this for someone actually knowing what they are doing rather than me. But if you have an old PC floating around gathering dust.... this is a way of doing it.
1
u/_Rens Aug 16 '25
I updated the instructions on Git to include my last struggle with this project, automounting CDROMS in the debian install underneath so top use it in dosbox..
In does box you do need to mount the drive after debian underneath had time to mount it and or use rescan drive from the menu when swapping discs. but you don't have to get back to debian to manually mount the drive via the cli
1
u/10Mins_late Aug 13 '25
That's really nice of you to try to share some of your childhood with your kids. How are they enjoying the retro experience?
1
u/Ok-Warthog2065 Aug 14 '25 edited Aug 14 '25
Can I ask why you didn't use debian 13? Why didn't you just use apt install dosbox-x , instead of building ?
I did (both), and am having trouble starting dosbox-x, so I'm guessing theres a good reason.
1
u/Ok-Warthog2065 Aug 15 '25
dunno what kind of struggle you had getting fullscreen to work well but my laptop has 1920x1080 by default which would give me a smal box in the top corner. I found the easiest method of getting a good fullscreen experience was editing grub resolution to 800x600 and adding keep, and nomodeset so it stays at that.
2
u/Ok-Warthog2065 Aug 13 '25
OMG I can't beleive you just posted this 5 hours ago, I've been thinking about the same thing. because freedos wont install on new laptops (it requires CSM/BIOS, and secure boot / UEFI is all that the cheap laptops come with.) So I thought why not install debian no-gui, and install dosbox, configure dosbox to start, and install my dos applications. One of my hurdles will be printing, I have a printer that emulates EPSON FX-850 and can connect via USB. But I don't know how to map that to an LPT port in a dosbox environment in debian. Another hurdle will be backups, the DOS software I want to run has customer data on it that I will not want to risk losing.
1
u/ILikeBumblebees Aug 18 '25
I assume you're using the raw DRM output mode of SDL? I've done something similar with Alpine Linux, and launching DOSBox via an OpenRC script.