26
submitted 4 months ago by EuroNutellaMan@lemmy.world to c/linux@lemmy.ml

Hello everyone,

I'm looking to increase the security of my computers a bit through firewalld (with the KDE settings). I have a desktop and a laptop, both running Fedora 40 with KDE plasma. I don't have access to the router's firewalls etc etc this is only for my machines.

The issue is I'm having a hard time navigating the zones and setting rules the way I want. I don't wanna deal with switching to UFW and while I generally like CLI stuff I'd prefer to generally stick with the GUI here even though I find it a bit confusing (I will use CLI if necessary tho).

Anyways, let's get to the point. Firstly the only difference between the laptop and desktop, in terms of use-case, is that on my desktop I'm always connected to my home's subnet via LAN while on my laptop I often connect to public wifis, so naturally the laptop is a little less secure.

For my use-case I care about 3 network interfaces:

  • tailscale: this is the one I use to ssh into my machines and stuff and I want this to be the only interface which allows me to ssh. This is because not only it allows me to ssh remotely but also I figure is also the most secure way to use ssh as the tailscales team is probably better at security than I am.
  • Proton VPN's: this I use for gaming, web browsing and seeding Linux ISOs so I'd like settings that block everything without affecting these usecases.
  • normal internet: I almost always have my VPN on but occasionally I don't for one reason or another and I only use this for web browsing and gaming via steam. Settings I'd like here are essentially the same as ProtonVPN's but stricter if it makes sense to be stricter, especially on the laptop where it's likely a public wifi I'm conencting to when I'm not home. If it's possible I'd also like this interface to be hidden from nmap scans.

I do some light pentesting to learn so there's also that.

I currently have every relevant connection set to FedoraWorkstation zone by default except I manually tell the laptop to switch to public zone for public wifis (I'd change the default to be public and specify other zones for non-public connections but rn I'm in a period of time when I'm only connecting it to my home network so I wanna figure out this out first).

My question is, which zones should I use and what rules should I implement to make this more secure?

Thanks in advance

27
submitted 5 months ago* (last edited 5 months ago) by EuroNutellaMan@lemmy.world to c/linux_gaming@lemmy.world

Step 1: Install the game via Lutris

(Use steam if you bought it via steam)

  • Click the + sign, search Black Desert and install the first one
  • Choose the installation path (default is fine)
  • Do not create any shortcuts during any point of the installation
  • Do not run BDO after installation

Step 2: Add the game to your steam library

Why? Because via Lutris' wine version the camera doesn't work properly

  • On steam go to Games > Add non-steam game on the top right
  • Find the BlackDesertLauncher.exe in the instalaltion path. Should be /install/path/drive_c/PearlAbyss/BlackDesert/BlackDesertLauncher.exe
  • Right click the game on your library and go to properties > force compatibility layer > proton experimental

Step 3: Run the game via Steam

If at first it doesn't run just close it and open it again. The Black Spirit's Adventure, the Adventurer's board, and the guild daily message doesn't display properly (you can still use them however if you remember the buttons by memory), everything else works perfectly fine.

Note: if you have it, SELinux tries to block it, you can dismiss the reports and it should work fine, otherwise you may need to set policies or disable SELinux. I will look into this further

30
submitted 5 months ago by EuroNutellaMan@lemmy.world to c/linux@lemmy.ml

Disclaimer: I know there's a lot of questions and posts like this but generally they're aimed at noobs. I consider myself an intermediate user, and I know generally distros don't matter much and you can have anything another distro has on any distro but I'm looking for something a little "specific" that better suits my need from the get-go, I guess we could say that yeah. Plus hey some discussion won't hurt Lemmy.

I come here to seek your advice oh Great Council of Linux. Please hear my cause:

The problem

Right now I use NixOS and I'm mostly happy with it, I like having everything declared on a config file I can audit to remove stuff I don't use anymore, I like the stability it provides and the rollback feature (I only sued it once but glad to have it), automatic updates that apply when I shut down my PC (I do that often) and won't bork everything, and I like that it generally has very up to date software even on its stable branch. I also like the possibility of using nix-shell to test a program and remove it immediately afterwards even if it leads to a messy .config folder sometimes.

However, there are some pain points especially when it comes to customization. Now, the system itself is very usable and have little complains there, it's very rare that a package I want isn't in the repo, and when everything works it's great, but when it doesn't work it's very frustrating (mainly due to the lack of documentation and troubleshooting via the unofficial discord can be a pain). Namely on my laptop I have issues with the cursor sometime going from the catppuccin theme (on plasma 5, laptop is 23.11) to default on some context menus on X11 or only shows the theme in windows if using wayland (tho I can wait to see if it's fixed on 24.05). I never had this on my desktop gaming PC (which used 23.11 but now switched it to unstable to have plasma 6) but I have other problems there, for example the catppuccin SDDM corners theme doesn't apply anymore for some reason. Now I'm someone who likes to customize the looks of my desktop and I want to have consistency in my theming as much as possible so these issues are very annoying to me. On top of that to resolve the latter the official git repo of the package says to use flakes, now I know many fans of NixOS will swear flakes are cool and all but I absolutely hate them: I find them confusing, I don't like having to deal with more stuff than just my config file and home-manager and I want to have nothing to do with them I just want to use the official packages.

Now I'm sure most of these issues aren't exactly NixOS's fault and maybe in 24.05 they'll all be fixed but I'm getting very annoyed both by these problems and I found it hard to solve other problems in the past as well, and I hate that searching stuff up on ecosia, the wiki, etc doesn't work most of the time due to how different NixOS is and while the (unoffical) discord is generally useful sometimes it cannot provide the help I need, plus most of the stuff I learn troubleshooting NixOS is specific to NixOS and doesn't translate to other linux distros. So that's why on one side I'm considering that maybe it's not worth waiting till the end of the month to see if 24.05 fixes my issues (I don't plan on staying on unstable after the release of 24.05 that's certain) or if I should stick with it instead of wasting a day reconfiguring everything (granted home-manager is cool af but a lot of stuff I use don't use it so it's a one-time pain).

What I look for

Generally in a distro I look for something minimal, easily customizable and where I can use the terminal a lot for installing software and stuff (I just like the progression bars and seeing all the text go weeee accross the screen it's so cool) tho I'm fine using some GUI stuff like the KDE settings for other stuff where the alternative is a very complex set of config files (I generally prefer keeping wonky GUIs to a minimum though so I'm fine with some config files).

More specifically, I require a distro to have out of the box:

  • Plasma 6: I am moving to wayland, I love KDE Plasma for its customization and a lot of the stuff I made myself uses Qt. Maybe one day I'll try Cosmic but rn I just like plasma 6.
  • Easy to theme and configure: particularly with catppuccin
  • Proton VPN: the official apps, doesn't matter if the distro is officially supported or not by Proton
  • Steam, discord, gaming stuff & proprietary stuff directly on the repo: or at least easily enabled during the installation, without jumping through hoops
  • Rollback feature: be it what NixOS has, snapshots or whatever that btrfs thing is, it's ok if I have to set it up myself if needs be, I need to learn how, but I prefer if it's there out of the box
  • Big repo

What I'd like to have but isn't a must have:

  • Minimal amount of pre-installed packages: I want to choose myself what goes on my system and don't want to uninstall lots of things
  • Being able to leave it untouched for months without risking to brick it when I update
  • Decent information and help available: if I'm leaving NixOS I'd rather not deal with poor documentation
  • Immutability: I generally like the stability this provides, the atomicity of the updates, etc etc just as long as it doesn't make theming stuff like KDE (with plugins), Grub, SDDM, etc painful.

As for what I don't like:

  • Flatpaks: I prefer using system packages in general, plus I don't like their terminal commands and I hear they're not exactly good at following system themes. I guess I could live with them if I have to with flatseal and maybe a better terminal way to install them though.
  • Snaps: I hate snaps and in my experience worked terribly, like steam not being able to detect game libraries on other hard drives etc, graphical bugs, plus their backend is proprietary and handled by canonical, see following point.
  • Corporations: I don't want my OS to be handled by a corporation, I don't trust them so I'd rather minimize their control over the OS.
  • Custom theming: this isn't too important since I'll customize the theme myself regardless, I just generally try to stick to a distro's theme if there's one cause why not. I'm only putting this here to signal I prefer something unthemed (but possibly with a cool logo)

What am I considering?

Right now I'm considering the following options:

  • Stay with NixOS: Wait for 24.05 see if that fixes my issues etc
  • Bazzite + Aurora: Both are Fedora uBlue spins with KDE. I'm planning on putting Bazzite on my gaming PC since everything is already set up for that and Aurora (KDE spin of Bluefin) on my laptop (I use it for gaming on occasion but it's more for other stuff). They look cool but I'm not too familiar with them, the gripes I have, or think I will have, are flatpaks, some pre-installed stuff like vscode (I use neovim) and also that it's a spin of Fedora, which IMO is a bit too close to Red Hat but I can live with this given these two are different from fedora and further away from RH. Also, can I use ujust to install/uninstall things? What does it do?
  • OpenSUSE: I hear good things about Tumbleweed, I also know they have an immutable version but I know very little about it. I tried it in a VM for a few minutes to check out YaST and I was positively impressed but it comes with a lot of pre-installed stuff like a graphical package manager (yes I know there's zypper and that it's slow, I don't mind too much if it works and isn't too bad) and I heard it has something similar to the AUR which I'll need to check out as I saw the normal tumbleweed repos missed some packages I like.
  • Arch: I used Arch (btw) for a long time and generally liked it, I didn't have many issues with it and when I did it was usually my fault (tbf that's often the same on NixOS) and I generally could fix them easily (only once did my system break after the power went out during an update requiring a reinstall), the thing I don't like is having to update it weekly manually (I don't trust automatic updates on non-immutable distros much) and this is fine generally but it's a problem for my gaming PC because I have to move away from the house it's in for months on end and telling people to turn it on weekly so I can ssh and update it remotely into it is bothersome. Also, while I like seeing the little pacmans eat the dots, after using NixOS I learned to appreciate updates that don't require me to rtfm, that I don't have to care about too much and don't risk borking something in my system even if it's a small thing. Plus I figured I could try something else knowing that worst case scenario I can always go back to the trusty old Arch. Maybe I could try Arco instead of Vanilla Arch in this case.

I'm open to suggestions for other options though, there's trillions of distros.

What am I excluding

  • Debian & co: nothing against Debian, but I used it once and found it very frustrating to use, the packages are fairly outdated (and I don't see that as more stable than say NixOS with the rollback and everything), I had to manually install every proprietary thing, add repos here and there, etc and overall I didn't like it. Also I don't think it has plasma 6 yet. I don't see much point in using any of its derivatives either.
  • Gentoo: I don't want to compile everything
  • Fedora itself: too close to RH, its derivates I can tolerate but I'd prefer to avoid Fedora and RH stuff if possible

That is all that comes to my mind right now. Thanks in advance.

22
submitted 8 months ago by EuroNutellaMan@lemmy.world to c/linux@lemmy.ml

Hello folks,

I wanted to know if anyone has any idea why distrowatch periodically goes down for days before returning.

I mainly use it to find out if some distros have updates to their ISOs but I find it very annoying that quite frequently it's down completely.

[-] EuroNutellaMan@lemmy.world 78 points 9 months ago

Honestly he is talking out of his ass, torrents are neither dead nor slow nor used by nobody. They're very much alive.

[-] EuroNutellaMan@lemmy.world 53 points 9 months ago

not fix these grievances mind you, but exploit them

[-] EuroNutellaMan@lemmy.world 58 points 9 months ago* (last edited 9 months ago)

the lengths people will go to not simply use a better OS

[-] EuroNutellaMan@lemmy.world 61 points 9 months ago

I'd say more likely it's labs, hospitals, and other scientific stuff where you have to deal with old instruments cause lack of money. I'm fairly certain the military uses some other OS, I believe NATO uses Solaris for example.

19
submitted 9 months ago* (last edited 9 months ago) by EuroNutellaMan@lemmy.world to c/linux_gaming@lemmy.world

First of all, sorry if it's the wrong community. I tried asking in the NixOS Discord but they were completely useless so far.

As stated above I use NixOS (btw). I have two PCs, a Lenovo A285 and a desktop, both have NixOS with the same exact configurations (except for hardware related stuff, so disk encryotion for my laptop, automounting disks for the desktop, stuff like that). The program versions are both the same, however on my laptop the HoI4 launcher looks like pic related, while it works perfectly fine on the desktop.

If I resize the launcher the background image displays for a little bit but then it goes blank like in pic related, I can still push button and all and they work but without knowing what I'm clicking it's kinda useless.

Running journalctl I get this.

Obviously this is an issue as I can't change mods unless I uninstall and reinstall them whenever I need to disable/enable them.

Anyone know what could be the cause?

EDIT: I want to note that other games work fine, and I never had this problem with Arch and arch-based distros.

EDIT 2: Forcing it to go through Proton works though if someone finds another solution for native do let us know.

[-] EuroNutellaMan@lemmy.world 63 points 10 months ago

Lasted less than Liz Truss lmaooo

125
submitted 10 months ago* (last edited 10 months ago) by EuroNutellaMan@lemmy.world to c/linux@lemmy.ml

Hello,

I'm looking for as many cool, even if pointless, programs as I can, be them terminal programs or gui ones. What do I mean by this? I'll use some examples:

  • The Cube (I believe it was called Compiz): the one we all know and love.
  • cmatrix
  • the hollywood one
  • That one whose name I forget but basically spawns a cat that chases your cursor, I saw it showcased on Pop!_OS' mastodon.
  • wobbly windows
  • Burn my window
  • tplay

if any of you know any other fancy program like this let me know please. I want to showcase them to non-linux people to show them what can be done here but not necessarily in other OSes (particularly Windows).

268
[-] EuroNutellaMan@lemmy.world 72 points 11 months ago

As if the anti-cheat even worked.

[-] EuroNutellaMan@lemmy.world 81 points 11 months ago

Anon is an egg

49

Hello everyone,

I wanted to post this in the S.T.A.L.K.E.R. community but it seems pretty much dead so I'm gonna post it here instead.

I wanted to write a guide on how to play Anomaly on Linux which works as of 19th November 2023.

I use Arch with KDE plasma (and I also tested it with Xfce4) and it works perfectly fine, it even seems to work on Wayland session but I haven't done extensive testing. It should work for any distro as long as it has what you need. So here it goes.

Step 0: Requirements

You'll need to have Steam, Protontricks, and obviously the game files downloaded from the official sources

Step 1: Extract the game files

You can put them wherever you want, I personally chose ~/Games/Anomaly/. Essentially put the ".7z" files wherever and extract them, I do this with this terminal command:

7z x Anomaly-1.5.1.7z

and then

7z x Anomaly-1.5.1-to-1.5.2-Update.7z

Make sure to overwrite anything when extracting the 1.5.2 patch

Step 2: Add the game to steam

Open up steam, on the top right go to games > Add a non-Steam game > Browse and then navigate to and select the .exe file, then Add program.

Step 3: Set up Steam compatibility layer

On your Steam library Right click the Anomaly game and go to Properties > Compatibility and click Force the use of a specific compatibility layer and select whichever proton version you prefer. I went with Proton experimental and it works fine. After all of this is done, run it once and wait for it to crash.

Step 4: Protontricks compatibility

Now open up protontricks, I'll use the GUI via running:

protontricks --gui

Then, select the Anomaly game > Default profile > Install DLL and you'll want to select these:

  • d3dcompiler_43
  • d3dcompiler_47
  • d3dx10
  • d3dx11_43
  • d3dx9
  • d3dx9_43

Let it install everything then close it and launch the game via steam. You're set to go.

30
Reading .mcn files? (lemmy.world)
submitted 11 months ago* (last edited 11 months ago) by EuroNutellaMan@lemmy.world to c/linux@lemmy.ml

Hello y'all,

I need to get some information out of a .mcn file that is used by the Cary WinUV program (for windows XP), I know the file contains the info we're looking for but it's not readable on a text editor as per screenshot (the same thing appears via OSS - code and cat). Same for Nano which gives me a lot of tiny amongi.

Cary WinUV for some reason doesn't display the information we want, who know what they were thinking.

Anyone know a way to read the characters missing?

EDIT: Thanks everyone, I solved by saving it into csv through Cary WinUV but that may not work for everyone so thanks for all the replies

[-] EuroNutellaMan@lemmy.world 118 points 1 year ago* (last edited 1 year ago)

No but at this age you should probably ask yourself at what point in life did you stoop so low as to want to communicate with the French.

/s

[-] EuroNutellaMan@lemmy.world 83 points 1 year ago* (last edited 1 year ago)

Imagine you're a straight horny man and two hot women crave your attention.

866
I get it now (lemmy.world)
[-] EuroNutellaMan@lemmy.world 85 points 1 year ago

Surprised anyone can use the internet without uBlock Origin tbh

[-] EuroNutellaMan@lemmy.world 137 points 1 year ago

I claim Bethesda's games do not meet the minimum requirement for me to pay for them instead of plundering

17
submitted 1 year ago* (last edited 1 year ago) by EuroNutellaMan@lemmy.world to c/selfhosted@lemmy.world

Hello everyone,

I set up a file-sharing server on my raspberry pi using samba and tailscale to connect to it from networks that aren't the same as the raspberry pi's.

Recently I added a second user so that they can backup their stuff. On linux everything works fine but on Micro$hit's Windows 10 it doesn't let them connect to the file server. Or rather, at first I tried with an unrelated person who only accessed the public folder as a "guest" (rather: no user) from windows and it worked. Then we tried with this person and it let her access the server at first but wouldn't let her log in with her credentials. Turns out I forgot to add the user to samba, so I do that, reboot the server, and then it just doesn't let her connect to the server in the first place, giving an 0x80004005 unspecified error.

I should also point out that she's accessing the machine as an external tailscale user with the device being shared to her.

What could be the cause of this and how can we go about solving it? I'd love to just tell her to just install linux and be on with our day but that simply isn't much of an option.

Sorry if the information isn't too precise, I'm still a bit of a noob.

EDIT: It works through the local network after disabling the firewall but connecting through tailscale doesn't work.

[-] EuroNutellaMan@lemmy.world 134 points 1 year ago

Ads being everywhere.

6
submitted 1 year ago* (last edited 1 year ago) by EuroNutellaMan@lemmy.world to c/selfhosted@lemmy.world

Hello everyone,

I am very new to self-hosting. I just set up a file sharing server with raspberry pi and samba. Now I'm sure this is asked quite a bit but searching for it I couldn't find the answers I'm looking for most of the time or the answers are confusing.

I need to be able to access the raspberry pi from different networks than the ones it is connected to. Specifically in 2 ways:

  1. I need to access it via ssh to manage it remotely. I know you can do this by port-forwarding port 22 but that doesn't seem safe looking at a recent post here. I heard about tailscale but I'm not sure how it works too well rn and while I am willing to learn I want to ask what other options are out there and which ones do you guys prefer usually.

  2. I need to be able to access the files in the server while following the samba configurations I set up. For me it is fine to use the file explorer normally used with samba, especially if that works with tailscale or whatever solution for point 1, but I plan to share some directories with some close friends who are not tech savvy at all and I know the idea of typing an ip adress in the file manager every time may scare them already, let alone having to install something like tailscale or anything. So I wanted to try and make something easier to access, like a self-hosted website or a web ui (I tried the one recommended in this guide, and therefore the relevant instructions in this github page, but it wouldn't install for a bunch of problems that make no sense). Doesn't need to be anything fancy, just an address to type in the browser and it will show the files (according to the samba configs so directories not public require a log-in), download them and upload some. The main point is that it needs to be very easy for the end-user who wants to download/upload files from anywhere, ease to set up is ok but not necessary. Do you guys know any good resources for stuff like this or program I can use without having to make a website from scratch (I will do it if necessary but I'd rather avoid that)?

Thanks and sorry for the very noobish questions.

view more: next ›

EuroNutellaMan

joined 1 year ago