Custom Operating System Template (Linux)
While DaDesktop supports a wide range of standard Linux distributions, there may be instances where you require a specific distribution not currently available in the library. We are pleased to accommodate requests for most major Linux distributions. Please provide us with the download link for the ISO file and specify the server where you wish to deploy this custom template.
Key Considerations Regarding Disk Partitioning
1. Custom templates must utilize either a single disk partition or a dual-partition setup: one dedicated to EFI/Boot and another for the system and data.
2. LVM (Logical Volume Manager) partitions are not supported; please avoid using LVM.
3. Incorrect partition schemes can result in failures for automatic disk resizing and other critical functions.
Linux Template Configuration
Once the ISO file has been downloaded to the server, it will appear under Admin Menu->OS IMAGES->ISO FILES in your account.
From there, you can prepare the template via Admin Menu->OS IMAGES->CUSTOM OS TEMPLATES
It is crucial to follow this guide meticulously and complete every step, as overlooking any part may prevent DaDesktop from functioning correctly.
- Install the operating system.
- Set the default username to "student" and the password to "student".
- Configure the "student" account for Auto Login.
- Apply the DaDesktop wallpaper or your own branded wallpaper

-
Recent distributions often default to Wayland as the display server. Although DaDesktop is compatible with Wayland, we recommend reverting to X11 for optimal stability.
To disable Wayland, edit the file
/etc/gdm/custom.confand ensure the following line is uncommented:# Uncomment the line below to force the login screen to use Xorg WaylandEnable=falseLog out and log back in to apply the changes.
- Install spice-vdagent. Using your distribution’s package manager is generally the recommended method. Note that this package may already be present depending on your specific Linux distro.
- Once installed correctly, restart the machine. You should observe two active processes: spice-vdagent and spice-vdagentd.

- Install qemu-guest-agent, ideally using your package manager.
- Install X11VNC. Note: For certain distributions, you may need to enable additional repositories, such as the 'epel' repo for Red Hat-based systems like Oracle Linux or Rocky Linux.
- Configure X11VNC:
- Verify that X11VNC is installed.
- Open a root shell by running the command
sudo -i. -
Execute the following command to enable X11VNC to start automatically upon reboot:
cat > /etc/xdg/autostart/x11vnc.desktop <<EOF [Desktop Entry] Type=Application Exec=/usr/bin/x11vnc -N -no6 -rfbportv6 -1 -allow 10.0.3.1 -nopw -shared -alwaysshared -forever -repeat -nowireframe -noscr -nocursorshape -skip_lockkeys -cursor_drag -grab_buster -deferupdate 10 -speeds 6000,5000,20 -afteraccept announce-vnc-users.sh -gone announce-vnc-users.sh Hidden=false X-MATE-Autostart-enabled=true X-MATE-AutoRestart=true Name[en_US]=X11VNC Name=X11VNC Comment[en_US]=Share desktop over VNC Comment=Share desktop over VNC EOF
-
Create a desktop notification script by executing the following commands:
cat > /usr/local/bin/announce-vnc-users.sh <<EOF notify-send -a x11vnc "VNC users connected: $RFB_CLIENT_COUNT" EOF chmod +x /usr/local/bin/announce-vnc-users.sh - Reboot the system.
-
Review firewall settings to ensure TCP port 5900 is open. You can verify this using the command:
ss -pntl - Disable the sudo password (this is recommended for a smoother user experience).
-
Verify the configuration.
When you connect, if the URL updates to include a
tokenquery parameter, the setup is successful. This indicates that X11VNC is functioning properly. Additionally, the text box located at the bottom left of the screen, which facilitates copy/paste between your local desktop and the virtual environment, should now be operational.
Additional Notes
To incorporate optional features such as:
- DDWebdav, which enables the synchronisation of Trainer content folders to each participant’s machine;
- or DDUpload, which allows for easy file uploads within a DaDesktop environment;
please get in touch with DaDesktop Tech Support.