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.
1. Recommended VM characteristics¶
| 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¶
-
Upload the Ubuntu Desktop 25.10 ISO to Media (see Media).
- Official ISO: Ubuntu Desktop.
- The ISO link can also be obtained from the https://isos.isardvdi.com/ catalog.
-
In Media, find the ISO and click Create new desktop.
- In the Operating system template field, choose the template indicated in the previous table.
- Configure the remaining parameters (vCPUs, memory, disk and networks) and check that Boot is CD/DVD.
- Click Create desktop and start the VM.
3. Installing Ubuntu¶
Once the virtual machine boots from the ISO, follow the Ubuntu graphical installer.
- Select the language.
- No Do not change anything on the accessibility screen.
- Select the keyboard layout.
- Keep Use wired connection checked.
- Click Install Ubuntu.
- Installation type: Interactive installation.
- Choose Expanded selection to include more proprietary software.
- Check both options to install updates and recommended proprietary software.
- Disk type: Erase disk and install Ubuntu (clean installation).
- Select No encryption.
- Create the user account.
- Configure the time zone.
- Review the summary and confirm the installation.
-
Select the language.
-
No Do not change anything on the accessibility screen.
-
Select the keyboard layout.
-
Keep Use wired connection checked.
-
Click Install Ubuntu.
-
Installation type: Interactive installation.
-
Choose Expanded selection.
-
Check both options to install updates and recommended proprietary software.
-
Disk type: Erase disk and install Ubuntu.
-
Select No encryption.
-
Create the user account.
-
Configure the time zone.
-
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:
- Remove the CD/DVD media.
-
Change Boot from CD/DVD to Hard Disk and click Save changes.
-
Edit the desktop XML (administrator role) and add the following
<driver>attribute inside the<disk>element:This enables
discard=unmap(required for TRIM to take effect on the storage) andcache=unsafe(faster for desktops that do not require persistence after a host crash). -
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.
-
Share data with Canonical: select the desired option; for templates, it is recommended not to share them.
-
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:
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:
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.timerruns 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/fstaband delete the/swap.imgfile.
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:
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¶
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
acandbatteryto cover the case where the VM exposes a virtual battery.
7.4 Force software rendering (llvmpipe)¶
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.
























