home.social

#logind — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #logind, aggregated by home.social.

fetched live
  1. Desde hace algunos días mi PC se apagaba sola de vez en cuando de manera aleatoria 😓

    1️⃣ En primer momento pensé que era la fuente (es un poco chica para lo que consume), pero de ser así fallaría siempre igual.

    2️⃣ Otra opción: que esté fallando el botón de encendido y envíe la señal de apagado sin que lo haya presionado.

    👉️ Cargué esta opción en el /etc/systemd/logind.conf:

    HandlePowerKey=ignore

    Y hasta ahora parece funcionar 🤞

    Digo, por si le sirve a alguien!

    #archlinux #systemd #logind

  2. Desde hace algunos días mi PC se apagaba sola de vez en cuando de manera aleatoria 😓

    1️⃣ En primer momento pensé que era la fuente (es un poco chica para lo que consume), pero de ser así fallaría siempre igual.

    2️⃣ Otra opción: que esté fallando el botón de encendido y envíe la señal de apagado sin que lo haya presionado.

    👉️ Cargué esta opción en el /etc/systemd/logind.conf:

    HandlePowerKey=ignore

    Y hasta ahora parece funcionar 🤞

    Digo, por si le sirve a alguien!

    #archlinux #systemd #logind

  3. Is there a way to run a script when I log out of ssh to a Linux server?

    Somewhere in all this / user session setup, isn't there some hook that runs when a user session is closed?

  4. Is there a way to run a script when I log out of ssh to a Linux server?

    Somewhere in all this #systemd / #logind user session setup, isn't there some hook that runs when a user session is closed?

  5. I'm setting up a small box for a TV. I wanted to avoid a DM that will only autologin my user. I saw vincent.bernat.ch/en/blog/2021 in #PlanetDebian that uses a systemd unit to let #logind do its work.

    It took me a while to realize I cannot use there vt7 and have to use vt8 as in the example. I'm still not sure why.

    Using #icewm as the desktop. I mostly need to run Firefox (maybe: and/or Kodi) and an occasional terminal. So it's simple and intuitive enough.

  6. I naively thought that #Debian is going to be easier to maintain than #FreeBSD. Well, surprise; getting a working #WiFi is a nightmare. It is ridiculous how hard it is to properly set up #systemd #networking on Debian (so that I don't have to find new hacks whenever I reboot and the old ones stop working). Also, the machine suspends autmagically every 1st boot. And when you disable any suspending then your #X session crashes because #logind fails to start.

    Retreat & roll back.

    #rant