• enumerator4829@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    ·
    4 months ago

    I have a mac I use for some specific tasks. I’ll agree the Apple is, ehh, Apple.

    But mounting network fileshares is dead simple. My SMB share pops right up, authentication works fine, the user interface for it is fine. If I wanted to use it remotely, I’d just export it over my tailnet.

    ’sshfs’ is good for short stints of brief use, but ultimately it breaks on a protocol level as soon as your socket dies, on any OS.

    • SailorMoss@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      4 months ago

      Both the default network mounting options in Gnome and KDE won’t let applications access the network drive. You have to mount using SMB4k or cifutils if you want application access. I’ve not used MacOS in over a decade but that functionality works seamlessly in windows for SMB shares. It’s honestly a minor reason (among others) I went back to windows.

    • toynbee@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Unless supporting a Windows client is an absolute must, I’ve found NFS shares to be far preferable. I’ve experienced quicker speeds, fewer disconnections, and less corruption. The only downside I’ve encountered is the client hanging if the server goes down, but there are solutions to that.

      I will admit I’ve never done anything beyond simple network shares with NFS, so it’s possible that there are use cases (besides involving Windows, by which I also mean Active Directory) is better.

  • muusemuuse@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 months ago

    I use both of these systems daily. They have some issues but are just fine for me. Honestly, they are just opposite extremes and I respect that. They each chose a side.

    Whereas windows makes me scream. It’s absolute horseshit that pretends to claim some middle ground that makes no one happy.

  • Natanox@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 months ago

    <rant>

    Love how this meme once again shows a Linux terminal command (that only works on specific distros) instead of what most users would want (which would work on almost any user-friendly distro), the button in the File Manager to add the network share to your left sidebar.

    Somehow people still believe CLI commands are superior, meanwhile people who just want to get Linux-unrelated shit done (that isn’t IT-related either) don’t understand what exactly happens here and won’t be able to permanently add the share to their file browser this way. Y’know, the way most people would use it in their daily workflow.

    Where Apple fails in proper software integration, Linux fails in feature communication. Instead of properly integrating features (Apple) or providing/focusing on doing things intuitively and accessibly (Linux), both want the user to start thinking their way. And I fucking hate it, it prevents Linux from becoming more popular.

    </rant>

    • banghida@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      4 months ago

      You can click your way to the same feature in Nautilus. No need to even see a terminal.

      • Natanox@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Yeah. You also can edit mounts via GUI tools instead of manipulating fstab. You can configure shares without opening smb.conf. You can do all these things, now if we would just communicate how user-friendly a Linux distro can be that would be nice. Right now it’s still a wild goose chase to find instructions how to do things graphically and therefore accessibly and more safely, as every search first and foremost results in tons of (often time different) CLI commands. And there are too many in the community who counter with disabling or elitist bullshit, as if someone who isn’t into RTFM for every click somehow can’t be allowed to flip a switch. It’s exhausting to fight against these sentiments, especially now where apparently a lot of people suddenly realize that Microsoft and Apple might not be the best idea to trust. People who just want use and trust their computer.

        • y0kai@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          I’m with you on this. I think a youtube / peertube channel providing GUI only tutorials could do quite well and would help to further the linux cause

          I’m too lazy do it, but someone should

          • ddh@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            Yeah, for Windows vs Linux on servers the battle is already won. For desktops it’s more Windows vs GNOME, Windows vs KDE, Windows vs XFCE, etc.

    • Souroak@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      My biggest problem with Linux is that there are 8 ways to solve any problem. Some of these are distro specific, and all of them are THE definitive way to do it depending on who you ask. This comes up for me most when I want to make a change to something or do it again on a new machine.

      For adding another network drive, for example I think oh it’s called samba right and open the terminal and type in samba help. The response is: command not found do you want to install “samba-dc”? Okay so not samba. Oh that’s right I edited a file. Now was it smb.conf? No wait maybe it was fstab.

      It is getting easier as I get more familiar, but I have to wrap my head around every new thing that I want to do. It’s no wonder people don’t have the patience.

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        That’s what you get for dabbling with computers. Of course there’s many ways to do one thing. There’s many ways to do one thing with Lego, for fucks sake. Do you really expect computers to be simpler?

      • AugustWest@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        I know this is just an example, but it is kind of funny.

        User somehow sets up SMB shares on their network. Then is confused by the client?

        • Souroak@lemmy.sdf.org
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          But that’s what I mean, right? I found a guide on how to edit a config file, then after I’ve forgotten how it went, I try to run the client that does exactly the thing I want. I don’t have it installed, so I must not need to, but good luck finding the original guide. Idk, I just spend so much time feeling confused trying to get my dumb little project homeserver to do what I want.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 months ago

      Well, GUIs are even more distro-specific, so it’s either generalisability or user-friendliness. It doesn’t mean that guis don’t have the option.

    • tauren@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      How is sshfs source target distro-specific? That would work anywhere. What would confuse the user is GUI, because we have about 5 major DEs and 10 major file managers that usually don’t even work with sshfs without extra plugins.

      • Natanox@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        We also have ~5 major package managers (which all work differently) with usually 20 different package names depending on the repo, and you chose to ignore that part.

        • tauren@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          I ignore that part because it doesn’t pose a problem for the user. If you’re on a distro X, you know what command to type to install a package using its package manager. For the same reason, OP didn’t care to explain how to power on your computer. Or do you expect a meme to be a comprehensive guide on how to install sshfs on all major distros? Really? Maybe the real problem is that some people don’t understand what a meme is.

          • Natanox@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            You clearly didn’t understand the point of my original rant. Also no, people don’t necessarily know how to use the package manager via CLI. Tools like Discover and Gnome Software exist for a reason, and people who feel more comfortable using them (instead of a CLI, which is a literal black box to common people) get harshly ignored by people who argue exactly like you. This is about accessibility, and these exact discussions are the reason I’m pissed.

            • tauren@lemm.ee
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 months ago

              Oh, I understand. I just don’t expect a meme to solve the accessibility issues. People do use the CLI, they find it convenient, and there is no reason why they can’t make a meme with terminal commands. What I don’t understand is why you act like Linux or OP owe you something. We already have macOS, which offers a fantastic user experience, and we have Windows, which provides some middle ground. Let Linux be Linux. You can also create ‘memes with more accessibility’ if that’s what you think the issue is.

              • Natanox@discuss.tchncs.de
                link
                fedilink
                English
                arrow-up
                0
                ·
                4 months ago

                Dude, I just ranted. I don’t expect this meme to do anything, neither does anyone owe me something. It just showed this general vibe in the community about what they think is “simple” I had the desire to call out here because I think it can be harmful to common users. So I engaged in discourse about this aspect. If you see it differently that’s fine, we probably won’t be friends. Outside of jokes (which I thought I made clear by specifically marking it as a rant) I will keep working on changing desktop’ Linux public image away from only-for-CLI-nerds towards a potentially user-friendly option for everyone (potentially = the distros made to be like that) even if you don’t like that.

                Whatever you think you understand, it certainly isn’t my point. “Let Linux be Linux” makes me question whether you even understand how divers “Linux” is.

                • tauren@lemm.ee
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  4 months ago

                  I’m not going to stop you. I just doubt that ranting under memes is going to leave a dent on the universe.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Somehow people still believe CLI commands are superior

      Something that only a pure enduser would say.

    • AugustWest@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      this meme once again shows a Linux terminal command (that only works on specific distros)

      sshfs only works on certain distros? Oh you mean the apt install part.

      the button in the File Manager to add the network share to your left sidebar.

      I just browse to the network location I want and right click on the view in the file manager and select “add to places”. It will be there on the sidebar until I remove it. Yes it is there after a reboot.

      • absGeekNZ@lemmy.nz
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        But sshfs also works across the internet…quick and dirty file access from anywhere in the world. If you can SSH to a machine, you can get a mountable file system.

        • AugustWest@lemm.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          sshfs also works across the internet…quick and dirty file access from anywhere in the world.

          I almost said that. It was my first thought. But then the people discussing it seemed kind of focused on local networks so…

  • miellaby@jlai.lu
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 months ago

    The post refers SSHFS which is based upon FUSE, a very neat technology in the Linux kernel which allows a non-kernel develloper - says a python developer-to turn anything into a hierarchy of files and folders, that you can access and modify with your regular local applications. When I says anything, I’m dead serious, FUSE may turn the whole internet into a fake browsable tree of local files on your system. On windows, you have to write a fake disk driver to mimic a fraction of the feature. I don’t know ios but I guess Apple wouldn’t never allow such a wizardry by design.

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Running both Linux and macOS on a daily basis… They’re both completely competent, and have basically the same amount of rough edges once you dig in and get your hands dirty. If you find one of them impossibly difficult, it’s a skill issue.

    • Anivia@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Yes. I run PopOS and Hackintosh on my Thinkpad, use the new M4 Mac Mini as my main desktop (with hopes of Asahi Linux support in the future), and run unRAID on my completely overpowered Ryzen 5900x NAS, where I have a Win10 LTSC VM for the rare occasion I need to run software that only runs on x86 Windows.

      I would prefer to only use Linux if I could, but MacOS is very competent and far superior to Windows in my opinion. I have never had any issues accessing my unRAID shares on it

  • jaybone@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    I’ve been considering rsync

    I need to run git operations from a laptop (on a vpn) but I can’t build from the laptop, I can only build from a host that is only accessible on the vpn.

    So I can only git pull / git push from the laptop, but I can only build / run / test from a remote host.

    Linux on both sides. What’s the best solution here?

    • PoolloverNathan@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Detach the laptop’s head, then git clone from it over SSH on your build server. When you’re done, git push will update your laptop’s branches, then you can git push origin the relevant branches on your laptop.

    • Aux@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      If you can SSH into a remote host, you can git push to it directly from your laptop.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Why can you not run git on the server? If it’s a credential thing, you can forward it through the SSH connection.

      • FuglyDuck@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        would you believe me if I said I meant bowler cap? or maybe a top hat?

        (and this is where I find out that Hannah Montana linux uses a top hat for a logo, lol)

        • 4am@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          dnf users all wear Trilbies, call them Fedoras, and do not shave below the chin 😉

        • SynopsisTantilize@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          This is on the back of the box they sent me for my Hannah Montana distro disk;

          “Hannah Montana Linux Distro doesn’t do normal hats. It’s all about drunk cowboy hats that make your terminal look like it’s tripping on glitter and sparkly headbands to remind you your life’s a goddamn trainwreck. You got pink tiaras for when you want to pretend you’re a diva while the system crashes on startup, and don’t even think about the wig hat — it’s the digital equivalent of identity crisis, just like Miley.”

    • beirdobaggins@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      The meme is talking about sshfs.

      For smb, the share would need to be created first.

      Sshfs is pretty nice because it will give you access to all of the files that on the server that you have permissions to access.

            • sporkler@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              4 months ago

              it may be the current political climate of the country I’m living it, but kernel level remote access makes me feel inherently less secure. Don’t get me wrong, I never intend to give up my dumb terminal as my only way to use my computer either.

                • sporkler@lemmy.world
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  4 months ago

                  I wasn’t trying for any ‘gotcha’ moment or anything, my paranoia is just particularly high these days. I apologize if my open rambling about my personal distrusts has caused you undue stress.

            • SteveTech@programming.dev
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 months ago

              Windows Server Core still has a window manager, just all it does show a command prompt very similar to the one in the usual Windows recovery environment.

                • SteveTech@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  4 months ago

                  I never mentioned vulnerabilities, I just wanted to point out that, RDP doesn’t really work without a graphical session, Windows Server Core gets around this by being a graphical session (although very basic).

                  Also I’m not sure, but I don’t think Windows handles RDP on the kernel level, it’s just nicely tied in with DWM and doesn’t have to deal with the multitude of window managers on Linux.

                  Handling RDP on the kernel level does sound like a bad idea security wise, but there should be a better way.

            • AugustWest@lemm.ee
              link
              fedilink
              English
              arrow-up
              0
              ·
              edit-2
              4 months ago

              In the old days we just used X over SSH (xforwarding) and only sent the single application over, no desktop need by running on the host (well technically client as X is backwords).

              I know the user experience difference is ridiculously bad trying to remote into Linux.

              It isn’t. There are lots of tools for this, including using RDP. It is really easy actually. It is a graphical front end tool on KDE.

              The “bad” part is that the user must already be logged in and the client opened because that is how linux works.

              Speaking of modern: I usually just use moonlight for streaming and sunshine for hosting between machines that are on the same network because it is so simple and available in Fdriod for Android devices. You can share apps or the desktop.

              You CAN configure wake on lan and run a script to auto log in a user if you wanted to use it with a machine that is off, but I can agree that that is a few extra steps.

      • fartsparkles@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        NFS is insecure out of the box so typically tunnelled over TLS (not seen it done over SSH since why bother if there’s SFTP?).

        I’d rather a desktop app or a terminal app for remote file systems than install a kext on a mac. Like, kicking stuff out of the kernel was an excellent idea.

        FUSE would knock over my old mac anytime a transfer was longer than an hour or two. Not to mention the vulnerabilities poorly developed or maintained kexts introduce.

        • dblsaiko@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          NFS is insecure out of the box so typically tunnelled over TLS

          Set up Kerberos, it will also give you correct file ownership and then you don’t need any additional tunnel.

          • dblsaiko@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            4 months ago

            Eh, works for me for home use. I just have it running on the same machine as the NFS server. The only thing that bothers me is that I can’t use normal Kerberos for SMB, I’d have to set up Samba AD. Boooo

            I even managed to make it work with just mDNS as I’m currently in a horrible network I don’t control.

        • macniel@feddit.org
          link
          fedilink
          arrow-up
          0
          ·
          4 months ago

          for that I then just use VPN/Wireguard if I really need to access my home server remotely off-site.