Skip to content

Installing Ubuntu Desktop 25.10 Questing Quokka

This guide describes how to install and prepare Ubuntu Desktop 25.10 Questing Quokka as a virtual desktop in IsardVDI. It includes the initial configuration and optimization of the operating system for a virtual machine.

Non-LTS Version

Ubuntu 25.10 is an interim release with only 9 months of support. For long-lived templates, it is preferable to use an LTS version, such as Ubuntu Desktop 26.04 LTS.


Parameter Value
vCPUs 4
Memory (GB) 6
Disk size (GB) 100
Networks Default, Wireguard VPN
Boot CD/DVD
Videos Default
Operating system template Ubuntu 24.10 (non-LTS)

Operating system template

If there is no specific template for Ubuntu 25.10, use the closest one without the LTS variant. The "LTS" variants of recent templates cause a kernel error during boot.

2. Creating the VM in IsardVDI

  1. Upload the Ubuntu Desktop 25.10 ISO to Media (see Media).

  2. In Media, find the ISO and click Create new desktop.

  3. In the Operating system template field, choose the template indicated in the previous table.
  4. Configure the remaining parameters (vCPUs, memory, disk and networks) and check that Boot is CD/DVD.
  5. Click Create desktop and start the VM.

3. Installing Ubuntu

Once the virtual machine boots from the ISO, follow the Ubuntu graphical installer.

  1. Select the language.
  2. No Do not change anything on the accessibility screen.
  3. Select the keyboard layout.
  4. Keep Use wired connection checked.
  5. Click Install Ubuntu.
  6. Installation type: Interactive installation.
  7. Choose Expanded selection to include more proprietary software.
  8. Check both options to install updates and recommended proprietary software.
  9. Disk type: Erase disk and install Ubuntu (clean installation).
  10. Select No encryption.
  11. Create the user account.
  12. Configure the time zone.
  13. Review the summary and confirm the installation.
  1. Select the language.

  2. No Do not change anything on the accessibility screen.

  3. Select the keyboard layout.

  4. Keep Use wired connection checked.

  5. Click Install Ubuntu.

  6. Installation type: Interactive installation.

  7. Choose Expanded selection.

  8. Check both options to install updates and recommended proprietary software.

  9. Disk type: Erase disk and install Ubuntu.

  10. Select No encryption.

  11. Create the user account.

  12. Configure the time zone.

  13. Review the summary and confirm the installation.

Password and automatic login

Unchecking Require a password to log in enables automatic login. If the desktop is to be used with remote desktop (RDP), keep the option checked and use the same credentials that IsardVDI has defined in the virtual desktop edit.

4. Shut down the VM, modify the XML, and change the boot to the hard disk

When the installer asks to remove the installation media, shut down the VM from IsardVDI (Stop and, if it stays shutting down, Force stop) and, in the desktop edit:

  1. Remove the CD/DVD media.
  2. Change Boot from CD/DVD to Hard Disk and click Save changes.

  3. Edit the desktop XML (administrator role) and add the following <driver> attribute inside the <disk> element:

    <driver name="qemu" type="qcow2" cache="unsafe" discard="unmap"/>
    

    This enables discard=unmap (required for TRIM to take effect on the storage) and cache=unsafe (faster for desktops that do not require persistence after a host crash).

  4. Save the changes and start the VM again.

Roles with access to the XML

Editing the desktop XML is only available to the administrator role.

5. First boot — initial configuration

When booting from the disk, Ubuntu displays the welcome assistant.

  1. Share data with Canonical: select the desired option; for templates, it is recommended not to share them.

  2. Complete the rest of the assistant with the default options and click Finish.


6. Post-installation configuration

6.1 Configuration via terminal

System update and package installation

sudo apt update
sudo apt upgrade -y
sudo apt install -y vim gedit vlc net-tools htop curl wget \
    spice-vdagent qemu-guest-agent mesa-utils openssh-server \
    nmap traceroute tree

Optimize /etc/fstab

Add the noatime,discard options to all ext4 partitions to reduce disk writes and enable real-time TRIM:

# /etc/fstab — example
UUID=xxxxx-xxxxx-xxxxxx /    ext4    defaults,noatime,discard,errors=remount-ro 0 1

Reduce log storage

Edit /etc/systemd/journald.conf (or a file inside /etc/systemd/journald.conf.d/) and set:

[Journal]
SystemMaxUse=20M
SystemKeepFree=4G

Remove Snap and install Firefox from the Mozilla repository

Snap slows down application startup and keeps its own background update service. Remove it completely and install Firefox from the official Mozilla repository:

# Check which snaps are installed
snap list

# Remove them (applications first, then bases)
sudo snap remove --purge <snap_name>

sudo systemctl stop snapd.socket snapd.service

sudo apt-get purge -y snapd
sudo rm -rf /var/cache/snapd /root/snap /var/snap ~/snap /snap

sudo su
printf 'Package: snapd\nPin: release a=*\nPin-Priority: -10\n' \
    > /etc/apt/preferences.d/no-snap
exit

Once Snap is removed, add the Mozilla APT repository and give it priority over Ubuntu's firefox package (which is only a Snap wrapper):

sudo install -d -m 0755 /etc/apt/keyrings

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- \
    | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null

echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" \
    | sudo tee /etc/apt/sources.list.d/mozilla.list

sudo tee /etc/apt/preferences.d/mozilla > /dev/null <<EOF
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000

Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1
EOF

sudo apt update
sudo apt install -y firefox

apt-cache policy firefox
which firefox

To set the browser interface to English:

apt-cache search firefox-l10n | grep en
sudo apt install -y firefox-l10n-en-gb

Disable swap and switch to periodic TRIM

sudo systemctl enable --now fstrim.timer

sudo systemctl mask swap.img.swap

sudo sed -i.bak '/\bswap\b/ s/^\([^#]\)/#\1/' /etc/fstab

sudo rm -f /swap.img

sudo su
swapoff -a
echo 'vm.swappiness=0' > /etc/sysctl.d/99-isard-swap.conf
exit

sysctl --system
sudo systemctl restart systemd-sysctl.service
sudo systemctl status systemd-sysctl.service
  • fstrim.timer runs TRIM periodically instead of on every write.
  • Swap makes no sense on a virtual desktop with enough memory: mask the unit, comment out the line in /etc/fstab and delete the /swap.img file.

Disable automatic updates and their notifications

Order of steps

This section masks packagekit.service. It must be executed after installing Firefox with APT.

# Remove update-manager and notifiers
sudo apt purge -y update-manager update-notifier*

# Avoid development upgrades
echo 'Unattended-Upgrade::DevRelease "false";' | \
    sudo tee /etc/apt/apt.conf.d/50unattended-upgrades

# Block release upgrade
echo -e "[DEFAULT]\nPrompt=never" | \
    sudo tee /etc/update-manager/release-upgrades

# Disable APT automatic updates
sudo tee /etc/apt/apt.conf.d/20auto-upgrades > /dev/null <<'EOF'
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";
EOF

# Disable update services
sudo systemctl disable --now \
    unattended-upgrades.service \
    apt-daily.timer \
    apt-daily-upgrade.timer \
    apt-daily.service \
    apt-daily-upgrade.service \
    fwupd-refresh.timer \
    ModemManager.service \
    packagekit.service \
    motd-news.timer 2>/dev/null

# Block them completely
sudo systemctl mask \
    unattended-upgrades.service \
    apt-daily.timer \
    apt-daily-upgrade.timer \
    fwupd-refresh.timer \
    ModemManager.service \
    packagekit.service \
    motd-news.timer 2>/dev/null

Automatic login

Ubuntu Desktop uses GDM3 as the display manager. The option chosen during installation can be changed in /etc/gdm3/custom.conf:

# Disable automatic login (required for the remote desktop)
sudo sed -i 's/^AutomaticLoginEnable=.*/AutomaticLoginEnable=false/' /etc/gdm3/custom.conf
sudo systemctl restart gdm3

Network configuration

Simplify the Netplan configuration so that both interfaces get an IP via DHCP. On the desktop, NetworkManager generates one file per connection in /etc/netplan/90-NM-<uuid>.yaml:

# /etc/netplan/90-NM-<uuid>.yaml
network:
  version: 2
  ethernets:
    enp1s0:
      renderer: NetworkManager
      match: {}
      dhcp4: true
      dhcp6: true

Check the result with:

ip -brief address

Values specific to each installation

The uuid and timestamp that appear inside the networkmanager section are specific to each machine: you must respect those generated by NetworkManager and modify only the rest of the configuration.

6.2 Modifications via GUI

Remove screen lock

Go to Settings → Privacy → Screen and disable automatic locking.

Configure access for remote desktop

Go to Settings → System → Remote Desktop, enable remote access, and specify the user and password.

Credential match

The credentials configured here must match the credentials that IsardVDI has defined in the virtual desktop editing. Otherwise, the RDP client will not be able to log in automatically.

Software updates

Go to Settings → System → Software Updates and disable automatic checks.

Wallpaper and profile picture

  • For the wallpaper: right-click on the desired image and select Set as desktop background.

  • For the profile picture: go to Settings → System → Users and edit the user's image.

Balanced power mode

Go to Settings → Power and select the balanced mode.

7. GNOME / GTK Optimizations

Apply as user, not as root

The commands gsettings and the files in ~/.config/gtk-*/settings.ini are applied within the user session, not with sudo.

7.1 Disable GNOME Shell animations

gsettings set org.gnome.desktop.interface enable-animations false

This change has the biggest impact on performance. Each animation forces Mutter to recompose the screen multiple times, and in this environment, each frame is rendered by the CPU.

7.2 Disable GTK3 and GTK4 animations

mkdir -p ~/.config/gtk-3.0 ~/.config/gtk-4.0

cat > ~/.config/gtk-3.0/settings.ini <<'EOF'
[Settings]
gtk-enable-animations=0
EOF

cat > ~/.config/gtk-4.0/settings.ini <<'EOF'
[Settings]
gtk-enable-animations=0
EOF

The GNOME setting enable-animations does not always affect the internal animations of GTK widgets (such as popovers, scrolling, or tab transitions). These files disable them at the application level.

7.3 Disable screen lock and inactivity suspension

gsettings set org.gnome.desktop.screensaver lock-enabled false
gsettings set org.gnome.desktop.screensaver idle-activation-enabled false

gsettings set org.gnome.desktop.session idle-delay 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type nothing
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
  • lock-enabled=false: prevents the screensaver from asking for the password.
  • idle-delay=0: the session is never marked as inactive.
  • It is applied for both ac and battery to cover the case where the VM exposes a virtual battery.

7.4 Force software rendering (llvmpipe)

echo 'LIBGL_ALWAYS_SOFTWARE=1' | sudo tee -a /etc/environment

7.5 Status verification

export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus

gsettings get org.gnome.desktop.interface enable-animations          # false
gsettings get org.gnome.desktop.screensaver lock-enabled             # false
gsettings get org.gnome.desktop.screensaver idle-activation-enabled  # false
gsettings get org.gnome.desktop.session idle-delay                   # uint32 0

cat ~/.config/gtk-3.0/settings.ini
cat ~/.config/gtk-4.0/settings.ini

glxinfo -B | grep -E 'renderer|OpenGL'
# It should show: llvmpipe (LLVM ...)

grep ext4 /etc/fstab

8. Preparation for the template

Final step

These commands are executed just before permanently shutting down the machine to convert it into a template. If the desktop is started again later, they must be repeated.

8.1 Clear the machine identifier

sudo truncate -s 0 /etc/machine-id
sudo rm -f /var/lib/dbus/machine-id

8.2 Clear the command history

# Clear the persistent history
echo "" | sudo tee ~/.bash_history
sudo su
history -c
exit
history -c