Could I suggest a new type of flavor for the userspace?

desktop development en

tcll · 2026-11-27 12:41 UTC

Basically what I'm aiming for is the WinXP experience (but better obviously) without all the BS like GTK (glib2 absolutely sucks), dbus, or even udev.
(GTK3 is an absolute nightmare, as someone who has experience building truly isolated appimages)

Currently I'm running Artix and plan to jump to SliTaz once I can remove udev and my init system (openrc), but what I have is close to what I'm asking for (all it needs is a login manager).

Linux itself is running from basically nothing (/usr is basically empty aside from the kernel modules and firmware)
Once it boots.
Currently I'm running IceWM with Tint2 as "appimages" (I don't have fuse, so they're extracted, but apply extreme isolation only for everything they require), but these require glib2, and I'd like something better that's a floating WM but as minimal as possible.

Previously I used SliTaz5 justx, but it came with all the gtk garbage and such I was hoping would be avoided, so I've been trying to work to create what I have currently with it.

One last thing I don't have, since I'm already not running dbus on Artix is libinput associated with my xorg appimage, though there's still something I have that's making xorg constantly cry about not having dbus:
```
[  4770.691] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[  4780.704] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
[  4790.704] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)
```
This has made xorg surprisingly stable, no random blackscreens or crashes, plus I'm also not running it as root (this IS a security issue, make sure the init/WM isn't doing this), which a TON of distros still have a problem with to date.
Xorg can be secure if used right, but everyone wants to use it wrong, and then blame their problems on xorg for some reason... :P
(I'm still using libevdev currently, though plan to get rid of that as well when I can figure out how to use my mouse and mount my NICs without udevd, which mdev might be a decent alternative for)

But yeah a flavor that's truly JUST X without any BS (no gnome libs, no dbus, no udev, not even an init) is something I'd happily use. :)
In the old forum, I gave a way to start xorg properly for individual TTYs while still being absolutely minimal:
https://forum.slitaz.org/viewtopic.php?id=20016
(When I say minimal, I don't mean CLI with a TWM, I mean full WinXP-like GUI with a FWM)

If it's not too much work, it'd be cool to see something like this out of that. :)

Pending:
- The mouse is apparently initialized via enabling some kernel modules and using device nodes.
- The NICs may have their initial adapters "eth0"/"enp#s0" created via NETLINK
I still need to play with things yet, it's shameful that so little is documented about this, as this is a much more freedom-focused use of Linux.
(I get nobody uses Linux like this, but in all seriousness, we should have this information as THIS freedom is exactly what Linux is about)

pankso moderator · 2026-11-30 20:03 UTC

Hey,

So, where are with this project ? A tip, on slitaz we use eudev not udev and no systemd, only SysV script. Actually you can boot the full system through a single script: /etc/init.d/rcS and use Busybox mdev in place of eudev. Guess the SliTaz scratchbook can help about setting a minimal OS.

Hugs

tcll · 2026-12-02 01:58 UTC

Yeah, my goal is to figure out how to go lower than just busybox, in fact what I really want to do is have initrd apply the kernel configs (I was thinking to start out using a run-once root python script (no networking) just to get access to NETLINK and syscalls for doing basic stuff like setting the system hostname), and then exit to boot xorg as user (no init at all), would like to go as far as not even mounting sysfs, procfs, or devfs.

Apparently NETLINK can be used to gather process information instead of using /proc/<PID> (asked Gemma how I could build a system monitor without procfs, and it recommended this, which seems promising, though feel free to give another check given how AI inherently hallucinates): XD
https://www.kernel.org/doc/html/v5.7/accounting/taskstats.html
I wish LLMs were intelligent, then actual progress could be made instead of just basic introspection behind the yes-man nature to everything...

Anyways, something I didn't think about until now is HAL, which is something that for some insane reason has been deprecated for modern slop (I think udev and dbus replaces HAL)
I really hope you still have HAL in your kernel or my idea to go vmlinuz-only will be heavily crippled in many ways.

And since one of those ways brings up security, (separate tangent) I wish namespaces were an actual topic brought up in the Linux space instead of all this containerization that fails at containing anything.
We had HIPS back on WinXP with Comodo back in 2008 that did a better job at containing processes and warning you about allowing a potentially harmful action to execute, instead of blindly not knowing what's going on behind the scenes like Linux does.
(I've been complaining about this since 2013, which today I still have yet to see anything remotely close to what existed on WinXP in 2008 (Comodo sucks now since 2011), and I'm tempted to just build a cross-kernel external module myself to see it finally happen)
But yeah, I believe namespaces are the only real form of containerization, since I was surprised to learn not even KVM is good, which I'd planned on using for my router.

For some reasons behind these decisions:
- no udevd: root daemons are an exploit waiting to be used.
- no init: all init systems have questionable ethics, or are just messy, leading to potential holes, plus most of what they do is misguided, like services that should really be reconsidered (OpenRC has a lot of these, at least in Artix).
- no GTK/glib2: Gnome is a cancer that's been restricting freedom and making everything as painful as possible.
- no libc: I know this wasn't mentioned earlier, but libc has been a core component of so many problems I've dealt with, and if I can segregate libc versions to specific apps, that'll give me so much more freedom of control (running multiple versions of any app without issues), since running ld.so as the AppRun for an AppImage (can't exactly be done like this since you need to ensure PATH and LD_LIBRARY_PATH are blank) is basically the perfect solution to most of the problems appimages suffer from.

One app I can mention being problematic is gparted, where getting an old version running on a default install is nearly impossible due to heavy integrations thanks to Gnome BS.
But after removing all the Gnome garbage, I've managed to build an appimage for gparted from Xubuntu 16.04 (there may still be GNU clashes I still need to solve yet since libc has it's own BS as well which will use `/usr` over `./usr`) which doesn't lie to you when selecting MSDOS.
Yeah I'm not sure when exactly this happened, but in some version, things shifted to creating a GPT partition table when you selected MSDOS, which royally screwed me in many ways, from the drive having random corruptions (GPT sucks), to the drive not working when swapped to older machines.
MSDOS/MBR was superior as it didn't corrupt itself.
But recently I've started using no partitioning at all, which is basically the benefits of MBR without the size limitations.
Also regarding how bad GPT partitioning is, don't even get me started on how EFI variables is another layer of security issues as well as ownership restrictions when paired with UEFI-BIOS settings (just more Microsoft diseases in computing).

Once again, it all leads back to minimalism with going partitionless, which I'm looking into having pseudo-partitions on an EXT4 volume with EXT4 images, which GRUB can actually boot. XD

Sorry this post turned into more of a rant than I expected. :)

Log in to reply Sign up