<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bisq.wiki/index.php?action=history&amp;feed=atom&amp;title=Remote_control_via_web_browser_using_xpra</id>
	<title>Remote control via web browser using xpra - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bisq.wiki/index.php?action=history&amp;feed=atom&amp;title=Remote_control_via_web_browser_using_xpra"/>
	<link rel="alternate" type="text/html" href="https://bisq.wiki/index.php?title=Remote_control_via_web_browser_using_xpra&amp;action=history"/>
	<updated>2026-04-13T04:37:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://bisq.wiki/index.php?title=Remote_control_via_web_browser_using_xpra&amp;diff=3197&amp;oldid=prev</id>
		<title>SuddenWhipVapor at 13:57, 12 May 2023</title>
		<link rel="alternate" type="text/html" href="https://bisq.wiki/index.php?title=Remote_control_via_web_browser_using_xpra&amp;diff=3197&amp;oldid=prev"/>
		<updated>2023-05-12T13:57:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:57, 12 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Sometimes you just want to avoid running Bisq on your main PC, having to leave it always on to have your offers visible, you would rather have more free resources to play videogames instead, or you just have that home server that's lying there underused while it could also host a bitcoin node AND your Bisq instance; but you also want to control that Bisq instance remotely, while in front of your laptop, and you do not want to install anything more on said laptop but use whatever software you already have. Anything else? I hope not.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This guide will have you follow the steps needed to run Bisq on a headless server (could even be a VPS), running Linux (preferably Debian or one of its derivatives), and accessing it using a web browser as if you were in front of the application itself (tested with Firefox, should work with any other major alternative).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This guide will have you follow the steps needed to run Bisq on a headless server (could even be a VPS), running Linux (preferably Debian or one of its derivatives), and accessing it using a web browser as if you were in front of the application itself (tested with Firefox, should work with any other major alternative).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SuddenWhipVapor</name></author>
		
	</entry>
	<entry>
		<id>https://bisq.wiki/index.php?title=Remote_control_via_web_browser_using_xpra&amp;diff=3196&amp;oldid=prev</id>
		<title>SuddenWhipVapor: Created page with &quot;Sometimes you just want to avoid running Bisq on your main PC, having to leave it always on to have your offers visible, you would rather have more free resources to play vide...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bisq.wiki/index.php?title=Remote_control_via_web_browser_using_xpra&amp;diff=3196&amp;oldid=prev"/>
		<updated>2023-05-12T12:28:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sometimes you just want to avoid running Bisq on your main PC, having to leave it always on to have your offers visible, you would rather have more free resources to play vide...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sometimes you just want to avoid running Bisq on your main PC, having to leave it always on to have your offers visible, you would rather have more free resources to play videogames instead, or you just have that home server that's lying there underused while it could also host a bitcoin node AND your Bisq instance; but you also want to control that Bisq instance remotely, while in front of your laptop, and you do not want to install anything more on said laptop but use whatever software you already have. Anything else? I hope not.&lt;br /&gt;
&lt;br /&gt;
This guide will have you follow the steps needed to run Bisq on a headless server (could even be a VPS), running Linux (preferably Debian or one of its derivatives), and accessing it using a web browser as if you were in front of the application itself (tested with Firefox, should work with any other major alternative).&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
As a rule of thumb, at least 1GB of free RAM is needed, as are 2GB of disk space, on an amd64 architecture (no Raspberry Pi will work, nor old 32bit CPUs, while your average 64bit desktop CPU will run just fine).&lt;br /&gt;
&lt;br /&gt;
== Installing xpra ==&lt;br /&gt;
&lt;br /&gt;
As customary, update your system:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt update&lt;br /&gt;
sudo apt dist-upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For good measure, add xpra repository&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo nano /etc/apt/sources.list&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Add the following to bottom of file and then save with '''Ctrl-X''' followed by '''Y'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deb https://xpra.org/ bullseye main # edit &amp;quot;bullseye&amp;quot; with your version if needed&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Add xpra GPG key&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;wget -q https://xpra.org/gpg.asc -O- | sudo apt-key add -&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Refresh repositories&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt update&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
and install&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt install xpra&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Verify&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;xpra --version&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing Bisq from source ==&lt;br /&gt;
&lt;br /&gt;
We are going to run Bisq on a headless system (no desktop environment) so installing the deb file will most likely not work. Since we are nerds and like to do things the hard way, we will get the source from github, and build the application ourselves.&lt;br /&gt;
&lt;br /&gt;
=== Create Bisq user ===&lt;br /&gt;
&lt;br /&gt;
If you deem it functional, add a user specifically for Bisq&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo adduser --gecos &amp;quot;&amp;quot; --disabled-password bisq&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
=== Install git and Java ===&lt;br /&gt;
&lt;br /&gt;
We will need the git package to clone Bisq repository, and Java so that Bisq will run&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt install default-jre default-jdk git&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
=== Prepare paths for Bisq ===&lt;br /&gt;
&lt;br /&gt;
Move in a folder where you want the &amp;lt;code&amp;gt;bisq&amp;lt;/code&amp;gt; application folder to reside, we will use the &amp;lt;code&amp;gt;bisq&amp;lt;/code&amp;gt; user as per the example above, and the custom &amp;lt;code&amp;gt;myapps&amp;lt;/code&amp;gt; subfolder of your home (you can place it direcly in home, or wherever you please where the running user has r/w access)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo su - bisq&lt;br /&gt;
mkdir -p myapps&lt;br /&gt;
cd myapps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Install Bisq ===&lt;br /&gt;
	&lt;br /&gt;
Clone the latest version repository and compile the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone --branch release/v1.9.10 https://github.com/bisq-network/bisq # change 1.9.10 with current latest version&lt;br /&gt;
cd bisq&lt;br /&gt;
./gradlew build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use Bisq remotely ==&lt;br /&gt;
&lt;br /&gt;
Now the fun begins, as you can run bisq through xpra:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;xpra start :100 --bind-tcp=0.0.0.0:9876 --html=on --start=/home/bisq/myapps/bisq/bisq-desktop&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Then, from the browser on your local machine, go to &amp;lt;code&amp;gt;remoteserverip:9876&amp;lt;/code&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
It will load into a GUI, where you should see your Bisq app barely showing in the bottom right corner; if that happens, click on the &amp;quot;images/windows&amp;quot; icon in the top floating menu, you should see a list of Bisq windows; press the &amp;quot;maximize&amp;quot; icon to show the windows on your screen, and then act accordingly. The same menu action might be needed when popups are shown, as in order to interact with buttons in said popups you sometimes have to manually focus on the popup via the floating menu.&lt;br /&gt;
&lt;br /&gt;
When you have to restart Bisq for any reason (for example to refresh tor files, to resync SPV or DAO state) you have to run, on the remote machine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xpra stop :100 # to stop the running xpra instance&lt;br /&gt;
xpra stop :100 # once more, to REALLY stop the running xpra instance (sometimes it won't work with just one call, especially when restarting Bisq)&lt;br /&gt;
xpra start :100 --bind-tcp=0.0.0.0:9876 --html=on --start=/home/bisq/myapps/bisq/bisq-desktop # to restart Bisq through xpra&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
This command will make you wait 20s as a timeout to fully close any existing xpra sessions, after which the application will be launched. You should make the above lines into an executable script, so you can just launch that and have it (re)start Bisq:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /home/bisq&lt;br /&gt;
nano bisqxpra&lt;br /&gt;
# add the above lines in the file and then save with Ctrl-X and press Y&lt;br /&gt;
chmod +x bisqxpra&lt;br /&gt;
./bisqxpra #launch Bisq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tips ==&lt;br /&gt;
When you want to restart Bisq, you could just execute the above script, but it would terminate Bisq in a potentially breaking way, so it's best to first log into the web interface, close Bisq using the window close button, and only then start the script.&lt;br /&gt;
&lt;br /&gt;
Want to use a custom data folder, just like you maybe used a custom application folder? Add the relevant parameter to the Bisq command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# make sure you leave the quotes in, to enclose the command to start as a single entity&lt;br /&gt;
xpra start :100 --bind-tcp=0.0.0.0:9876 --html=on --start=&amp;quot;/home/bisq/myapps/bisq/bisq-desktop --appData=/home/bisq/myapps/bisq-data&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
Want to add password authentication, so the Bisq instance isn't accessible to just anyone finding its port on the local network?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# replace password123 with your password, no need for advanced security as anyone able to access your remote server to see this, will have also access to Bisq anyway&lt;br /&gt;
xpra start :100 --bind-tcp=0.0.0.0:9876,auth=password:value=password123 --html=on --start=&amp;quot;/home/bisq/myapps/bisq/bisq-desktop --appData=/home/bisq/myapps/bisq-data&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>SuddenWhipVapor</name></author>
		
	</entry>
</feed>