Linux-Based Custom OS Templates
While DaDesktop supports a wide range of widely used Linux distributions, there may be instances where a specific, less common distribution is required. The DaDesktop team is willing to assist with most mainline Linux distros. Please provide the download location for the ISO file and specify which server should host the Custom OS template.
Key Considerations for Disk Partitioning
1. Custom templates require either a single disk partition or a two-partition setup: one for EFI/Boot and another for system and data.
2. LVM partitions are not supported; please avoid using LVM.
3. Incorrect partition schemes will result in the failure of automatic disk resizing and other core functions.
Linux Template Setup
Once the ISO file is downloaded to the server, it will be available under Admin Menu -> OS IMAGES -> ISO FILES within your account.
Next, proceed to create the template under Admin Menu -> OS IMAGES -> CUSTOM OS TEMPLATES.
It is critical to follow this guide meticulously and complete every step, as failure to do so 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 preferred brand wallpaper.

-
Some distributions now default to using Wayland as the display driver. Although DaDesktop is compatible with Wayland, we currently recommend reverting to X11.
To disable Wayland, edit
/etc/gdm/custom.confand ensure the following setting is applied (uncomment if necessary):# 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 the system package manager is typically the best method. Note that this may already be installed on some distributions.
- After installation, restart the machine. You should see two running processes: spice-vdagent and spice-vdagentd.

- Install qemu-guest-agent. Again, using the package manager is the recommended approach.
- Install X11VNC. Note: For certain distributions, you may need to add extra repositories, such as the 'epel' repo for Red Hat-based distros 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 auto-start on 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 running 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.
-
Check the firewall settings to ensure TCP port 5900 is open. For example, use the command:
ss -pntl - Disable the sudo password (recommended).
-
Verify the setup.
Upon connection, if the URL changes to a new one containing a
tokenquery parameter, the setup is successful. This indicates that X11VNC is working correctly. Additionally, the text box at the bottom left of the screen, used for copy/paste between your local desktop and the virtual desktop, should now be functional.
Additional Information
To add optional features such as:
- DDWebdav, which allows Trainer content folders to be synchronized to participant machines,
- or DDUpload, for easy file uploads within a DaDesktop machine;
Please reach out to DaDesktop Tech Support.