Sorry if this kind of question isn’t allowed here, but I’m at my wit’s end. VB randomly started launching on startup about 2 weeks ago (on EndeavourOS) and I can’t figure out why. There’s no shortcut in ~/config/autostart, it isn’t in the KDE startup apps list, and I can’t find anything virtualbox-related with systemctl either. There’s also no setting in the VB app itself. WTF?

  • pelya@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    6 days ago

    Your viruses installed themselves a Windows virtual machine to run properly?

  • Tiempo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 days ago

    It’s not a VB problem. I have the same issue with other programs too in Endeveaour OS. It appears that when you turn off the machine sometime a program get “stuck” and will keep auto starting itself without reason. The first time it happened to me it went away after an update, but now I’m having Firefox and Strawberry starting themselves just because they feel it.

    My hypothesis is that if you shutdown the machine without closing a program it gets stuck. How to get rid of it? I still have no idea

  • snooggums@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 days ago

    https://www.baeldung.com/linux/virtualbox-vm-start-on-boot

    To successfully automate a VirtualBox VM to start at boot time, we must ensure we’re running VirtualBox version 5 and above.

    By default, after installing VirtualBox, the vboxautostart-service unit file should exist in the /etc/systemd/system/ directory.

    Alternatively, for systems missing the vboxautostart service, we can create a custom systemd unit file that will contain our configurations to run VirtualBox on boot. systemd is a system and service manager for most Linux-based OSes.

    Didn’t see you mention the autostart-service, and the article is recent enough that maybe it was added as part of an update?

    • cygnusOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 days ago

      vboxautostart.service does not exist

  • BCsven
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 days ago

    Anything in /etc/systemd/system as vboxautostart?

    Anything in /etc/default/ virtualbox file?

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    Try to exclude it from being restored on KDE startup. There could be something running in the background that keeps getting saved and restored. Go to System Settings, System, Desktop Session, put virtualbox in the ignored applications list. You can also just choose “Start with an empty session” and then relog to see if that stops it from coming back, then you’ll know if this is causing your problem or not. Good luck!

    • cygnusOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      I was feeling good about this one, but that didn’t work either.