linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

lemmyreader, (edited ) in When do I actually need a firewall?

Firewall for incoming traffic :

  • If you a home user with your computer or laptop inside a LAN you would not really need a firewall, unless you start to use applications which expose its ports to 0.0.0.0 rather than 127.0.0.1 (I believe Redis server software did this a few years ago) and do not trust other users or devices (smart home devices, phones, tablets, modems, switches and so on) inside your LAN.
  • If you are running a server with just a few services, for example ssh, smtp, https, some hosting company people I knew argue that no firewall is needed. I am not sure, my knowledge is lacking.

Application firewalls, watching also outgoing traffic :

If you compare Linux with some other Operating System you will see that on Linux for years an application firewall was non existing. But there is a choice now : opensnitch This can be useful if you run desktop applications that you do not fully trust, or want more control.

scharf_2x40, in What are some must have Linux compatible VSTs?

The u-he synths are nice.

sudneo, in How do I create a docker container with custom programs inside?

Each container, by default, runs in a separate network namespace. You can use docker CLI to create specific networks that can be shared with other containers, or use docker-compose for it. Technically, for processes outside containers you can still use the same network of that container by running the inside the network namespace of the ‘VPN’ container (for example running them with unshare). However, I wouldn’t recommend this, as containers are supposed to run mostly isolated workload and not for this kind of use-case. But yeah, technically it’s feasible.

tsonfeir, in Zorin OS 17 Has Arrived
@tsonfeir@lemm.ee avatar

We need fewer distros and more focus on things that matter.

aodhsishaj,

I think a unified package manager/app store model that is vetted by all contributing distros would go a long way. SteamOS/Steam deck is bringing gamers to linux and that’s great. But it would be easier to bring on a lot more desktop users if there was an app store that every distro could visit. Flatpak is close, snaps however I think are too polarizing.

HubertManne,
@HubertManne@kbin.social avatar
aodhsishaj,

You’re 100% right that this is a danger of attempting to consolidate

HubertManne,
@HubertManne@kbin.social avatar

despite my xkdc smartassedness I would love to see something that made an easy to do thing like this for linux https://portableapps.com/ there are some close things but not quite so easy.

juli, (edited )

I use fedora silverblue. I’d like to switch to suse microos but the difference is so small that it’s probably not worth it to switch. (Just a guesstimate, silverblue has some goodies afterall with the whole image centric os)

Probably, it’s almost the same for vanillaos. Because everything is within distrobox and flatpak, I do not work with the native package manager anymore (almost, there are exceptions because of the DE).

If I would switch to microos, I, as an enduser, wouldn’t notice too much a real difference.

People should stop making new distros for what should be a post install script. But, things are fucking complicated and that’s why we need the forks and new distros.

DangerousInternet,
@DangerousInternet@lemmy.world avatar

deleted_by_author

  • Loading...
  • juli,

    Thx for the elaboration. That’s what I roughly meant with “image centric os”.

    Opensuse aeon encourages you to use flatpak. The first thing it does right after installation is to install apps from flathub, including firefox (unlike silverblue).

    An example from the doc

    For this reason, All Applications, Browsers, Codecs needed for specific apps, etc are provided by FlatPaks from FlatHub.

    Especially the following

    To reiterate: EVERYTHING should be done via Flatpaks or be installed in a Distrobox if a package is not available as a flatpak. Using transactional-update is strictly what you need for your host operating system to work (exotic drivers, specialized vpn services).

    Usually, you do not rollback, you do not go back to an older system. On both systems, you use distrobox and flatpak. I don’t see much of a difference as an end user.

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • juli,

    Fedora has images which you can create yourself as an enduser which means a corporation with thousands of computers can create their own image. They don’t have to create a new distro. That’s not possible with suse but I don’t know if that’s so important since I do not administer such things. I as an enduser do not care about the underlying system, I don’t tinker with it, I rarely touch it. That’s the case for both distros. I may install a vpn or so.

    If you want to tinker with your system, neither fedora nor suse are good for that, using arch is the way to go.

    Why is fedora better for advanced users?

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • juli,

    And why?

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • juli,

    I just asked because you stated that it’s better for advanced users and I wondered why because I don’t see it yet

    PixxlMan, (edited )

    Damn, those silly volunteers are doing the wrong things in their free time!

    ExLisper,

    You’re right. I will start a new distro that focuses on the the things that matter.

    Cwilliams,

    Man, I laughed so hard at this one

    lemmyreader, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)

    Both Snap and Flatpak provide an easy install for the really old, pre 1997, NCSA Mosaic browser. The Snap page gives a hint about how this was done :

    Built from source code hosted at: github.com/alandipert/ncsa-mosaic Thanks to John Lenton for the snapcraft config.

    This suggests that if you can build the ROS 1 from source, you have Flatpak and Snap as option, and maybe also AppImage.

    Besides that there is also Linux KVM (QEMU) which may perform better than VirtualBox. Cannot find a good page for Ubuntu on it, but here’s the KVM entry of the excellent Arch Linux wiki wiki.archlinux.org/title/KVM

    Yerbouti, in My First Month of Linux

    8 months here. The simple idea of having to use windows again makes me throw up a little bit in my mouth.

    KarnaSubarna, (edited ) in I feel like I'm missing out by not distro-hopping
    @KarnaSubarna@lemmy.ml avatar

    If your use cases (a.k.a. requirements) are met by your current distro, never switch.

    If you are satisfied with stability, availability of support, quick availability of security patches, never switch.

    This is particularly important when you are using your Linux desktop as your daily driver.

    Most you can do is to check what additional features other distros are offering (rolling release, hardened/zen kernel, x86-64-v2/3 support, file system type, user base, availability of packages, package formats, overall documentation etc.), validate if you really need those features.

    If you are interested or just curious to test those features, install that distro on a VM (QEMU/KVM) to try it out first safely. Use it on VM for a while, make yourself comfortable with it. Once you are satisfied with it, only then switch.

    LKC, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)

    May not qualify as “simple” versus a VM, but you can try using chroot environment. You essentially run minimal Ubuntu environment from a folder that can be a newer or old version of the host OS.

    Here is one guide to get up and running.

    This guide is easier to follow IMO.

    skullgiver, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)
    @skullgiver@popplesburger.hilciferous.nl avatar

    You can always try.

    However, be aware that adding third party repositories may cause problems in the future. For example, if you upgrade to a version of Mint that’s based on 22.04 or 24.04, the updater may throw errors or even do an incomplete update because of broken dependency chains.

    If the software you’re using doesn’t depend on (a specific version of) software in the Mint repositories, you should be fine and it shouldn’t matter. I myself have a few external repositories that I know from experience cause no dependency issues. I’ve also had to debug plenty of broken upgrades because of other (popular!) repositories, though.

    You may want to use a tool like Distrobox instead. Binaries running inside Distrobox have close to zero overhead. GPU acceleration can be a bit trickier, but for Nvidia GPUs there are workarounds to maintain full performance.

    You can also try the version of ROS that Ubuntu packages. It’s not the latest version, but it’s guaranteed to work without breaking your software updates or operating system upgrades in the long term.

    Cowbee, in I feel like I'm missing out by not distro-hopping

    The goal is for it to work. If it works, you’re doing it right. For some people, Mint isn’t enough. For many, it absolutely is.

    MiddledAgedGuy, in I feel like I'm missing out by not distro-hopping

    You are. Reformat and install the first hardware compatible distro you find on distro.moe right now. Don’t think too much about it, just do it! /s, probably?

    If checking out a different distro sounds interesting and/or fun then you should. If not, then don’t. Whatever way you Linux is the correct way for you.

    piexil, (edited ) in Can I install Ubuntu 18 software on Ubuntu 22.04? (Technically Linux Mint 21.3)

    Ubuntu themselves package ROS, it’s a little out of date from the latest (1.16 vs 1.18) packages.ubuntu.com/jammy/ros-desktop

    Try apt update && apt install ros-desktop

    Tippon, in Home Theater Laptop

    Any distro should do it, you just need to set your media centre software to run at startup. I’ve done it with Plex and Kodi, and I think Jellyfin does it too :)

    blackdeth, in Firefox 121 Now Available With Wayland Enabled By Default

    I am new to Linux. What’s the differences between Xorg and Wayland?

    boerbiet,

    I’m not an expert on the matter so have a Wikipedia link.

    Vincent,

    I wouldn't worry about it too much; there's not really anything you need to do as a user anyway.

    lurch, (edited )

    For a user: In Wayland programs are supposed to draw their own title bar. Java aplications and old applications must use a backwards compatibility layer that can cause flicker and bad font rendering. The terminology is different (compositor = window manager). Some niche new programs may only run on Wayland. Wayland hasn’t been adopted by BSD (AFAIK).

    For a programners: Wayland has more modern, tidy code, but not all toolkits support it natively and few are easy. If you code exclusively for Wayland, a lot of users won’t use your program at the moment.

    BautAufWasEuchAufbaut,
    @BautAufWasEuchAufbaut@lemmy.blahaj.zone avatar

    In Wayland programs are supposed to draw their own title bar

    That’s incorrect. GNOME does it like this, Plasma doesn’t. KDE came up with a standard so a program can communicate this to the DE, GNOME slept on it. That’s why e.g. mpv doesn’t run well on GNOME.

    Rustmilian, (edited )
    @Rustmilian@lemmy.world avatar

    Java aplications and old applications must use a backwards compatibility layer that can cause flicker and bad font rendering.

    There have been efforts to provide better support for Java applications on the Wayland. For instance, the OpenJDK project has been making progress on implementing native “pure” Wayland toolkit integration not dependent upon XOrg/X11 or XWayland.

    but not all toolkits support it natively and few are easy.

    There have been significant developments in providing native support for Wayland in various toolkits. For example : Clutter, GLFW 3, SDL, GTK 3.20+, QT5+, EFL, Slint, Iced & OpenJDK. Just to name a few.
    While it is true that not all toolkits have full native support, ongoing work is/has largely shifted towards much better Wayland support.

    deathmetal27, (edited )

    OpenJDK has Project Wakefield going on to address Wayland support for Java applications.

    wiki.openjdk.org/…/OpenJDK+Project+Wakefield+-+Wa…

    mauwuro,
    @mauwuro@lemmy.ml avatar

    I’m not an erudite so feel free to correct me c:

    Wayland is a new implementation on how your system draws windows and components in your computer (I’m not sure if it’s responsible for the content) and it tries a different way to do it compared with xorg.

    Xorg is the old implementation, and it has been patched to support most of the new features, and Wayland is trying to get the same features xorg has and some extras.

    As a Linux user I have noted that sharing screen is more private in Wayland, also I think multi monitor refresh rate was a problem in xorg. One common issue with Wayland is the GPU compatibility, as far as I know Wayland runs better in AMD GPU I think is because of Mesa integration.

    blackdeth,

    Thanks for all the responses. All of them have been so helpful. What I’m getting is that at this moment Wayland can be seen as a successor to Xorg?

    baseless_discourse,

    Yes, exactly, I think it is pretty clear that the linux community is moving towards wayland. Most distro and desktop environment are all in the process of removing xorg slowly.

    azvasKvklenko,

    Desktop Linux is in its never-ending process of replacing old displaying system with new one. The process is long and not really transparent, because the two displaying systems were designed in completely different times for different hardware and with different security concerns in mind, therefore the X11 clients (all the software that was ever made or ported to Linux) are very much incompatible with Wayland. For backwards compatibility there’s Xwayland, which provides full blown Xorg server running on top of Wayland compositor with all the things X11 app requires. Until now, Firefox, even though had its Wayland backend as WIP feature (possible to activate with environment variable MOZ_ENABLE_WAYLAND=1) it defaulted to Xwayland on Wayland sessions. It now uses native Wayland backend by default providing better efficiency, DPI scaling, touchpad gestures etc

    skullgiver,
    @skullgiver@popplesburger.hilciferous.nl avatar

    Xorg and Wayland are graphics systems. You may have seen a command line during boot with tons of text scrolling past, that’s all you get without either Xorg or some alternative running.

    Xorg runs on X11, which was designed a long time ago during the mainframe era of computers. It used to be the standard for all GUIs on Linux, BSD, and other Unixlikes for ages.

    However, modern computers are nothing like the computers X11 was originally based on, and X11 started showing shortcomings. So, years ago people working on Linux decided it was time to design a new system, one that’s designed around our modern computers and operating systems. That new system is Wayland, through Ubuntu sported their own Mir for a while too.

    Wayland was designed not to be a network protocol (though you can still run applications on remote computers if you wish). It also has a bunch of security benefits, like “not every application can read your key strokes, copy your password, or record your screen without you noticing”.

    This new system doesn’t have the benefit of multiple decades of hard work behind it. As you may imagine, this also broke applications for a while. There’s a tool called XWayland that can run X11 applications on Wayland, so most programs just work, but things like screen recording are severely limited under thst system.

    On the other hand, if you’re on a laptop, Linux can now finally reliably use touch pad gestures with more than two fingers through Wayland. You could write scripts and tools to fake them before, but they’re actually part of the UI nlw.

    Wayland does have APIs for almost everything now, but not all applications have been updated to use those APIs. For example, Zoom didn’t wait for the screen recording API to be standardised, so it implemented screen sharing under Wayland as “take a thousand screenshots”. Some programs work by listening for keyboard hotkeys (basically processing every key and checking if it’s their special hotkey) but that’s no longer supported unless the program has focus.

    There were also issues with drivers (well, almost exclusively Nvidia) but those have mostly been solved. It’s not for everyone yet, but there’s no reason not to try Wayland if you don’t have a full Linux setup already, anymore.

    As with any big change to the Linux ecosystem (systemd, anyone?) there’s a lot of fighting between people who want the shiny, better new thing, and people who liked the way things were before. Both sides have good arguments. Big parties in the Linux world, like Gnome and KDE, are moving towards a Wayland-only desktop. At the moment you can run Gnome and KDE on either, but that’ll be harder in the future. Other GUIs, like XFCE, are heavily geared towards X11, and it may take years before you can even run those on Wayland. Some, like i3, have replacements (Sway) that do almost the same thing.

    Interestingly, hardware vendors also seem to go with Wayland for their custom Linux projects. For example, the Tizen watches Samsung used to sell run Wayland. The Steam Deck runs Wayland in game mode, using a purpose built Wayland compositor as a GUI, but X11 for desktop mode.

    In practice, you shouldn’t need to worry about things too much right now. Some programs will not work on Wayland, others will not work on X11. Some games run a few fps faster on Wayland, others run faster on X11, but the differences aren’t huge. If both Xorg and Wayland are supported in your distro, you can switch between the two using a button on the login screen.

    As for Firefox: Firefox has had native Wayland support for a while. It was already capable of using all the Wayland APIs and protocols at least a year ago. However, by default, it ran through XWayland, to remain as compatible as possible, while Wayland was still being tested. Now, with the upcoming release, Firefox goes native.

    For Xorg users, nothing will change. For Wayland users with touchpads or touch screens, gestures like pinch to zoom will be smoother and there will be more of them. The only difference is that you don’t need to stuff MOZ_ENABLE_WAYLAND=1 in a script somewhere to activate the new capabilities on Wayland.

    yrmyli, (edited )
    @yrmyli@sopuli.xyz avatar

    Xorg = Massive screen tearing

    Wayland = No screen tearing

    Xorg = Nvidia friendly

    Wayland = Fuck you nvidia!

    randomperson,

    From a user perspective, Wayland is smoother and looks nicer.

    possiblylinux127,

    Both are display servers which is software that allows programs to write to the screen. X is older and was created back in 1984 at MIT and Wayland is a much newer protocol that is designed to work better on newer (post 90’s) hardware.

    The biggest difference is that Wayland basicly allows your desktop direct access to the screen and X has a server that runs and allows your desktop to connect to it. X was originally designed to run remotely as back in the day there was one big commuter that many people connected to.

    If this is all very confusing you probably should just stick to your distros defaults. Most of the time you don’t need to care.

    Rustmilian, (edited )
    @Rustmilian@lemmy.world avatar

    Wayland is a communication protocol that specifies the communication between a display server and its clients, designed to be a replacement for the X11 window system protocol and architecture.
    I might be a little nitpicky here, but I feel it’s an important distinction to make as there is no single common Wayland server like Xorg is for X11.
    A display server using the Wayland protocol is called a Wayland compositor, as it additionally performs the task of a compositing window manager.
    Xorg on the other hand is basically one fat display server designed like a house of cards that everyone uses.

    possiblylinux127,

    That’s a good way to put it, thank you

    baseless_discourse, (edited )

    xorg is a old implementation of x11, which is basically abandon-ware right now. No one is adding feature to it, testing it, or fixing security vulnerabilities. It also lack some common-sense security feature: for example every program can get every input (keyboard and cursor location) without root, so a key logger is trivial to implement in xorg.

    Wayland is newer, with more features (reasonable multi-monitor support, one-to-one gestures, etc). But many application framework and hardware have poor support for it, because it is slightly newer (developed on 2008, so not that new any more). Notably, electron and nvidia are typically the worst offender, like everything on linux, but both has come a long way.

    I have wayland on my laptop, since one-to-one gesture is a must for me, and I present quite often using that laptop. My desktop is on xorg, since I have a nvidia GPU and use quite a lot of electron app.

    avapa, (edited )

    AMD GPU + KDE Plasma with Wayland finally gets me close enough to the smoothness of Windows, especially the per-display settings for fractional scaling and high refresh rate were sorely lacking on Linux. It’s not perfect yet (and neither is Windows’ implementation) but it improved the Linux desktop experience a ton!

    elbarto777,

    What’s are one-to-one gestures?

    wfh,

    It’s like scrolling on your phone, where the content on your screen follows exactly your fingers movements. On Wayland you can do the same with a trackpad, like for example when scrolling, switching workspaces or invoking the activities overview. It feels much nicer, more immediate and more natural than on X.org, where gestures are just triggering a shortcut after a set distance.

    baseless_discourse, (edited )

    I would add, even my last Windows machine surface laptop 2 with latest windows 11 don’t have this feature. it is so awkward, I just stopped using gesture all together.

    So it is pretty great linux has that.

    DrBob, in Cool fancy programs?
    @DrBob@lemmy.ca avatar

    The Linux program that had a cat chase your mouse was Neko.

    turbowafflz,

    Also AMOR (Amazing Misuse Of Resources) which has more characters and features

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #