<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)]]></title><description><![CDATA[<p dir="auto">Ordinarily, we think of convergence as your phone being your workstation, when connected to the appropriate hardware; and this is desirable b/c a keyboard &amp; mouse are far more effective than a touch interface... it's just quite bulky to carry around in your pocket. In this case the phone is in-charge, and doing everything.</p>
<p dir="auto">There are a few problems with this, of course... for one, no matter how good phone processors get, they will never have the speed/memory/graphics of a PC. Another is that your 'workstation' is not useful without your phone... so you have no backup, and anything that occupies your phone (like a call) could interfere with your ability to use your workstation.</p>
<p dir="auto">At the moment, the only true convergence I feel is on the command line. UBPorts stomps all over the Android shell, and I can open it remotely (ssh) or over usb (adb shell)... scp'ing files to-and-fro. It is truly a world-class app, and (ironically) 1000x more effective and easier to use from my computer than on the phone itself!</p>
<p dir="auto">And that got me thinking... my phone's shell, in effect, is presented to me as any other shell... like any other SSH session... couldn't (roughly) the same thing be accomplished by just reversing the master/slave convergence relationship?</p>
<p dir="auto">I already have a fine PC, and I'm already quite used to using virtual-machines (machines inside windows on my PC), so if I could "just plug in my phone and its screen pops up as a window" (like any other VM)... that would happily solve the majority of my "convergence problems".</p>
<p dir="auto">There are so many little tasks that require "switching to my phone"... looking up a contact, getting a MFA code, changing an alarm time...</p>
<p dir="auto">It would be so much more effecient if I could just do that from my computer, without having the mode-switch, focus-change, unlock-phone, hands-off-keyboard/mouse, swipe/tap, type-on-the-tiny-onscreen-keyboard, etc.</p>
<p dir="auto">Then I wouldn't need a 3rd party app (or service!) to "send an SMS from my computer", or any complicated setup to sync my contacts &amp; text messages... or... anything that my phone already can do well. Truly making workflows mobile-first (as anything I can do on my phone, I can then do on my PC).</p>
<p dir="auto">...and if you think about it... even though the complexity is about the same, this offers you <em>more</em> functionality than classic convergence. It opens the door to copy/paste between your phone &amp; PC... while keeping you used to (and in fact, using) the same apps that are on your phone. I'm so excited at this prospect, I can already imagine even the unity8 live-resize demo (where the interface changes from touch to windowed depending on screen size) only powered by a device I can unplug and take with me!</p>
<p dir="auto">There are probably several ways to implement this, and I would love to hear of anyone's efforts at even basic remote control.</p>
<p dir="auto">I've seen the mirscreencast binaries, so I imagine this is at least technically feasible.</p>
<p dir="auto">I so pine for what I might express as:<br />
ssh -X myphone unity8</p>
]]></description><link>https://forums.ubports.com/topic/1389/reverse-convergence-view-control-your-phone-from-computer-like-vnc-rdp</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 16:55:43 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/1389.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jun 2018 17:50:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Thu, 28 Jun 2018 14:30:01 GMT]]></title><description><![CDATA[<p dir="auto">It occurs to me that this might also help those interested in automated app testing.</p>
]]></description><link>https://forums.ubports.com/post/10158</link><guid isPermaLink="true">https://forums.ubports.com/post/10158</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Thu, 28 Jun 2018 14:30:01 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 21:54:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a> said in <a href="/post/10119">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">the team at Canonical are obliged to prioritise their efforts</p>
</blockquote>
<p dir="auto">Thanks much for the reply.  Yep, I fully agree that the Mir team has higher priorities, and I'm certainly not suggesting that those priorities be changed in the near term.  Rather, I'm just hoping that Wayland remote desktop support eventually appears on the wish list.</p>
<p dir="auto">I suspect you're already fully aware of this, but I'll just note here that, according to a <a href="https://wiki.gnome.org/Projects/Mutter/RemoteDesktop" rel="nofollow ugc">GNOME wiki</a> page, remote desktop functionality isn't directly implemented in Mutter.  Rather, GNOME Remote Desktop and Pipewire (and other applications that want to implement features related to screen casting and/or desktop sharing) can now rely on two APIs that were recently added to libmutter, namely <a href="https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.RemoteDesktop.xml" rel="nofollow ugc">org.gnome.Mutter.RemoteDesktop</a> and <a href="https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.portal.ScreenCast.xml" rel="nofollow ugc">org.gnome.Mutter.ScreenCast</a>.  More information <a href="https://www.ctrl.blog/entry/wayland-gnome-remote-desktop" rel="nofollow ugc">here</a>.  And this seems to be how <a href="https://www.phoronix.com/scan.php?page=news_item&amp;px=F29-Wayland-Remote-Desktop" rel="nofollow ugc">Fedora plans to bring  Wayland remote desktop support to Fedora 29</a>.</p>
<p dir="auto">Forgive the naiveté of my question, for I know not complexity of what I ask, but I wonder:  Would it be feasible to support the above mentioned APIs in Mir?</p>
]]></description><link>https://forums.ubports.com/post/10149</link><guid isPermaLink="true">https://forums.ubports.com/post/10149</guid><dc:creator><![CDATA[GizmoChicken]]></dc:creator><pubDate>Wed, 27 Jun 2018 21:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Thu, 28 Jun 2018 13:33:00 GMT]]></title><description><![CDATA[<p dir="auto">So here is what I'm currently considering...</p>
<p dir="auto">For discussion purposes, I'll give them labels:</p>
<h1>Plan-A: minimal work, a bit hackish, but fully formed plan</h1>
<ul>
<li>Use the existing screencast api (DisplayName::virt) channel to get the visual contents of the screen over the mir socket</li>
<li>phablet-control project starts as a fork from the <code>mirscreencast</code> (or mirscreencast_to_stream) utility</li>
<li>waypoint: phablet-control causes the screen contents to appear in a 'remote' x11 window (so can't use DRI, xv, or the like)</li>
<li>find or create a protocol (protobufs) for sending key/click/mouse-position</li>
<li>if a magic socket path is found, phablet-control will send the relevant x11 events back to mir-android-platform (thus, phablet-control will work in a degraded view-only state on a phone w/o the mir-android-platform modifications)</li>
<li>mir-android-platform is modified to create-and-listen on a magic socket path, and interpret events therefrom</li>
<li>the window will not be resizable, and will always show what is on the screen</li>
<li>there will be a whole lot of network traffic even when idle, since we are basically pushing an uncompressed video stream through it</li>
<li>use of x11 implies no special app is needed on the PC side</li>
</ul>
<h1>Plan-B: more work, more unknowns, better result</h1>
<ul>
<li>create a fourth display in mir-android-platform: <code>DisplayName::remote</code> (?)</li>
<li>replace this step with the results of bribing Alan to disclose the rest of plan-b</li>
<li>resizing the x11 window gives you more/less space (like tablet/desktop mode)</li>
<li>comparing with the previous screen image might save a lot of bandwidth when idle</li>
<li>use of x11 implies no special app is needed on the PC side</li>
<li>since the <code>phablet-control</code> binary is on the phone, we don't have to worry too much about protocol breakage (its upgraded along with the mir-android-platform)</li>
</ul>
<h1>Plan-C: forget x11, USB is faster &amp; more reliable</h1>
<ul>
<li>convince marius to bundle socat with the default image</li>
<li>mir-android-platform gets a new socket w/ undetermined protocol (maybe SPICE?)</li>
<li><code>phablet-control</code> now lives on the PC side, and basically communicates with the socket by starting a child process with:
<ul>
<li><code>adb shell socat UNIX-CONNECT:/run/phablet_control STDIO</code></li>
</ul>
</li>
<li>more bandwidth means happier users</li>
<li>wired means less prone to interference (either way)</li>
<li>lack of x11's network transparency means less flexibility (like controlling your phone you left in the other room)</li>
<li>now we don't need the x11 libraries on the phone side</li>
</ul>
]]></description><link>https://forums.ubports.com/post/10145</link><guid isPermaLink="true">https://forums.ubports.com/post/10145</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Thu, 28 Jun 2018 13:33:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 16:38:26 GMT]]></title><description><![CDATA[<p dir="auto">Alan said this, quite relevant, in the github issue:</p>
<blockquote>
<p dir="auto">The <code>phablet-control</code> program does not need to inject a platform into the Unity8 process, it simply connects to the hypothetical, modified "mir-android-platform" using some as-yet-unspecified mechanism (probably a local socket).</p>
</blockquote>
]]></description><link>https://forums.ubports.com/post/10140</link><guid isPermaLink="true">https://forums.ubports.com/post/10140</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Wed, 27 Jun 2018 16:38:26 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 16:21:40 GMT]]></title><description><![CDATA[<p dir="auto">I'm happy to find that the mesa-x11 packages are already built for arm, and available to the phone... the actual amount of code that needs to be written for this might be incredibly small!</p>
<pre><code>phablet@ubuntu-phablet:/$ apt-cache search mesa | grep -i x11
mir-platform-graphics-mesa-x4 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x5 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x6 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x7 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x8 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x9 - Display server for Ubuntu - platform library for X11 Mesa
mir-platform-graphics-mesa-x10 - Display server for Ubuntu - platform library for X11 Mesa
</code></pre>
]]></description><link>https://forums.ubports.com/post/10138</link><guid isPermaLink="true">https://forums.ubports.com/post/10138</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Wed, 27 Jun 2018 16:21:40 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 08:57:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmochicken" aria-label="Profile: gizmochicken">@<bdi>gizmochicken</bdi></a> said in <a href="/post/10115">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a>:    In a <a href="https://community.ubuntu.com/t/mirs-next-steps-we-need-your-input/2140/26" rel="nofollow ugc">post</a> on the Ubuntu community forums, you mentioned that you aren't planning to add Wayland remote desktop support to Mir any time soon.  Although maybe not soon, do you foresee adding such a feature to Mir at any time in the foreseeable future?</p>
</blockquote>
<p dir="auto">I can see the value of such a feature to the Mir project: Like any open source project, if someone wants to do the work and contribute it then we would all benefit.</p>
<p dir="auto">However, the team at Canonical are obliged to prioritise their efforts: there's more value, for example, from implementing support for logind, for X11 applications, for the xdg-shell (stable) extension, or a number of other Wayland extensions (managing decorations, panels etc.).</p>
<p dir="auto">FWIW Mir is hardly the only Wayland compositor to focus on having "the desktop" working well before planning support for "the remote desktop".</p>
]]></description><link>https://forums.ubports.com/post/10119</link><guid isPermaLink="true">https://forums.ubports.com/post/10119</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Wed, 27 Jun 2018 08:57:48 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 05:54:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a>:    In a <a href="https://community.ubuntu.com/t/mirs-next-steps-we-need-your-input/2140/26" rel="nofollow ugc">post</a> on the Ubuntu community forums, you mentioned that you aren't planning to add Wayland remote desktop support to Mir any time soon.  Although maybe not soon, do you foresee adding such a feature to Mir at any time in the foreseeable future?</p>
]]></description><link>https://forums.ubports.com/post/10115</link><guid isPermaLink="true">https://forums.ubports.com/post/10115</guid><dc:creator><![CDATA[GizmoChicken]]></dc:creator><pubDate>Wed, 27 Jun 2018 05:54:11 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Wed, 27 Jun 2018 00:03:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> said in <a href="/post/10109">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">It's rather interesting, but can [scrcpy] really be expected to ever work with ubports?</p>
</blockquote>
<p dir="auto">I didn’t mean to imply that <a href="https://github.com/Genymobile/scrcpy" rel="nofollow ugc">scrcpy</a> could ever work with Ubuntu Touch, or at least not without major modifications.  Rather, I point to scrcpy as an example of (and possible framework for) what could be created for Ubuntu Touch.</p>
<p dir="auto">For example, in place of the <a href="https://github.com/Genymobile/scrcpy/blob/master/DEVELOP.md" rel="nofollow ugc">scrcpy server</a> on the device, perhaps some sort of Mir platform/module (as mentioned by <a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a> above) could be employed.  And if so, perhaps some of the <a href="https://github.com/Genymobile/scrcpy/blob/master/DEVELOP.md" rel="nofollow ugc">scrcpy client</a> code could be repurposed to work with such a Mir platform.  But, yep, I would suppose that would be a lot of work.</p>
]]></description><link>https://forums.ubports.com/post/10114</link><guid isPermaLink="true">https://forums.ubports.com/post/10114</guid><dc:creator><![CDATA[GizmoChicken]]></dc:creator><pubDate>Wed, 27 Jun 2018 00:03:56 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 21:01:32 GMT]]></title><description><![CDATA[<p dir="auto">In the interest of linking both sides of this reference, I've opened a request-for-comments from the mir group, since they surely know <strong>way</strong> more about this than me:</p>
<ul>
<li><a href="https://github.com/MirServer/mir/issues/430" rel="nofollow ugc">https://github.com/MirServer/mir/issues/430</a></li>
</ul>
]]></description><link>https://forums.ubports.com/post/10110</link><guid isPermaLink="true">https://forums.ubports.com/post/10110</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 21:01:32 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 18:48:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmochicken" aria-label="Profile: gizmochicken">@<bdi>gizmochicken</bdi></a> ... It's rather interesting, but can that really be expected to <strong>ever</strong> work with ubports? I don't think UBports even has java, by default, much less implementing these special attachment points:</p>
<pre><code>import android.annotation.SuppressLint;
import android.graphics.Point;
import android.graphics.Rect;
import android.media.MediaCodec;
import android.media.MediaCodecInfo;
import android.media.MediaFormat;
import android.net.LocalServerSocket;
import android.net.LocalSocket;
import android.net.LocalSocketAddress;
import android.os.Build;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import android.os.SystemClock;
import android.util.Log;
import android.view.InputDevice;
import android.view.InputEvent;
import android.view.IRotationWatcher;
import android.view.KeyCharacterMap;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.Surface;
</code></pre>
]]></description><link>https://forums.ubports.com/post/10109</link><guid isPermaLink="true">https://forums.ubports.com/post/10109</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 18:48:18 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 18:40:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> said in <a href="/post/10107">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">Yes, <a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmochicken" aria-label="Profile: gizmochicken">@<bdi>gizmochicken</bdi></a> ... something very much like Vysor... but (hopefully) without the huge web browser, and open source.</p>
</blockquote>
<p dir="auto">Have a look at the  GitHub page for <a href="https://github.com/Genymobile/scrcpy" rel="nofollow ugc">scrcpy</a>.    Additional info <a href="https://blog.rom1v.com/2018/03/introducing-scrcpy/" rel="nofollow ugc">here</a> and <a href="https://www.genymotion.com/blog/open-source-project-scrcpy-now-works-wirelessly/" rel="nofollow ugc">here</a>.</p>
]]></description><link>https://forums.ubports.com/post/10108</link><guid isPermaLink="true">https://forums.ubports.com/post/10108</guid><dc:creator><![CDATA[GizmoChicken]]></dc:creator><pubDate>Tue, 26 Jun 2018 18:40:48 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 18:28:43 GMT]]></title><description><![CDATA[<p dir="auto">Yes, <a class="plugin-mentions-user plugin-mentions-a" href="/user/gizmochicken" aria-label="Profile: gizmochicken">@<bdi>gizmochicken</bdi></a> ... something very much like Vysor... but (hopefully) without the huge web browser, and open source.</p>
]]></description><link>https://forums.ubports.com/post/10107</link><guid isPermaLink="true">https://forums.ubports.com/post/10107</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 18:28:43 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 18:04:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> said in <a href="/post/10102">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">Although... originally, I was thinking there would have to be <strong>something</strong> special on the computer side for this to work (like a mir server), but I wonder how difficult it would be to make an adapter (similar to what you mentioned), that would <strong>expose a new mir display</strong> over an x11 display protocol.</p>
<p dir="auto">... and the 'phablet-control' binary would add a mir platform (as you mention), and present itself as an x11 frame (e.g. the window size is the reported display size, etc.); and then you wouldn't even need anything special on the PC side!</p>
</blockquote>
<p dir="auto">I'm not implementing this, but on the face of it it would solve more problems that it creates. E.g. there's no need to define and secure a PC-phone protocol.</p>
]]></description><link>https://forums.ubports.com/post/10106</link><guid isPermaLink="true">https://forums.ubports.com/post/10106</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Tue, 26 Jun 2018 18:04:12 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 18:12:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> said in <a href="/post/10051">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">if I could "just plug in my phone and its screen pops up as a window" (like any other VM)... that would happily solve the majority of my "convergence problems".</p>
</blockquote>
<p dir="auto">Are you hoping for something that would work with Ubuntu Touch much like <a href="https://www.vysor.io/" rel="nofollow ugc">Vysor</a> (or <a href="https://www.slashgear.com/view-and-control-your-android-phone-from-your-pc-heres-how-18527765/" rel="nofollow ugc">similar</a>) works with Android?  (Vysor demo video <a href="https://www.youtube.com/watch?v=qAHTini67GA" rel="nofollow ugc">here</a>).  If so, I too would like to see something like that.</p>
<p dir="auto">As for using Vysor with Android, it had some problems when I tried it about a year ago, and I haven’t tried it again recently.</p>
<p dir="auto">I notice that Genymobile (makers of Genymotion Android emulator) is developing <a href="https://github.com/Genymobile/scrcpy" rel="nofollow ugc">scrcpy</a> (which is similar to Vysor) under what appears to be the Apache License.</p>
<p dir="auto">The UBports team is busy with 1,000 other projects.  But something similar to <a href="https://github.com/Genymobile/scrcpy" rel="nofollow ugc">scrcpy</a>, but for use with Ubuntu Touch, would be a great 1,001st project!</p>
]]></description><link>https://forums.ubports.com/post/10105</link><guid isPermaLink="true">https://forums.ubports.com/post/10105</guid><dc:creator><![CDATA[GizmoChicken]]></dc:creator><pubDate>Tue, 26 Jun 2018 18:12:28 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 17:13:46 GMT]]></title><description><![CDATA[<p dir="auto">No... I'm not really interested in x11 forwarding (for the same reasons you mention).</p>
<p dir="auto">Although... originally, I was thinking there would have to be <strong>something</strong> special on the computer side for this to work (like a mir server), but I wonder how difficult it would be to make an adapter (similar to what you mentioned), that would <strong>expose a new mir display</strong> over an x11 display protocol.</p>
<p dir="auto">Sorta like a hacked-down version of miral... or the "opposite" of xmir.</p>
<p dir="auto">Then you <strong>could</strong> do something like:</p>
<pre><code>ssh -X myphone phablet-control
</code></pre>
<p dir="auto">... and the 'phablet-control' binary would add a mir platform (as you mention), and present itself as an x11 frame (e.g. the window size is the reported display size, etc.); and then you wouldn't even need anything special on the PC side!</p>
]]></description><link>https://forums.ubports.com/post/10102</link><guid isPermaLink="true">https://forums.ubports.com/post/10102</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 17:13:46 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 16:45:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> said in <a href="/post/10095">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a> ... If I understand you correctly, this socket-sharing mechanism would then only work for the most trivial case (like an "hello world" example app); because anything that actually tries to interface with an expected phone-like gizmo via mir would not find it.</p>
</blockquote>
<p dir="auto">You're asking about X forwarding?</p>
<p dir="auto">It is feasible to <code>ssh -X myphone</code>, switch to a chroot and then install and run an X11 application e.g. <code>xeyes</code>.</p>
<p dir="auto">The problem is that doesn't give access to phone apps which run on Unity8, e.g. Contacts.</p>
]]></description><link>https://forums.ubports.com/post/10098</link><guid isPermaLink="true">https://forums.ubports.com/post/10098</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Tue, 26 Jun 2018 16:45:44 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 16:32:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alan_g" aria-label="Profile: alan_g">@<bdi>alan_g</bdi></a> ... If I understand you correctly, this socket-sharing mechanism would then only work for the most trivial case (like an "hello world" example app); because anything that actually tries to interface with an expected phone-like gizmo via mir would not find it.</p>
]]></description><link>https://forums.ubports.com/post/10095</link><guid isPermaLink="true">https://forums.ubports.com/post/10095</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 16:32:56 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 15:58:52 GMT]]></title><description><![CDATA[<p dir="auto">This is a nice idea, but there  are no pre-existing components you can plug together to make it work.</p>
<p dir="auto">Here's a way forward...</p>
<p dir="auto">Mir implements "platforms" as loadable modules, and what you need is a platform that, <em>in addition</em> to the input and display hardware on the phone (which are needed for normal use of the phone) will also allow a program running on a PC to emulate both display and input devices.</p>
<p dir="auto">With this, the PC program connecting would seem to Unity8 just like connecting an physical display, keyboard and mouse and allow you to exploit the existing "convergence" support.</p>
<p dir="auto">The "android platform" used by Mir the phone was abandoned by Canonical, so it is entirely  under the control of UBports. Adding this proposed "remote display &amp; input" capability is only a matter of programming.</p>
<hr />
<p dir="auto">Regarding X forwarding...</p>
<p dir="auto">As noted above, you can run some X applications on the phone with X forwarding and have them appear on a PC. But these would typically be installed in a chroot or LXD container so this approach doesn't give you access to the phone applications.</p>
<p dir="auto">It is also possible to use Mir's "Mir-on-X" platform with X forwarding (with a limited number of Mir applications) but even if that could be extended to support the range of applications that Unity8 needs on the phone it would conflict with using the phone as a phone.</p>
]]></description><link>https://forums.ubports.com/post/10091</link><guid isPermaLink="true">https://forums.ubports.com/post/10091</guid><dc:creator><![CDATA[alan_g]]></dc:creator><pubDate>Tue, 26 Jun 2018 15:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 15:17:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/osndok" aria-label="Profile: osndok">@<bdi>osndok</bdi></a> I personally tested that and it works more or less in the way you can open an app which is sitting into your phone popping it up straight on your desktop computer.</p>
]]></description><link>https://forums.ubports.com/post/10090</link><guid isPermaLink="true">https://forums.ubports.com/post/10090</guid><dc:creator><![CDATA[matteo]]></dc:creator><pubDate>Tue, 26 Jun 2018 15:17:45 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 15:14:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/matteo" aria-label="Profile: matteo">@<bdi>matteo</bdi></a> ... I <strong>am</strong> aware of X forwarding, but not how it might be leveraged to actually use any of the touch apps.</p>
]]></description><link>https://forums.ubports.com/post/10089</link><guid isPermaLink="true">https://forums.ubports.com/post/10089</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 15:14:13 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 15:05:51 GMT]]></title><description><![CDATA[<p dir="auto">I don't know if this is exactly what you are looking for @Osndok...but I feel that your convergence vision it kind of something close to what this guy shows in this post (in particular where he explains about X-forwarding): <a href="http://kriscode.blogspot.com/2017/12/ssh-and-ubuntu-touch.html?_sm_au_=iqVPQf6tP4LHLfQ3" rel="nofollow ugc">Kris's blog</a></p>
<p dir="auto">Have a look <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=e53896fb3af" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forums.ubports.com/post/10088</link><guid isPermaLink="true">https://forums.ubports.com/post/10088</guid><dc:creator><![CDATA[matteo]]></dc:creator><pubDate>Tue, 26 Jun 2018 15:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 15:11:12 GMT]]></title><description><![CDATA[<p dir="auto">So this is as far as I got... apparently there is a version mismatch between ubports and upstream mir, so ATM this does not work. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=e53896fb3af" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":-(" alt="😞" /></p>
<h2>Once: install mir on your PC</h2>
<pre><code>sudo dnf install mir-demos qterminal socat
</code></pre>
<h2>Once: install socat on the phone</h2>
<pre><code>adb shell
sudo bash
&lt;enter unlock code/password&gt;
mount -o remount,rw /
apt-get update
apt-get install socat
mount -o remount,ro /
</code></pre>
<h1>Each time</h1>
<pre><code>miral-app
SOCKET=$(ls /run/user/*/miral_socket)

socat UNIX-CONNECT:$SOCKET EXEC:'adb shell socat STDIO UNIX-LISTEN\:/tmp/display2,reuseaddr' &amp;

adb shell MIR_SOCKET=/tmp/display2 unity8-dash
</code></pre>
<h2>FAILURE</h2>
<p dir="auto">mirserver: Rejected and disconnected a client (<strong>Unsupported protocol version</strong>)</p>
]]></description><link>https://forums.ubports.com/post/10087</link><guid isPermaLink="true">https://forums.ubports.com/post/10087</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 15:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 14:18:54 GMT]]></title><description><![CDATA[<p dir="auto">Oh... I see... there is no control channel. This is the wifi display link, the miracast protocol or a hardware dongle, etc.</p>
]]></description><link>https://forums.ubports.com/post/10086</link><guid isPermaLink="true">https://forums.ubports.com/post/10086</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 14:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?) on Tue, 26 Jun 2018 14:15:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tera" aria-label="Profile: tera">@<bdi>tera</bdi></a> said in <a href="/post/10083">Reverse Convergence? View &amp; control your phone from computer (like VNC &amp; RDP?)</a>:</p>
<blockquote>
<p dir="auto">Convergence over wireless</p>
</blockquote>
<p dir="auto">Is there a place I can find out more about this wireless convergence? This is the first I've heard of it!</p>
]]></description><link>https://forums.ubports.com/post/10085</link><guid isPermaLink="true">https://forums.ubports.com/post/10085</guid><dc:creator><![CDATA[Osndok]]></dc:creator><pubDate>Tue, 26 Jun 2018 14:15:26 GMT</pubDate></item></channel></rss>