9
submitted 11 months ago* (last edited 11 months ago) by Pantherina@feddit.de to c/linux@lemmy.ml

I use KDE. Some use GNOME. Most other options are probably to be left out as X11 is unsafe.

Cosmic is not nearly finished, but will probably be a bit safer, as its in rust, even though not tested.

Then there are window managers like Sway, Hyprland, waymonad, wayfire, etc.

RaspberryPi also has their own Wayland Desktop.

Is every Wayland Desktop / WM equally safe, what are other variables here like language, features, control over permissions, etc?

you are viewing a single comment's thread
view the rest of the comments
[-] Ramin_HAL9001@lemmy.ml 29 points 11 months ago

This is not a very good question. If you are concerned about security you need to think about what specifically you are trying to keep safe? Here are some examples of different security scenarios:

  1. Do you want your computer to be safe when it is stolen?
  2. Do you want to run lots of native apps from untrusted sources?
  3. Do you want it to be used by many people and you don't want them to be able to steal each others secrets?

Each one of those questions has different means of securing the computer. With question 1, it is not so much a matter of desktop environment, rather it has more to do with using full-disk encryption, setting a boot password in UEFI, and always having your lock screen enabled.

With question 2, this is a much more difficult task and you would probably be better off running apps in a VM, or carefully crafting your "Security Enhanced" Linux profile -- or not using Linux at all, but using FreeBSD which allows you to run apps in jails.

With question 3, be more careful with filesystem permissions and access control lists, setup your sudoers file properly, and use a desktop environment with better security auditing like Gnome or KDE Plasma.

[-] Pantherina@feddit.de 2 points 11 months ago

Never heard of these jails, like bubblejail? Its available on Linux too.

I know the question is vague and highly dependend on Threat model etc. Pre-enabled services, distribution adding stuff to it, SELinux confined user (not working with Plasma at all), xwayland support for keylogging chosen keys (Plasma).

Also GTK is widely used for rust apps, this doesnt exist on Plasma at all, not a problem though as Plasma is not Gnome and simply supports GTK normally.

[-] jman6495@lemmy.ml 3 points 11 months ago

I don't think the DE itself matters, but I can recommend using an immutable OS (makes it harder to install malware) and installing flatpak apps only. You can also use software like flatseal to further lock down permissions

[-] Pantherina@feddit.de 3 points 11 months ago

Already doing that :D kinoite-main from ublue

[-] jman6495@lemmy.ml 1 points 11 months ago

Very good choice :D

[-] lemmyvore@feddit.nl 0 points 11 months ago

I'm starting to think people misunderstand what an "immutable" distro really does...

[-] jman6495@lemmy.ml 2 points 11 months ago

Please do share with me what I do not understand.

A mostly read only filesystem built from a limited number of packages, with other files being in a fixed number of locations mean it is harder for malware to hide.

[-] lemmyvore@feddit.nl 0 points 11 months ago

You can achieve the exact same thing with a normal distro if you mount /var and /boot separately of /. And if you get a root exploit it's just as harmful on either approach.

"Immutable" systems are meant for maintainer comfort not for user security.

[-] jman6495@lemmy.ml 1 points 11 months ago

No, you can't : in an immutable distro I can reasonably trace almost any file in the filesystem back to the package that created it, and know with a reasonable degree of certainty that the installed version of said file has not been tampered with. That isn't possible an a normal distro.

[-] lemmyvore@feddit.nl 0 points 11 months ago

Sure it is, has been for decades. You can use a read-only root partition, there are many tools to ensure the integrity of everything on it, and tracing files back to their package is a very old feature.

this post was submitted on 24 Nov 2023
9 points (57.9% liked)

Linux

48036 readers
1080 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS