<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Xpra</id>
	<title>Xpra - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?action=history&amp;feed=atom&amp;title=Xpra"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Xpra&amp;action=history"/>
	<updated>2026-06-10T16:58:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Xpra&amp;diff=748&amp;oldid=prev</id>
		<title>Cbh31 at 21:05, 4 August 2020</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Xpra&amp;diff=748&amp;oldid=prev"/>
		<updated>2020-08-04T21:05:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:05, 4 August 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; 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;xpra attach ssh:myworkstation.ch.private.cam.ac.uk:1&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;xpra attach ssh:myworkstation.ch.private.cam.ac.uk:1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; --ssh=&quot;ssh -l &amp;lt;username&amp;gt;&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cbh31</name></author>
	</entry>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Xpra&amp;diff=375&amp;oldid=prev</id>
		<title>Ajwt3: Created page with &quot;Notes from the COS  Have you encountered xpra? It is basically &quot;screen for X&quot;. I&#039;d strongly advise using it since you&#039;d be able to attach/detach your vmd window from anywhere:...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/thom/wiki/index.php?title=Xpra&amp;diff=375&amp;oldid=prev"/>
		<updated>2018-03-14T10:55:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Notes from the COS  Have you encountered xpra? It is basically &amp;quot;screen for X&amp;quot;. I&amp;#039;d strongly advise using it since you&amp;#039;d be able to attach/detach your vmd window from anywhere:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Notes from the COS&lt;br /&gt;
&lt;br /&gt;
Have you encountered xpra? It is basically &amp;quot;screen for X&amp;quot;. I&amp;#039;d strongly advise using it since you&amp;#039;d be able to attach/detach your vmd window from anywhere:&lt;br /&gt;
&lt;br /&gt;
You need it on both your client machine and the server. It should &amp;quot;just work&amp;quot; if your machine isn&amp;#039;t using the nvidia GL libraries. &lt;br /&gt;
&lt;br /&gt;
xpra start ssh:$REMOTEHOSTNAME:100 --start-child=/usr/local/shared/vmd/1.9.2/64/bin/vmd&lt;br /&gt;
&lt;br /&gt;
More info here:&lt;br /&gt;
&lt;br /&gt;
http://xpra.org/trac/wiki/Usage&lt;br /&gt;
&lt;br /&gt;
Obsidian has the nvidia GL libraries, and you can&amp;#039;t easily seem to use these to render on xdummy or xvfb. Also, nvidia brings in the xserver-xorg-legacy package, which provides a wrapper around Xorg, which in turn breaks other things. ( https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-dummy/+bug/1589447 ) xpra seems to want to use Xorg instead of Xvfb for some reason as well.&lt;br /&gt;
&lt;br /&gt;
OK... so basically, you want to run vmd over ssh somewhere else that is running with nvidia libgl stuff. So, if this works, you can probably write a short shell script or some such to launch the &amp;quot;xpra daemon&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
On your workstation:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install xvfb xpra&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should start things with the mesa libraries instead of the nvidia ones. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xpra start --xvfb &amp;#039;env LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa: Xvfb +extension GLX -screen 0 3840x2560x24+32 -nolisten tcp -noreset&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should say something like Actual log file name is now: /home/$USER/.xpra/:1.log . It should be listening on :1 then (if not, substitute). You can attach, detach, whatever... kind of like screen (RTM).&lt;br /&gt;
&lt;br /&gt;
You can now do things in your ssh session on your workstation like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export DISPLAY=:1 &lt;br /&gt;
LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/mesa: vmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which should launch vmd on :1. You can attach the session from your client computer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xpra attach ssh:myworkstation.ch.private.cam.ac.uk:1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then you should magically see vmd spring into life. Other things you may find useful are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xpra list&lt;br /&gt;
xpra stop :1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ajwt3</name></author>
	</entry>
</feed>