linux

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

selokichtli, in please help me, why is this happening??

Try booting with kernel flag --nomodeset. If it gets you to the desktop, you could find out more about the graphics card and monitor.

velox_vulnus, in [SOLVED] Brave Browser not launching in LXQT in Debian 12

If you love it so much, then you can use Flatpak, Snap, Guix or Nix - there are user-level package managers that will give you the required choice. But why Brave? Aren’t there better Chromium alternatives out there?

liberatedGuy,
@liberatedGuy@lemmy.ml avatar

I don’t like to leave problems unsolved. Secondly, brave comes with default adblocker. What better FOSS chromium alternatives are there?

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

Note that there isn’t a Linux version of the protondrive app. … I know! what the fuck right?

Secondly, I would just shove Linux Mint onto a USB and use that as a live distro with persistence for a while, just to get used to things. I’m not a fan of debian(/-based) or apt, but it works.

Papanca,

Yes, you’re right, but at least they have a web app, so it’s not a total deal breaker. I think a linux version is in the works, but knowing Proton it can still take a long time before one will be available. I also know that their VPN linux version is pretty shaky for some people.

luthis,

As a protonvpn user on linux (arch) I can say that it is totally fine for me. I am using Gnome though.

killthefish,

You can use this app to sync with proton drive flathub.org/apps/com.hunterwittenborn.Celeste

Papanca,

Interesting, is it something like Syncthing? I will definitely check it out, thank you for the link!

killthefish,

not sure what syncthing does! I’m not a big fan of the cloud, I just knew of that app because The Linux Experiment channel talked about it

Papanca,

I haven’t used it yet, but apparently it’s not hosted by a third party and syncs between 2 computers in real time and encrypted.

JaxNakamura, (edited )

That’s correct. It’s not just limited to computers or only two devices though.

glarf, (edited ) in Btrfs Slated To Make Use Of New Mount API In Linux 6.8

I can’t say I’m a huge fan of btrfs, in my limited sample size of one I had several episodes of esoteric errors and data loss. It’s anecdotal but filesystems have never been something to give me trouble in any other scenario to date. They just exist and do their job silently in my experience, except for btrfs.

Chobbes,

This is what I thought too, but in my case it turned out my drive was busted and btrfs detected an error and went read only… which was super annoying and my initial reaction was “ugh, piece of shit filesystem!” But ultimately I’m grateful it noticed something was wrong with the drive. If I was just using ext4 I just would have had silent data corruption. In that sense other filesystems do silently do their jobs… but they also potentially fail silently which is a little scary. Checksums are nice.

Quills, in Pony approved distro
@Quills@sh.itjust.works avatar

YES lol Derps everywhere!!!

uis,
@uis@lemmy.world avatar

Should I call Littleshy?

uis,
@uis@pone.social avatar

@LittleshyFiM did you install Derpian?

gratux, in What's the best way to remote into a linux machine?
@gratux@lemmy.blahaj.zone avatar

I’m a bit inexperienced in this aspect, but:

  • if you are on a trusted network (i.e. local/vpn only) you could give VNC a try. It’s somewhat simple, but far from secure.
  • the gnome desktop environment should offer built in RDP support, but i have not tried it yet. Also, just like VNC, i wouldn’t use RDP over the open internet.
floofloof,

To secure VNC you can tunnel it over SSH.

Hominine, in brand new rice
@Hominine@lemmy.world avatar

Very clean and nice wallpaper to boot. thumbs up emoji

01adrianrdgz,
@01adrianrdgz@lemmy.world avatar

thank you very much!! I love this distribution, it’s the most customisable ever n.n

tkf, in Best practices in mounting NAS shares?
@tkf@infosec.pub avatar

I’m curious, what file system do you use to mount your share? (SMB, SSHFS, WebDAV, NFS…?) I’ve never managed to get decent performance on a remote-mounted directory because of the latency, even on a local network, and this becomes an issue with large directories

NotAnArdvark,

Agreed on the latency issues. I tested SMB and NFS once and found them to be pretty much the same in that regard.

I’m interested to test iSCSI, as for some reason I think it might be better designed for latency.

dan, (edited )
@dan@upvote.au avatar

If you want the lowest latency, you could try NBD. It’s a block protocol but with less overhead compared to iSCSI. github.com/NetworkBlockDevice/nbd/tree/master

Like iSCSI, it exposes a disk image file, or a raw partition if you’d like (by using something like /dev/sda3 or /dev/mapper/foo as the file name). Unlike iSCSI, it’s a fairly basic protocol (the API is literally only 9 commands). iSCSI is essentially just regular SCSI over the network.

NFS and SMB have to deal with file locks, multiple readers and writers concurrently accessing the same file, permissions, etc. That can add a little bit of overhead. With iSCSI and NBD, it assumes only one client is using the file (because it’s impossible for two clients to use the same disk image at the same time - it’ll get corrupted) and it’s just reading and writing raw data.

Rockslide0482,

main thing to note is that NFS is an object based storage (acts like a share) where iSCSI is block based (acts like a disk). You’d really only use iSCSI for things like VM disks, 1:1 storage, etc. For home use cases unless you’re selfhosting (and probably even then) you’re likely gonna be better off with NFS.

if you were to do iSCSI I would recommend its own VLAN. NFS technically should be isolated too, but I currently run NFS over my main VLAN, so do what ya gotta do

phx,

Yeah, there are a few limitations to each. NFS, for example, doesn’t play nicely with certain options if you’re using a filesystem overlay (overlays), which can be annoying when using it for PXE environments. It does however allow you to mount in several remote machines simultaneously, which I don’t think iSCSI would play nicely with.

SMB though has user-based authentication built in, watch can be quite handy esp if you’re not into setting up a whole Kerberos stack in order to use that functionality with NFS.

SpaceCadet,
@SpaceCadet@feddit.nl avatar

I’ve found that NFS gives me the best performance and the least issues. For my use cases, single user where throughput is more important than latency, it’s indistinguishable from a local disk. It basically goes as fast as my gigabit NIC allows, which is more or less the maximum throughput of the hard disks as well.

A benefit of NFS over SMB is that you can just use Unix ownerships and permissions. I do make sure to synchronize UIDs and GIDs across my devices because I could never get idmapping to work with my NAS.

2xsaiko,
@2xsaiko@discuss.tchncs.de avatar

idmapping

idmap only works with Kerberos auth, but iirc I didn’t have to set anything up specifically for it. Though I’ve also never really had to test it since my UIDs match coincidentally, I just tested with the nfsidmap command.

possiblylinux127, (edited ) in 13" or smaller Linux laptop - best replacement for aging chromebook?

Here’s a short list devices things I can think of:

  • a old Linux compatible Chromebook. You would need to wipe the firmware and install seabios and Linux
  • A Pinebook Pro. This device is very underpowered and would be slow. It is also arm so you can’t install just any Distro.
  • a old surface device with Linux support
  • a old labtop that used to run Windows

There used to be a $400 device from starlabs but I no longer see it. There cheapest device is $700.

Honestly your best bet is a Chromebook or a used labtop

scottmeme,

If OP does go the surface route should also provide them with the resources for it. github.com/linux-surface/linux-surface

Nimrod,

Are there certain requirements, or pitfalls to avoid when digging through old Chromebooks?

I think that’s the direction I’m leaning.

possiblylinux127,

Honestly just make sure you do your research. If you are unsure you could go buy a used Chromebook on eBay for about $50 bucks. Once you get that device working you can always upgrade.

Keep in mind each Chromebook model is different and not all are compatible. Again, do your research

otl, in Using an iPad as a second monitor (wired)

Time to turn your laptop into a router! Let’s say you’ve got 2 network interfaces on your laptop, eth0 and wifi0. wifi0 is joined to your university WiFi as normal. Connect your iPad to your laptop via ethernet (with a USB-C adapter).


<span style="color:#323232;">iPad -> usb-c-ethernet -> eth0
</span><span style="color:#323232;">wifi0 -> internet
</span>

Rather than setting up a DHCP server or IPv6 stuff, I’d just configure the wired interfaces manually. Let’s use the network 192.168.69.0/24. Laptop will be 192.168.69.1, iPad will be at 192.168.69.2. On the laptop:


<span style="color:#323232;">ip addr add 192.168.69.1/24 dev eth0
</span>

On your iPad, go to Settings -> Ethernet:

  • address: 192.168.69.2
  • subnet mask: 255.255.255.0
  • router: 192.168.69.1

Curious to see if that works. We haven’t set up DNS or DHCP or done any sysctl for IP forwarding or any nftables.

How can we test if it works? We can set up a TCP listener using nc(1) on the laptop that the iPad’s web browser could hit. On the laptop:


<span style="color:#323232;">nc -l 8080
</span>

On your iPad, open Safari and browse to 192.168.69.1:8080

Curious to see if that all works!


See also:

Adonnen,

Will try soon, thank you!

Adonnen,

Will I need a usb-c to rj45 adapter (or realistically, 2 since my laptop does not have an ethernet port)? I was planning to use my TB4 type c - type c cable and use an ethernet connection over usb.

tekeous, in Document Management System for Linux?

I use Paperless-ng and it’s great. Headlining feature is that it stores your documents in PDF in a plain folder which makes backing up easy. Another software that puts your documents in a database is no good unless it has its own backup method.

Plus being on a network server means I can set up my printer to scan to there as a target, my phone to scan to there, computer, I can drop emails in the consume folder, etc. Easy peasy to get stuff in there.

jokro,

Any pointers on how to setup the printer? Sounds very useful.

tekeous,

Set up Paperless-ng on your server, generally with Docker, and map the Consume folder to wherever you want. Expose that on the network as a Samba or FTP share depending on your printer.

Printers with a bit more than basic features allow you to “scan to target” and it’s basically designed to set up a Public share folder on windows and scan and your document just shows up on the computer. Same deal but map it to the consume folder on the server. Paperless automatically picks up and intakes anything dropped in the consume folder.

So you end up just hitting Scan on the printer, the printer will dump the output into consume share via either samba or ftp, and Paperless automatically picks it up and puts it in the Inbox for ya.

jokro,

Okay, thanks :D

jaenneken, in I Made Screen Brightness Control on Gnome Much Better

Sounds great, and is very welcome! Please merge. Thank you. Do you guys have any idea why ddc/ci controls for brightness control of external screens are not yet implemented in any major De? It’s the same on windows, still not part of the Os. Third party tools available since ages.

cole,
@cole@lemdro.id avatar

there is a ddcci dkms driver that exposes displays as Linux backlight devices. That integrates them into all DEs!

jaenneken,

But are there any DEs that make use of this and include setting screen brightness on external screens as easy as for laptops? Is it because each screen manufacturer implements altering brightness/contrast/etc. via ddcci differently?

cole, (edited )
@cole@lemdro.id avatar

yes, all of them. That’s how laptop screen brightness is controlled

rattking, in what caused you to get into Linux?
@rattking@lemmy.ml avatar

Windows 9x was really, really unstable. I couldn’t believe how much more stable and convenient (packages managers) this free OS created by volunteers was. And around 2000, once I started building machines with Linux support in mind it’s been all I run. I’d say I’m obsessed.

pg_jglr,

Exactly the same story for me, the free Linux cost didn’t hurt either.

endhits, in what caused you to get into Linux?

Saw what windows 11 was going to be like and figured I should bail and learn Linux before I had to move over. Been just under 2 years on Linux. Don’t regret my decision.

init,

Same. I heard MS was checking out the possibility of adding advertising in the file explorer. I don’t know the veracity of the reports or where I saw them, but it spooked me enough that I knew I needed to get started familiarizing myself with something else before I had no options.

I’ll never go back. Ever.

punkwalrus, in what caused you to get into Linux?
@punkwalrus@lemmy.world avatar

Being poor. In college in the 90s, my lead sysadmin couldn’t afford Minix for this system we had, so we tried to compile Linux on it. Three days later, we still failed, and gave up, but this was kernel 0.93 or something, so it had a ways to go. But I learned so much from that experience without paying for a university course or something.

Years later, I bought a copy of Red Hat 6 at a Costco. Windows 95/98 was big, I didn’t know how to pirate it, so I went back to Linux and it worked great on my “franken-puters” cobbled together from spare parts dumpster diving. Steep learning curve back then, though. Then I brought it to my workplace, went from UNIX admin to Linux admin, and soon I preferred it to Windows. Been my daily driver for decades, now.

Am I an evangel? A little, but I find that “right tool for right job” is a better approach. Linux is great for everything, BUT a comprehensive system like MS Office AND Active Directory simply does not exist in FOSS space yet; everything is cobbled together and a kludge still trying to catch up.

Obsessed? Kinda. I just assembled some ansible scripts to roll my own distro. Why? To see if I could.

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