user11928: 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 stop
bitcoin-qt: cannot connect to xserver
What is the proper way to terminate/stop safely my bitcoin-qt process? 

user5292: kill <PID> should just work fine.

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

<p>What is the proper way to terminate/stop safely my bitcoin-qt process? </p>
 5292: <p><code>kill &lt;PID&gt;</code> should just work fine.</p>
