This is an upgrade from 20.04. Login scripts used to work in the previous version. I've had this problem since the upgrade, but wasn't bothered enough by it to ask for help, until now.
I've created a script that runs a virtualbox VM headless. It is one of two scripts that run self-hosted cloud, and Home Assistant. If I add
as the last line, the file is created, and written to. Scripts are located in ~/Custom, and they are marked as executable. They also work as intended if I double-click them, or run them from a terminal. I've started turning off the PC at night, and start it up just before leaving for work, so making these work is a high priority for me so I can have these important items running when I need them. Any help would be greatly appreciated.
Here is the script:
I've created a script that runs a virtualbox VM headless. It is one of two scripts that run self-hosted cloud, and Home Assistant. If I add
Code:
echo "Script did run" > ~/scriptcheck.txt
Here is the script:
Code:
#!/bin/bash vboxmanage startvm "Nextcloud-AIO" --type headless echo "Script does run" > /home/plex/scriptcheck.txt
Comment