Skip to main content
Topic: Xorg/Wayland Alternatives (Read 1433 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Xorg/Wayland Alternatives

I would like to get away from Xorg. It may be the biggest back door I have.
I'm not interested in Wayland at the moment, it has been problematic for me.

My goal is to reduce memory usage.
If Kolibri OS can fit an entire OS with a Window Manager into 1.44 MB of space, Linux should be able to have an ASM WM.

Openbox is OK, but it feels like I'm managing my router.

How can I improve the security of Xorg while using it? nftables rules? block ssh/and port 6000?

Re: Xorg/Wayland Alternatives

Reply #1
My experience with wayland compositors is that they consume about10 times as much memory as xorg. A very fast and complete and highly configurable desktop for xorg is Moksha, which has a very low memory footprint.
nftables or another firewall is indeed advisable.
Run xorg not as root, by starting it manually or using eg greetd and tuigreet.

artist

Re: Xorg/Wayland Alternatives

Reply #2
A very fast and complete and highly configurable desktop for xorg is Moksha, which has a very low memory footprint.
nftables or another firewall is indeed advisable.
Run xorg not as root, by starting it manually or using eg greetd and tuigreet.

artist

Well, I don't know if Xorg is running as root...I guess that should be my first inspection.
Avahi-daemon also opens a port. When misconfigured it's vulnerable.

I don't know how to protect Xorg server using nftable rules. A cursory search came up empty on 'nftables Xorg block rules'.
I don't know what ports Xorg is accessed through other than 6000.
Once I understand Xorg commuications then I need to learn building an nft rule/s to manage Xorg.

I was considering JWM because I wanted to reduce the footprint, but I would have had to go to the AUR to get it.
I liked Enlightenment, used it on Arch for a minute, but it had some issues with basic built ins, like networking.
It's how I discovered connman and CMST. I've had a better experience with these two.
Maybe Moksha will be an improvement over the Enlightement Desktop I tried.

I also don't like my dm to have remote access, so I want to get rid of LightDM, Slim doesn't have remote access.

The only issue is with using Moksha with Slim.
I don't know how to edit the xinitrc file, just a bunch of if statements and variables.

Re: Xorg/Wayland Alternatives

Reply #3
framebuffer is the only alternative to those 2. GTK supports fb apps, if you compile GTK for the framebuffer, Qt5 also supports it and Qt6 maybe supports it through egl. You need custom-compiled gui frameworks and I never bothered with it. FLTK also supports it. It is even possible to compile/build MSDOS FLTK apps.

Re: Xorg/Wayland Alternatives

Reply #4
You mean this:

https://github.com/deniskropp/DirectFB

Also, there is

Quartz - But it's for MacOS.

MIR - But then again, it's Wayland...

https://docs.dahliaos.io/pangolin/pangolin
https://docs.dahliaos.io/system/linux-based
dahliaOS Linux has extensive support for the x86_64 platform and leverages its power to create a stable, efficient system on every device.

Re: Xorg/Wayland Alternatives

Reply #5
Yeah, you can run everything directly from the command line console directly after boot-up.