A from-scratch X11 server
Roland Hughes via Foxgui-users <[email protected]> Mon, 4 May 2026 07:16:39 -0500
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
Since we have been talking about X11, Wayland, and such, there is someone on XLibre mailing list going by CS Sushi Man that is developing a new X11 server from scratch. He's a real Software Engineer (no Agile). Actually designing up front. ======= In regards to my new X11 server: I have decided what the structure of my project will ultimately look like. The rendering engines, such as the GL rendering engine, will be abstracted to external libraries. The X server will use a "wrangler," which will grab the function handles via `<dlfcn.h>`. These libraries will act as the "driver," and the wrangler will be the layer between the driver, and the internal server function calls. The GL backend's rectangle rasterizer is finished, although it isn't fully tested yet. The largest decision to make is in regards to input. I will probably create a layer here as well, since input on Linux isn't very straightforward. Libinput can be used for Linux distributions that use `systemd`. However, for other systems without `systemd`, and for systems that are not Linux, a new external daemon program that is run with setuid, or with a ton of permissions, may have to be created. On Linux and BSD, this daemon will use libevdev. In regards to security, this daemon may become a weak link in a given system if it isn't programmed properly. If anyone has any advice that I should know, please reply to this email with your advice. If you think making this daemon is a bad idea, please let me know. Good advice is always appreciated. ======= Here's hoping he does the full X11 protocol. There is a lot of really old code, in the X11 project. Oh yeah, something that was on the mailing list in the past week or so; the test programs had K&R C prototypes which no longer compile on Mac/Apple. That's another reason X.org will no longer help/support the Apple X thing. -- Roland Hughes, President Logikal Solutions (630)-205-1593 (cell) https://theminimumyouneedtoknow.com https://infiniteexposure.net https://johnsmith-book.com