<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Remote Desktop on Ivon&#39;s Blog</title>
    <link>https://ivonblog.com/en-us/tags/remote-desktop/</link>
    <description>Recent content in Remote Desktop on Ivon&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</managingEditor>
    <webMaster>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</webMaster>
    <copyright>You are welcome to share articles from Ivon&#39;s blog (ivonblog.com). Please cite the source article URL when sharing. All article content is licensed under a Creative Commons Attribution-ShareAlike 4.0 license, unless otherwise stated. For commercial use, please contact me first.</copyright>
    <lastBuildDate>Sun, 31 Dec 2023 14:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/en-us/tags/remote-desktop/index.xml" rel="self" type="application/rss+xml" />
    <follow_challenge>
      <feedId>56005902658351104</feedId>
      <userId>1132431067563556864</userId>
    </follow_challenge>
    
    
    <item>
      <title>Make a Linux Remote Desktop Friendly for Phone Controls</title>
      <link>https://ivonblog.com/en-us/posts/remote-desktop-linux-mobile-friendly-ui/</link>
      <pubDate>Sun, 31 Dec 2023 14:00:00 +0800</pubDate>
      <author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author>
      <guid>https://ivonblog.com/en-us/posts/remote-desktop-linux-mobile-friendly-ui/</guid>
      
      <description>&lt;!-- Co-translated by ChatGPT --&gt;&#xA;&lt;p&gt;Remotely control your Linux from Android with a mobile-friendly UI.&lt;/p&gt;&#xA;&lt;p&gt;Computer screens are horizontal. Phone screens are vertical. Remote control is awkward. I want to scroll my computer while scrolling my phone.&lt;/p&gt;&#xA;&lt;p&gt;Someone on Reddit tried a similar idea: &lt;a href=&#34;https://www.reddit.com/r/Windows10/comments/83io67/win10_remote_desktop_tablet_mode_poor_mans/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Win10 Remote Desktop + tablet mode = poor man&amp;rsquo;s Windows Phone&amp;hellip; great over LAN&lt;/a&gt;. They used Windows 10 tablet mode to turn the computer into a Windows Phone-style interface over remote desktop.&lt;/p&gt;&#xA;&lt;p&gt;This concept is a bit convoluted. Fine, let&amp;rsquo;s call it &amp;ldquo;turning a computer into a cloud phone.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;The goal is to make the remote desktop experience on a phone less painful.&lt;/p&gt;</description>
      <content:encoded>&lt;!-- Co-translated by ChatGPT --&gt;&#xA;&lt;p&gt;Remotely control your Linux from Android with a mobile-friendly UI.&lt;/p&gt;&#xA;&lt;p&gt;Computer screens are horizontal. Phone screens are vertical. Remote control is awkward. I want to scroll my computer while scrolling my phone.&lt;/p&gt;&#xA;&lt;p&gt;Someone on Reddit tried a similar idea: &lt;a href=&#34;https://www.reddit.com/r/Windows10/comments/83io67/win10_remote_desktop_tablet_mode_poor_mans/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Win10 Remote Desktop + tablet mode = poor man&amp;rsquo;s Windows Phone&amp;hellip; great over LAN&lt;/a&gt;. They used Windows 10 tablet mode to turn the computer into a Windows Phone-style interface over remote desktop.&lt;/p&gt;&#xA;&lt;p&gt;This concept is a bit convoluted. Fine, let&amp;rsquo;s call it &amp;ldquo;turning a computer into a cloud phone.&amp;rdquo;&lt;/p&gt;&#xA;&lt;p&gt;The goal is to make the remote desktop experience on a phone less painful.&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Overview&#xA;    &lt;div id=&#34;overview&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#overview&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;In recent years, Linux mobile operating systems such as postmarketOS and Mobian have appeared one after another. Along with the PinePhone&amp;rsquo;s release, the Linux community developed corresponding phone interfaces such as Phosh, Plasma Mobile, and SXMO. Linux now also has many programs optimized for touchscreens.&lt;/p&gt;&#xA;&lt;p&gt;The Linux UI that best fits both computers and phones might be GNOME. Unfortunately, it still does not handle dynamic resolution switching well, so let&amp;rsquo;s use a dedicated UI instead.&lt;/p&gt;&#xA;&lt;p&gt;The current candidates are &amp;ldquo;Phosh&amp;rdquo; and &amp;ldquo;Plasma Mobile&amp;rdquo;. Since I use Plasma as my main desktop, I chose the latter.&lt;/p&gt;&#xA;&lt;p&gt;Linux can install multiple desktop environments. As long as we install both Plasma and Plasma Mobile, we can switch between phone and desktop Linux interfaces.&lt;/p&gt;&#xA;&lt;p&gt;For remote desktop software, I chose &lt;a href=&#34;https://ivonblog.com/posts/weylus-use-tablet-as-graphic-tablet/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Weylus&lt;/a&gt;, which supports Wayland and touch gestures.&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Option 1: Plasma Mobile&#xA;    &lt;div id=&#34;option-1-plasma-mobile&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#option-1-plasma-mobile&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;On Arch Linux, Plasma Mobile has to be installed from the AUR:&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;yay -S plasma-mobile&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Reboot, then select Plasma Mobile (Wayland) in SDDM.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Start the remote desktop software Welyus and enable Wayland support.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;After connecting from the phone browser, you can control the Linux computer with a mobile UI.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;But most computer screens are landscape, which creates a problem: Wayland cannot force a &amp;ldquo;portrait&amp;rdquo; resolution. So I used screen rotation instead. The projected result looks like this:&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/B37692CA4478.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    &gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;The remote Plasma Mobile view on an Android device:&#xA;&lt;img src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/Screenshot_20231231-021855.webp&#34; width=300&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is barely usable, because after rotating the screen, the mouse and touch gestures are reversed. Excellent, just what nobody asked for.&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/FD41534C862.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    &gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Option 2: Plasma X11 + XRandr&#xA;    &lt;div id=&#34;option-2-plasma-x11--xrandr&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#option-2-plasma-x11--xrandr&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Desktop Plasma lets you arrange the UI freely and also has a tablet mode, so you can use it on touch devices without Plasma Mobile.&lt;/p&gt;&#xA;&lt;p&gt;This only works in an X11 session. Following &lt;a href=&#34;https://itslinuxfoss.com/set-custom-resolution-using-xrandr/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;It&amp;rsquo;s Linux FOSS&amp;rsquo;s tutorial&lt;/a&gt;, use the following XRandr commands to add a custom resolution and force the screen into a portrait resolution without rotating the display.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cvt &lt;span class=&#34;m&#34;&gt;1080&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1920&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --newmode &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt;  176.50  &lt;span class=&#34;m&#34;&gt;1080&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1168&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1280&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1480&lt;/span&gt;  &lt;span class=&#34;m&#34;&gt;1920&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1923&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1933&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1989&lt;/span&gt; -hsync +vsync&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --addmode eDP-1 &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;Then adjust scaling:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --output eDP-1 --mode &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt; --scale 0.5x0.5&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;X11 touch gestures can be improved with &lt;a href=&#34;https://ivonblog.com/posts/linux-touchegg-custom-gesture/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Touche&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Even after all these tweaks, the Plasma desktop is still not suitable for phone use.&#xA;&lt;img src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/Screenshot_20231231-033509.webp&#34; width=300&gt;&lt;/p&gt;&#xA;</content:encoded>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://ivonblog.com/en-us/posts/remote-desktop-linux-mobile-friendly-ui/featured.webp" />
    </item>
    
  </channel>
</rss>
