user29395: If I have 24/7 running bitcoind on a headless server, is there a graphical way to connect, maybe only temporarily to the server's Bitcoin Core daemon or its client to see if everything is going smoothly on the server?

user29395: I found a plausible answer which did not work for me, but almost!
To start it up, follow this:

Install xpra both on the server, and on the client. On Debian-like OS it would be:
sudo apt-get install -y xpra

Temporarily stop the Bitcoin Core daemon on the server:
bitcoin-cli stop

Over the first SSH connection, start xpra on the server like this:
xpra start :7

Over the second SSH connection, start bitcoin-qt on the server like this:
DISPLAY=:7 bitcoin-qt

Connect xpra from the client to the server like this:
xpra attach ssh:SERVER-IP:7


After you have finished your work, follow this:

Close Bitcoin-Qt on the client
Press CTRL+C in this window and close it:

xpra attach ssh:SERVER-IP:7


Press CTRL+D in this window and close it:

DISPLAY=:7 bitcoin-qt


Press CTRL+C in this window and don't close it:

xpra start :7


Issue this command in the SSH session to the server:
xpra stop :7

And finally start your Bitcoin Core daemon again with or without a wallet:
bitcoind -daemon -disablewallet



29395: <p>If I have 24/7 running <code>bitcoind</code> on a headless server, is there a graphical way to connect, maybe only temporarily to the server's Bitcoin Core daemon or its client to see if everything is going smoothly on the server?</p>
 29395: <p>I found <a href="https://bitcoin.stackexchange.com/questions/9530/easiest-way-to-control-a-remote-bitcoind-instance">a plausible answer</a> which did not work for me, but almost!</p>

<p><strong>To start it up, follow this:</strong></p>

<ol>
<li><p>Install <a href="https://en.wikipedia.org/wiki/Xpra" rel="nofollow noreferrer"><code>xpra</code></a> both on the server, and on the client. On Debian-like OS it would be:</p>

<pre><code>sudo apt-get install -y xpra
</code></pre></li>
<li><p>Temporarily stop the Bitcoin Core daemon on the server:</p>

<pre><code>bitcoin-cli stop
</code></pre></li>
<li><p>Over the first SSH connection, start <code>xpra</code> on the server like this:</p>

<pre><code>xpra start :7
</code></pre></li>
<li><p>Over the second SSH connection, start <code>bitcoin-qt</code> on the server like this:</p>

<pre><code>DISPLAY=:7 bitcoin-qt
</code></pre></li>
<li><p>Connect <code>xpra</code> from the client to the server like this:</p>

<pre><code>xpra attach ssh:SERVER-IP:7
</code></pre></li>
</ol>

<p><strong>After you have finished your work, follow this:</strong></p>

<ol>
<li><p>Close <a href="https://en.bitcoin.it/wiki/Bitcoin_Core" rel="nofollow noreferrer">Bitcoin-Qt</a> on the client</p></li>
<li><p>Press <kbd>CTRL</kbd>+<kbd>C</kbd> in this window and close it:</p>

<blockquote>
<pre><code>xpra attach ssh:SERVER-IP:7
</code></pre>
</blockquote></li>
<li><p>Press <kbd>CTRL</kbd>+<kbd>D</kbd> in this window and close it:</p>

<blockquote>
<pre><code>DISPLAY=:7 bitcoin-qt
</code></pre>
</blockquote></li>
<li><p>Press <kbd>CTRL</kbd>+<kbd>C</kbd> in this window and don't close it:</p>

<blockquote>
<pre><code>xpra start :7
</code></pre>
</blockquote></li>
<li><p>Issue this command in the SSH session to the server:</p>

<pre><code>xpra stop :7
</code></pre></li>
<li><p>And finally start your Bitcoin Core daemon again with or without a wallet:</p>

<pre><code>bitcoind -daemon -disablewallet
</code></pre></li>
</ol>
