this post was submitted on 01 Aug 2024
382 points (100.0% liked)

linuxmemes

21273 readers
1521 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] ImplyingImplications@lemmy.ca 67 points 3 months ago (3 children)
    [–] WhyJiffie@sh.itjust.works 39 points 3 months ago

    Headless often means software that has no graphical interface, and can run in the background. These are usually server software, or something that can run as a server.

    The headless build of Factorio is just the multiplayer server, so you can't play with it, but you can run it so that you and your friends can connect and play on the same same file.
    The normal build can host the server too, afaik that too allows to be started with a CLI command, but the headless version is probably more efficient when you don't need the GUI.

    [–] marcos@lemmy.world 1 points 3 months ago (3 children)

    You say some software is "headless" if you can launch it, log-off your computer and it keeps running.

    I imagine it's a link suitable to use with c-url, but I never even noticed it's there.

    [–] Ephera@lemmy.ml 17 points 3 months ago (1 children)

    Nope, it's their server software. This is a screenshot from the Factorio webpage, which is a video game. So, the normal Linux download is the playable game and you grab the headless download, if you want to host a multiplayer server.

    Your definition of "headless" is also somewhat wonky. It mostly means that it can function without a GUI, e.g. in the case of a server it does I/O via network ports and logs out any events that happen.
    This does often mean that you can log off (which in particular closes the GUI session), and it continues running. But if you launch a headless program underneath your particular user, with which you're then going to log off, then it will close regardless (and not just because your GUI terminal emulator closes).
    Of course, most headless programs will have a SystemD service associated and ideally run under an isolated user anyways, so that will prevent them from being stopped when you log off.

    https://en.wikipedia.org/wiki/Headless_software

    [–] marcos@lemmy.world 5 points 3 months ago

    Oh, the headless version of the game makes much more sense than a headless link.

    But if you launch a headless program underneath your particular user, with which you’re then going to log off, then it will close regardless

    Nohup is your friend.

    [–] Midnight1938@reddthat.com 1 points 3 months ago (1 children)
    [–] uranibaba@lemmy.world 1 points 3 months ago

    I either run it as a service (systemd, cron) or launch a session that is not logged out (tmux).