I turned on SSH and after running grin wallet listen / owner_api for a while, it was always disconnected.
I donot know if there is a command to let grin miner run in the server background.
Important: you need to enter your password to perform grin wallet listen/owner_api