Linux Custom Operating System Template
While DaDesktop provides a curated selection of widely used Linux distributions, scenarios may arise where a specific distribution outside this standard range is necessary. We are pleased to facilitate the deployment of Custom OS templates for most major mainline Linux distributions. To proceed, please specify the download location for the required ISO file and identify the target server for the template publication.
Crucial Disk Partitioning Requirements
1. Custom templates must adhere to a simple partitioning structure, consisting of either a single partition or two distinct partitions: one for EFI/Boot and another for the system and data.
2. LVM (Logical Volume Manager) partitions are not supported; please ensure LVM is not utilized during installation.
3. Deviating from this partition scheme will result in failures for automatic disk resizing and other critical functions.
Linux Template Configuration
Once the ISO file is downloaded to the server, it will be accessible within your account under Admin Menu->OS IMAGES->ISO FILES.
You can then initiate the template creation process via Admin Menu->OS IMAGES->CUSTOM OS TEMPLATES.
Please adhere strictly to the following guide and complete every step, as skipping any part will likely prevent the full DaDesktop environment from functioning correctly.
- Install the Operating System.
- Configure the default username as "student" and the password as "student".
- Enable Auto Login for the "student" account.
- Apply the DaDesktop wallpaper or your preferred corporate branding wallpaper

-
Many distributions now default to Wayland as the display driver. Although DaDesktop is compatible with Wayland, we currently recommend reverting to X11 for optimal stability.
To disable Wayland, perform the following:edit the configuration file /etc/gdm/custom.conf e.g.
# Uncomment the line below to force the login screen to use Xorg WaylandEnable=falseLog out and then log back in to apply the changes.
- Install spice-vdagent. Utilizing your distribution's native package manager is generally the most effective method. Note: This component may already be present depending on your chosen distribution.
- After successful installation, restart the machine. You should then observe both the spice-vdagent and spice-vdagentd processes running.

- Install the qemu-guest-agent. As with previous steps, using your package manager is the recommended approach.
- Install X11VNC. Note: For certain distributions, you may need to enable additional repositories, such as the 'epel' repository for Red Hat-based systems like Oracle Linux or Rocky Linux.
- Configure X11VNC
- Confirm that X11VNC is correctly installed.
- Execute the command
sudo -ito access the root shell. -
Run 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 the 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.
-
Verify firewall settings to ensure TCP port 5900 is open, for example by checking the listening services:
ss -pntl - Disable the sudo password prompt (recommended for seamless operation).
-
Validate the configuration.
Upon connection, if the URL updates to include a
tokenquery parameter, the setup is successful. This indicates that X11VNC is functioning correctly. Additionally, the text box located at the bottom left of the screen, which facilitates copy and paste operations between your local desktop and the virtual environment, should now be active.
Additional Information
To implement extra optional features, such as:
- DDWebdav, which allows Trainer content folders to be synchronized across participant machines,
- or DDUpload, which simplifies the process of uploading files directly to a DaDesktop machine;
please reach out to DaDesktop Tech Support for assistance.