Need Help Installing Xubuntu 26.04 (Android host + termux + qemu)

I’m trying to install in qemu.

I need to skip the trial desktop but that doesn’t seem to be available in 26.04, only 2 options: try and install or try and install (safe graphics).

Are there any hacking keys?

I can bypass the waiting screen with Ctrl-Alt-Backspace but that only shows the details of its laborious (4 HR) trial launch!

Here’s my command line:

qemu-system-x86_64 -m 3G qemu/xubuntu.vdi -vnc localhost:1 -drive file=fat:rw:fat,format=raw -cdrom qemu/xubuntu-26.04-desktop-amd64.iso -boot d

This is in termux on my phone. I’ve been able to install Debian, opensuse, fedora, Windows7 etc. , and even xubuntu in the past. 3GB allocated (from 6) seems optimum for installs, most taking well under 4 hrs!

Welcome to Ubuntu Discourse :slight_smile:

I moved your post to its own topic in Support and Help.

1 Like

Thanks!

I’ve edited it

I am not sure I understand the problem. When you fully boot you can choose between trial (effectively live boot) and installation. Why is it not sufficient?

I think they want a direct to installation option…

Is your host OS a version of Android?

Not in xubuntu 26.04

Now there’s only trial and trial with safe graphics.

Yes but qemu emulates x86_64 Intel/AMD in a separate virtual machine.

You can install and run it in termux, which is a chroot emulation of Debian in Android.

I have a Pixel 6

Still looking for a shortcut to the xubuntu install!

I changed the topic title to better reflect the issue.

I’m not 100% sure that this topic is valid in discourse.ubuntu.com because your host OS is not an Ubuntu flavour.

Anyway, let’s see if the moderators can offer an opinion.

Why would your target hardware matter (even if it is emulated), after all it is an Ubuntu install…

As long as it meets the minimal requirements (6GB free RAM, 2GHz dual core, 25GB disk space):

https://documentation.ubuntu.com/release-notes/26.04/#requirements-and-compatibility

Or the requirements of a respective flavor…

What does the host matter?

I’m booting the CDrom!

6GB!!

This is Xubuntu we’re talking about - the “light” version. What’s the point of using xfce if you have 6 or 16 GB to run Cinnamon or KDE?

Xubuntu used to be happy in 2GB only a few years ago.

Have you heard of CDS - Comfortable Developer Syndrome?

Developers make sure they have powerful beasts of computers under their desks. Hence they cannot understand the trials and tribulations of the poor users, or ever again write any “efficient” or “elegant” code!

Xubuntu (current webpage)

Component [1, 2, 3, 4, 5] Minimum Requirement Recommended
Processor Intel or AMD 64-bit processor 1.5 GHz dual-core processor or better
Memory (RAM) 1 GB 2 GB or higher
Storage 8.6 GB of free disk space 20 GB or more of free space
Display 1024 x 768 resolution 1366 x 768 resolution or higher

When I boot the same ISO as you showed I get the icon on the desktop “Install Xubuntu 26.04” and double clicking it launches the same installer as in the main flavor (sorry, this site does not want to accept uploaded images).

You really need to explain your problem better so that others can understand it.

1 Like

:slightly_smiling_face:

I can’t get to the desktop!

The trial is too heavy for a light system

Perhaps this has something to do with it?

Why would you emulate a foreign architecture when there are ARM64 images? Maybe not for Xubuntu, but you should be able to install xubuntu-* metapackages from the (ARM64) server install, for instance.

BTW, have you considered running Ubuntu, or any other Linux distro, for that matter, as Linux container(s) (LXC)? Since Android is using the Linux kernel, one can just reuse that one when running LXC; you don’t need to a full-blown VM. Looks like Termux provides lxc.

There’s also something called Droidspaces which came up in my search for LXC solutions on Android. Or, since this is the Ubuntu Discourse, after all, how abouts

? :grin:

1 Like

“Termux provides the lxc package for those with root/custom-kernels, which by far provides the most complete desktop experience possible.”

If I “root” my phone, it becomes unsuppported by Playstore and thus vulnerable.

Android spaces and other “chroot” solutions do not provide root privileges such as mounting (e.g. for rclone) without rooting the Android.
The advantage of termux-qemu is a full desktop for apps such as thunderbird, which, unlike any Android app, can bulk-transfer IMAP email to local storage or another IMAP account. Termux X and VNC can run thunderbird but not hibernate for very long tasks.

Thanks for helping, however. In Redit I got the best answer yet:

Two quick ways to fix this:

Option 1 (Fastest): Download and install the Ubuntu Server ISO instead. It boots into a fast, text-only installer. Once installed, boot into it and run this command to get the desktop: sudo apt update && sudo apt install xubuntu-desktop

Option 2: Add “-smp 4 -cpu max” to your current QEMU command line so your phone actually uses multiple processor cores to handle the emulation.

Yes, there is qemu-system-arm64 but it is no faster than qemu-system-x86_64 in an ARM host, because (a) most of its work is the same, virtualization, and (b) it is not maintained as well, so out of date in terms of bios, graphics, etc.

I have been struggling with it since your suggestion and I’m not encouraged!

That’s where KVM comes in. You don’t need to emulate the hardware you already have.