I run my bitcoin-qt on headless raspberrypi where it runs pretty smoothly.
The Issue starts when Marco gui crashes via vnc so the Bitcoin-qt GUI is hanging although that deamon is still running as a process when i check with
ps -ax | grep bitcoin
In short I can't access the gui and close it normaly the only way to still access is through ssh and I tried
bitcoin-qt: cannot connect to xserver
What is the proper way to terminate/stop safely my bitcoin-qt process?