<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>KasmVNC on Ivon's Blog</title><link>https://ivonblog.com/en-us/tags/kasmvnc/</link><description>Recent content in KasmVNC on Ivon'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 of Ivon's Blog (ivonblog.com). Please include the original URL when citing articles, and abide by CC BY-NC-ND 4.0 license. For commercial use, please write an e-mail to me.</copyright><lastBuildDate>Thu, 21 Nov 2024 21:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/en-us/tags/kasmvnc/index.xml" rel="self" type="application/rss+xml"/><item><title>Use a phone as a computer: run desktop Linux software with iPad + Android Termux</title><link>https://ivonblog.com/en-us/posts/android-termux-as-linux-desktop-ipad-as-client/</link><pubDate>Thu, 21 Nov 2024 21:00:00 +0800</pubDate><author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author><guid>https://ivonblog.com/en-us/posts/android-termux-as-linux-desktop-ipad-as-client/</guid><description>&lt;!-- Co-translated by ChatGPT --&gt;
&lt;p&gt;iPad is too limited, Android is too tiny. So why not combine then together?&lt;/p&gt;
&lt;p&gt;Use Android + Termux Proot Debian + KasmVNC + Safari on the iPad to build a mobile working environment that runs desktop software.&lt;/p&gt;
&lt;p&gt;What the iPad cannot do, let the Android phone do!&lt;/p&gt;
&lt;p&gt;Use the Android phone as a computer through Termux Proot, run Linux desktop software, and control it through the iPad.&lt;/p&gt;
&lt;p&gt;The iPad remotes into the Linux container on Android for operation. What the iPad cannot do, let the Android phone do!
&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://ivonblog.com/en-us/posts/android-termux-as-linux-desktop-ipad-as-client/images/joplin.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/cannotloadimage.avif'"
 width="1080"
 height="750"&gt;&lt;figcaption&gt;Joplin organizing notes&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
 &lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt=""
 src="https://ivonblog.com/en-us/posts/android-termux-as-linux-desktop-ipad-as-client/images/vscode.webp"
 onerror="this.onerror=null;this.src='https://ivonblog.com/images/cannotloadimage.avif'"
 width="1080"
 height="607"&gt;&lt;figcaption&gt;Visual Studio Code launching pygame&lt;/figcaption&gt;&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Do not understand what the title means? This is the usage scenario I want:




&lt;div style="position: relative; padding-bottom: 56.25%; overflow: hidden;"&gt;
 &lt;iframe style="position: absolute; width: 100%; height: 100%;"
 src="http://www.youtube.com/embed/voHH5BnVe0M" allowfullscreen frameborder="0" loading="lazy"&gt;
 &lt;/iframe&gt;
&lt;/div&gt;&lt;/p&gt;

&lt;h2 class="relative group"&gt;1. Motivation
 &lt;div id="1-motivation" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#1-motivation" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;My current mobile work setup is an Android phone paired with an iPad. Although they are different ecosystems, with the help of free software such as LocalSend, the two get along quite pleasantly. Thanks to the large battery of the Android phone, it seems I can share a hotspot to the iPad for 6 hours without running out of power.&lt;/p&gt;
&lt;p&gt;All of this is to run desktop software on the iPad. Some software is very smart on the desktop version, but becomes idiotic after being ported to mobile. This is true for both free software and proprietary software.&lt;/p&gt;
&lt;p&gt;Take the note-taking software Joplin, for example. Joplin on the iPad is only an enlarged iPhone version, with overly crude functionality, and many desktop features have not been ported, such as the note relationship graph. When dealing with notes, it always feels shackled, and many things have to be handled on a computer. So I started thinking about how to run desktop Joplin.&lt;/p&gt;
&lt;p&gt;Sell the iPad and switch to a Surface? I have thought about it, but I do not want to cut off my toes to fit the shoes, so I took out Termux on the Android phone. Termux can run a Linux desktop environment container without root, and it can be accessed by the iPad through VNC.&lt;/p&gt;
&lt;p&gt;I previously shared methods for mirroring Android to a large screen with &lt;a href="https://ivonblog.com/posts/scrcpy-for-ios/" target="_blank" rel="noreferrer"&gt;Scrcpy&lt;/a&gt; and &lt;a href="https://ivonblog.com/posts/rustdesk-remote-control-phone-from-another-phone/" target="_blank" rel="noreferrer"&gt;Rustdesk&lt;/a&gt;, but I do not need the entire Android screen! Linux alone is enough. Run the VNC server headlessly; as long as Android has enough RAM, it will not be easily killed in the background, so the Android phone can still be used while Linux programs are running.&lt;/p&gt;
&lt;p&gt;The iPad&amp;rsquo;s network is shared from Android, so the local connection latency for the remote desktop is low. The iPad becomes the screen for Android&amp;rsquo;s Linux container.&lt;/p&gt;
&lt;p&gt;If I could choose, the Android phone should be replaced with a Raspberry Pi. I have written about &lt;a href="https://ivonblog.com/posts/ipad-raspberrypi-usb-c-connection/" target="_blank" rel="noreferrer"&gt;using a Raspberry Pi with an iPad&lt;/a&gt;, after all, its I/O is more complete, and the Raspberry Pi&amp;rsquo;s size is also suitable for carrying around. But if the phone has a large battery and a powerful processor, why not use what is already there? For example, my Sony Xperia 10 V has only one third of the performance of an iPad Air 6, but it does not heat up when sharing a hotspot and has extremely long battery life, so let&amp;rsquo;s squeeze it a bit and run Linux on it!&lt;/p&gt;</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://ivonblog.com/en-us/posts/android-termux-as-linux-desktop-ipad-as-client/featured.webp"/></item></channel></rss>