<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>

CC BY-SA 3.0
2016-05-27T09:36:49.473Z
2016-11-28T09:44:37.023Z
2016-11-28T09:44:37.023Z
Vlastimil Burián
<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>

<bitcoind><bitcoin-core>
How to connect to a remote Bitcoin Core remotely
Vlastimil Burián
# How to connect to a remote Bitcoin Core remotely

(Asked by: username_0 on 2016-05-27)

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?

**Tags:** bitcoind, bitcoin-core


---

## 1 answers

### Answer by username_0 on 2016-05-27. Score: 1 | Accepted answer

I found [a plausible answer](https://bitcoin.stackexchange.com/questions/9530/easiest-way-to-control-a-remote-bitcoind-instance) which did not work for me, but almost!

**To start it up, follow this:**

1. Install [`xpra`](https://en.wikipedia.org/wiki/Xpra) both on the server, and on the client. On Debian-like OS it would be:

   ```
   sudo apt-get install -y xpra

   ```
2. Temporarily stop the Bitcoin Core daemon on the server:

   ```
   bitcoin-cli stop

   ```
3. Over the first SSH connection, start `xpra` on the server like this:

   ```
   xpra start :7

   ```
4. Over the second SSH connection, start `bitcoin-qt` on the server like this:

   ```
   DISPLAY=:7 bitcoin-qt

   ```
5. Connect `xpra` from the client to the server like this:

   ```
   xpra attach ssh:SERVER-IP:7

   ```

**After you have finished your work, follow this:**

1. Close [Bitcoin-Qt](https://en.bitcoin.it/wiki/Bitcoin_Core) on the client
2. Press `CTRL`+`C` in this window and close it:

   > ```
   > xpra attach ssh:SERVER-IP:7
   >
   > ```
3. Press `CTRL`+`D` in this window and close it:

   > ```
   > DISPLAY=:7 bitcoin-qt
   >
   > ```
4. Press `CTRL`+`C` in this window and don't close it:

   > ```
   > xpra start :7
   >
   > ```
5. Issue this command in the SSH session to the server:

   ```
   xpra stop :7

   ```
6. And finally start your Bitcoin Core daemon again with or without a wallet:

   ```
   bitcoind -daemon -disablewallet

   ```


---

