>>10455
>linux has 2 graphical application servers
You have Xorg and Wayland, with wayland trying to make Xorg obsolete by eliminating the graphical server-client model and performing the compositing on top of it.
X server uses less than 200mb of memory, and that's on a system that's already been running for a few days and running various tasks, I'm sure that wayland still uses more than that since it's not just doing what X does.
There are several GUI frameworks, like QT, GTK, and other lesser used ones. These provide the framework for building graphical layers on top of existing code in various languages while offering their own rudimentary language built into the framework.
There are many desktop environments for X, KDE, Gnome, Xfce, Cinnamon, Mate, Unity, LXDE, etc. That each offer a tailored desktop experience to appeal to different ideas of what the default desktop should provide to the user.
Many desktop environments are bloated with all the bells and whistles offered, so to the power users who absolutely must have their cpu time and memory on reserve for more important tasks but still require a graphical environment, there are lightweight window managers, like fluxbox, icewm, xmonad, ratpoison, i3, and more that still offer functionality like right clicking on the desktop to get a drop down menu, a configurable status bar, and multiple workspaces while maintaining a smaller resource footprint.
Then you have the absolute barebones window manager, dwm, which offers very limited functionality unless you decide to compile new functionality into it, which can have a memory footprint under 10mb even after adding patches to it for extended functionality, with the default status bar doing little more than telling you which tag is occupied by different applications, whether you are in tiling, monocle, or floating layout, and to even get the time and date displayed relies on a looping shell script setting the text on the root window.
Let's say you're even MORE adamant about squeezing every last bit of memory out of your system for no reason at all while still having a functioning graphical environment, you can just launch everything from xconsole after running startx from the tty.
"Still too much bloat", you whimper weakly, well call this BK because you can have it your way.
You don't need Xorg at all, all you need is the framebuffer driver, and a particular set of applications that will make use of it, like Links that can be compiled with framebuffer support, now you have a web browser that displays only on the framebuffer so you can still see the images on those porn sites, oh you don't want to learn keybindings for it? Make sure you compile it with gpm for mouse support.
You want to watch videos on the framebuffer? Well good news you degenerate, you can compile mplayer with framebuffer support to watch all the cakefart porn you want from the comfort of tty1. You still need a standalone image viewer for all the furry smut you downloaded? Well you can go right ahead and install fbi, yes it's actually called fbi, the framebuffer image viewer. Does exactly what it says.
Multi-tasking? Gee you want everything don't you, well you can almost have it with just using tmux, but see applications are not that good at sharing the framebuffer directly, so more often than not you will have to switch between a different tty to multitask with any applications using the framebuffer, especially since a few of them cannot launch from tmux as they detect that you're not in a real console, but hey that's the sacrifice you're going to make to avoid the bloat of graphical servers.