Easiest way to run Xubuntu?

I’ve launched a VM with ‘images:ubuntu/24.04/desktop’ - works great. Now I’d like to test Xubuntu 24.04, which isn’t listed in the image library.

I’ve tried Uploading a Xubuntu ISO, then launching a new VM using that custom ISO. The installer GUI was unresponsive, then hung completely when starting the install process.

What is the best way to launch Xubuntu? Is there another image repo that has Xubuntu pre-packaged, or should I learn distrobuilder, or take some other approach?

That desktop image was created with this distrobuilder configuration file, lxc-ci/images/ubuntu.yaml at main · lxc/lxc-ci · GitHub

In there you can see the desktop variant, which targets Ubuntu Desktop.

What are the parameters that you put into distrobuilder? You find dig them from Index of /images/

I did the work for you, here is the command line from the logs,

distrobuilder --cache-dir /root/build/cache/ pack-incus image.yaml rootfs --vm -o image.serial=20240924_07:42 -o image.architecture=amd64 -o image.release=noble -o image.variant=desktop -o source.url=http://archive.ubuntu.com/ubuntu

Normally you should try to replicate with the Ubuntu desktop image, try that the image that you built actually works, then adapt to create a new xubuntu variant.

1 Like

Thank you very much - I’ll give it a shot!

Well I started digging into distrobuilder, then found an easier way (for me) as outlined by this video.

The gist:

  • create a new VM using the --empty flag
  • attach a bootable ISO
  • boot the machine and run the GUI installer
  • detach the ISO, reboot

My incus host is a remote machine on the lan. For me, the magic was to install Incus on the desktop, setup the incus remote, then incus start remotehost:myvm --console=vga. GUI performance is good!

I’m an incus newbie - for me this is a good starting point. I’ll learn distrobuilder in the future.

3 Likes