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

linuxmemes

20987 readers
1481 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!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] marcos@lemmy.world 1 points 2 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 2 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 2 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 2 months ago (1 children)
    [–] uranibaba@lemmy.world 1 points 2 months ago

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