linux

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

JoeBidet, in Noob question: what to arrange before switching to linux
@JoeBidet@lemmy.ml avatar

As many people mentioned backups before, I would only add this: Maybe check -in your favourite search engine- if the very same model of computer that you use doesn’t have know quirks (hardware needing some tweaking, not being fully recognized, etc.) with gnu/linux, like for instance searching “$model linux” or “$model $distro” (with the distros you plan on trying, etc.

Also maybe if you connect only via Wifi, check that wifi chip for compatibility first, and maybe get as a backup a USB wifi dongle that is know to work on gnu/linux… juuuust in case ;)

Papanca,

Good points, hadn’t even thought about this, particularly the Wifi!

Pantherina, in Noob question: what to arrange before switching to linux

Is that nvidia card old, do you need very fast performance? You could use the nouveau drivers which are mostly FOSS.

If you need the proprietary drivers though, I advise against updated Distros except ublue.it

Debian might be an exception as it upgrages so slowly, but I also wouldnt recommend Debian really. Debian + GNOME is probably very fine, even though also here you will miss a lot of cool new updates, but Debian + KDE is simply not ready and all those bugs are now only fixed in Plasma 6.

So my recommendation is a ublue-nvidia image, no matter what desktop you like

Papanca,

It’s not brand new, but i don’t need it for gaming or anything major. Thank you for your recommendations, i will look into it!

d3Xt3r, (edited )

A GPU is used for a lot more than just gaming these days. It’s used to render videos, accelerate normal 2D programs (like some terminal emulators), accelerate some websites/webapps (those which use WebGL for eg); also modern DEs like Gnome and KDE also make use of it very heavily, for instance for animations and window transitions. Those smooth animations that you see when you activate the workspace switcher or window overview? That’s your GPU at work there. Are your animations jittery/laggy? That means your setup is less than ideal. Of course, you could ignore all that and just go for a simple DE like XFCE or Mate which is fully CPU-driven, but then the issue of video acceleration still remains (unless you don’t plan on watching HD videos).

Without the right drivers (typically NOT nouveau, unless you’re on a very old card), you may find your overall experience less than ideal. As you can see in their official feature matrix , only the NV40 series card fully supports video acceleration - these are cards which were launched between 2004-2006 - that’s practically ancient in computer terms and I highly doubt your PC uses one of those. Now recent-ish cards do support video acceleration, but you’ll need to extract the firmware blobs from the proprietary drivers (which can be a PITA on normal Debian as it’s a manual process), plus, even after that, the drivers won’t support some features that may be required by normal programs, as you can see from the matrix.

The natural solution of course would be to install the proprietary nVidia drivers, but you do NOT want to do that (unless you’re a desperate gamer) as there’s a high possibility of running into issues like not being about to use Wayland properly, or breaking your system when you update it - just Google “Linux update black screen nVidia” and you’ll see what I mean.

You’ll be avoiding a lot of headache if you just went with AMD; or even just onboard graphics like Intel iGPUs (if your CPU has it) would be a much better option - because in either case, you’ll be using fully capable and stable opensource drivers and you won’t face any issues with that.

Also, watch this video: youtube.com/watch?v=OF_5EKNX0Eg

Pantherina,

Do you prefer GNOME or KDE? I would stay away from other desktops for now, as they lack security a lot (Wayland).

Silverblue is GNOME, Kinoite is KDE. I highly recommend you try the images from ublue.it

They are not completely perfect out of the box though, you may need to add Flathub for the apps you need.

Papanca,

KDE, thanks for the link :-)

Pantherina,

I am using Kinoite for quite a while, and pretty happy with it.

space_comrade, in What's the best way to remote into a linux machine?

I haven’t done this in years but I’ve always found open source solutions to this to be quite clunky and usually barely worked. What always just worked fine for me was Teamviewer. Yeah it’s proprietary and has crappy licensing but it’s mostly a smooth ride.

Do try the open source options first tho, it’s quite possible they got way better in the last few years since I’ve done this.

Bitrot,
@Bitrot@lemmy.sdf.org avatar

RustDesk Has worked pretty well for me on the rare occasions I need it.

space_comrade,

That looks great, and it gets bonus points for being written in Rust. Thanks for sharing this.

be_excellent_to_each_other, in KDE Plasma 6 Megarelease - Beta 1
@be_excellent_to_each_other@kbin.social avatar

I started using Plasma 5 a smidge before devs were saying it was ready for primetime. That was my conversion from Gnome (which I was very happy to leave by then) and it's been nothing but positive.

I will wait for the full release of Plasma 6, but I'm super excited for it. I still <3 Plasma 5.

Thank you KDE devs!

ZeroHora, in Cleanest way to maintain AppImage installations?
@ZeroHora@lemmy.ml avatar
isVeryLoud, (edited )

Definitely the correct answer.

It’s a drag and drop appimage manager, like macOS DMGs. And it’s a flatpak!

uis, in NixOS 23.11 released
@uis@lemmy.world avatar
uis,
@uis@lemmy.world avatar
Pantherina,

Does Nix need user namespaces, and does it allow good Sandboxing like Podman or Flatpak?

uis,
@uis@lemmy.world avatar

No idea, I use Gentoo

lupec,

I’ve used flatpak in the past, and although you basically give up the declarative aspect they worked fine as far as I remember

Pantherina,

That was not answering the question 😅

lupec,

Ah, I think I see what you meant now. My bad!

alper_celik,

Nix packages arent containerized by default. But since every depenedency is clearly defined. there are tools wrap packkages using bublewrap, or tools build layered docker imahes

But building packages happens in sandbox

Pantherina,

Great thanks! So Fedora+Nix (maybe some hacky way to symlink it to /var/nix on every boot and it can run on Atomic too)+bubblejail (there is a COPR now for use in secureblue) could be a great setup!

Any info about namespaces? Hardened kernels block these for valid reasons. Flatpaks can use bubblewrap-suid, Podman is supposedly not compatible (not sure about that)

Anarch157a, in How safe are my data if my hard drive isn't encrypted?
@Anarch157a@lemmy.world avatar

Safe in what context ?

If the drive is mounted and data accessible, in case your computer is compromised by some kind of malware, well, the data will be easy to exfiltrate. Now, if the computer is turned off or the drive unmounted, that’s what encryption comes in to protect it.

So, basically, encryption will protect the data in case of physical theft of the drive or in case of remote hacking if the drive is un-mounted.

Guenther_Amanita,

Safe in the context of someone stealing the hard drive and look through private photos and stuff by plugging the drive into another device.

Anarch157a,
@Anarch157a@lemmy.world avatar

In that case, without encryption, your safety is zero. That’s the exact scenario that full-drive encryption was designed for.

Guenther_Amanita,

Well… shit. Thank you for your great advice. I’m gonna look for how I can secure my data.

MimicJar,
@MimicJar@lemmy.world avatar

Out of curiosity what sort of safety did you think an unencrypted hard drive had?

I mean no offense and I think it’s a perfectly fine question to ask, I just want to understand what you expected.

Guenther_Amanita,

I had the expection that Linux is already set up as a multi-user environment and has that feature built in.

Of course that “isolation” of data, as I had it in my mind, wouldn’t be really secure, but it doesn’t have to be that for me. I just don’t want anyone to access it easily.

Para_lyzed,

Perhaps it’s useful to provide some clarification here. As the other user stated, Linux is set up for multi-user setups and provides logical protection, but you seem to misunderstand how operating systems and file permissions work.

If someone steals your unencrypted hard drive and boots into their own operating system, they are able to circumvent all access control and permissions on your hard drive. This is because when they mount your hard drive your operating system isn’t running; they’re simply reading the stored data, so the access control and permissions set up by your operating system don’t mean anything. This happens with ALL operating systems (Linux, BSD, Windows, MacOS, etc.). Logical protection like access control is only useful while the OS is running, and it cannot help otherwise.

This is why encryption is important, because it prevents unauthorized access when the OS isn’t running. If you’d like to see just how easy it is to access unencrypted data, make a live USB and boot into it on any unencrypted computer (assuming you have permission to do so if you don’t own the computer). You don’t even need to extract the hard drive in most cases to read file contents, you can simply boot into a live USB. The only situation where this isn’t the case is when USB booting is disabled in the BIOS and the BIOS is password protected, but you could always just remove the CMOS battery to clear the settings to bypass the BIOS password anyway.

Unencrypted data will always be trivial to retrieve when the attacker is allowed physical access to your computer.

Laser,

Simplified, there’s two layers to data protection, physical and logical. Linux or basically any correctly configured modern operating system provides logical protection, i.e. access under the running OS is only granted to authorized users. Granted you can still put holes in here, e.g. a webserver is misconfigured and allows access to any user to all files it can read. However, from the OS perspective, everything is fine, as the webserver can still only read what it’s allowed to.

Data encryption protects data at rest, i.e. when no operating system enforcing the logical protection is running. The case has already been described so I’m not gonna repeat that here.

It’s important to understand that in general, these two measures are completely seperate from each other. Device encryption won’t help against logical attacks, and logical protection won’t help against offline attacks. You need both if you can’t rule out an attack vector completely (i.e. your server sits in a secure safe that can’t be opened by anyone not authorized to, then encryption might not be necessary).

Pantherina,

No poorly not. Just as Windows by default. Systemd-homed is a solution for that but afaik its questionable if its ready. Would be great if Distros like Fedora shipped it by default.

An encrypted system rather than an encrypted user partition is still necessary, because attackers could replace system files or simply add a service that uploads your stuff somewhere, or manipulate sudo, or log your password etc.

MrPoopyButthole,
@MrPoopyButthole@lemmy.world avatar

Now we all want to know if you have child porn

SuddenlyBlowGreen,

You’re using HTTPS, do you have child porn?

RedWeasel,

Or a sex tape.

bushvin,

Maybe he has yours?

Guenther_Amanita, (edited )

Wtf, no?!

If I had CP, I wouldn’t ask publicly and make myself vulnerable.

I just don’t wanna have anyone snooping around my stuff, just as everyone else.

Pantherina,

“You must be a criminal if you have curtains”

cbarrick, (edited ) in How safe are my data if my hard drive isn't encrypted?

An encrypted hard drive means that someone cannot physically steal your hard drive and read its contents.

Encryption-at-rest is generally moot against RCE exploits, because your OS will happily decode files that your programs have permission to read.

That said, on modern systems, encryption is cheap. So set it up if you can.

Edit: I replied to the original post.

warmaster, in Cleanest way to maintain AppImage installations?

What’s wrong with gear lever?

Archr,

The issue with gear lever is that not many people know that it exists. I only started using it a few months ago and I’ve been on Linux for the better part of the last decade.

ArtVandelay, in What's the best way to remote into a linux machine?
@ArtVandelay@lemmy.world avatar

I’ll add to the mix, if it’s Gnome DE, rdp is built in now, it’s under settings > sharing > enable rdp. Then you can use any rdp client, including windows. (Or remmina if from another Linux box)

frogmint, in What are your thoughts on Homebrew for Linux?

With access to the AUR on Arch-based distros, I don’t have the need for it. Normally, I choose:

  1. Distribution package
  2. Flatpak
  3. AUR
  4. AppImage

I haven’t yet come across something which is available in homebrew but not in one of these options. I’d use it if I had a need.

maniel, in What's the best way to remote into a linux machine?

x forwarding is the way to go, i mean i remember i’ve run NetBeans IDE on linux, forwarded it via ssh to my windows netbook (netbook!!!, it was 2009?) to show my project to my professor at college, i remember i used Xming on Windows

GravitySpoiled, in Add YOUR city to the Gnome weather app [Solved]

Afaik the problem is solved within the code. I remember having compiled the app myself. It’s just a matter of time that it’s solved.

BUT it’s weird that this is so low priority to all gnome devs. It seems like noone cares about the correct weather. The source of weather is also not really perfect.

vsis, (edited ) in How safe are my data if my hard drive isn't encrypted?
@vsis@feddit.cl avatar

If the device get stolen, your drive and its files can be easily read.

Other attacks like malware or ransomware are almost the same if the drive is encrypted or not.

Disk encryption is important for laptops and phones because these devices are frequently stolen. For desktop or servers is still good idea, though.

Guenther_Amanita,

Thanks a lot for your answer. How would you encrypt a server? Typing a password every time it boots isn’t possible for me, since I would need a monitor for my headless server.

AdamantiteAdventurer,
@AdamantiteAdventurer@beehaw.org avatar

I use Luks/Tang to unlock the server at boot from another computer that is always on too. If that one is down I’ll need to type it or power the other PC on, but otherwise it auto decrypts for me as long as I’m on the same network.

dime,

One option may be a hardware security key. Here is an example: https://www.endpointdev.com/blog/2022/03/disk-decryption-yubikey/

vsis,
@vsis@feddit.cl avatar

That’s why it’s not always an option.

Some servers have some kind remote console hardware, with their own security issues.

Your “threat model” is important too. Do you expect that server to get stolen? If it happens, is there critical data that should not leak?

Maybe you need to encrypt a directory, and not the whole drive.

Guenther_Amanita,

My threat model isn’t high. Just normal stuff everyone has, but that would be disadvantagely if someone else got them.

It’s more if a precautionary measure. It doesn’t have to be super safe, but better than nothing.

rgb3x3,

Is this for your home? If it is, you don’t really have to worry about someone stealing your desktop. If someone breaks into your home, they’re looking for quick cash and jewelry and TVs. They’re not going to bother stealing your server to dig through files for something usable.

Guenther_Amanita, (edited )

I’ve had quite a bad experience with police for example.

30 cops raided my home because of something trivial (I ordered a bit of non-psychoactive CBD-weed, which is, even in the most restrictive country you can imagine, ridiculous).

Of course, I got the whole experience-pack, including strip searches and confiscating all electronics.

Even though I believe them getting hold of any data wouldn’t have changed much, I’m still glad I had my devices encrypted.

Just knowing they didn’t see my cringy pictures of my teeny-me, where I discovered Snapchat filters, is a big relief. 😅

Yeah… that traumatized me a bit and maybe that’s the reason I’m worrying.

Also, you could never know what will happen in the future. Maybe my GF will turn crazy tomorrow and use those embarrassing pictures against me. Who knows?

I believe everyone should use encryption, even if they don’t have much to hide…

rgb3x3,

Oh that’s a really good point. Don’t trust the cops, keep everything encrypted.

Way safer in those situations.

Frederic, (edited )

If Windows, use BitLocker.

If Linux, use LUKS but you need to enter the passphrase at boot, you can securely put the key in TPM2 I think (à la Windows) but it may be complicated to setup, or just seal the phrase in TPM2 but if you boot on grub you can break grub and replace init with a shell in boot option and have access to the system I think :-/ but a simple crackhead thief would not understand that.

You can also have the key on a USB key, but if on the server and the server get stolen, it’s useless. You can setup a “anywhereUSB” and have your USB key in another room/place, etc, there is others possibilities.

I wanted to unlock with bluetooth but having the bluetooth HW driver and stack in initramfs was nightmarish a little bit :-/

wmassingham,

Either self-encrypting drives (if you trust the OEM encryption) or auto-unlock with keys in the TPM: wiki.archlinux.org/title/Trusted_Platform_Module#…

Ing0R,
MrPoopyButthole, in [SOLVED] Brave Browser not launching in LXQT in Debian 12
@MrPoopyButthole@lemmy.world avatar

Don’t use Brave…

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