Custom OS Template (Linux)
Although DaDesktop maintains a number of popular Linux distros, there may be times when a specific distro that isn’t available is required. DaDesktop is happy to support this for most mainline Linux distros. Please tell us where to download the ISO file and which server you want to publish the Custom OS template to.
Important:
About Disk Partitioning
1. Customised templates require only one disk partition or two partitions: one EFI/Boot partition and the other system and data partition.
2. An LVM partition is not supported, please do not use LVM
3. The wrong partition scheme will cause disk auto-resize and other functions to fail.
Linux Template
After we download the ISO file to the server, you will be able to see it under Admin Menu->OS IMAGES->ISO FILES under your account.
Then you can prepare the template under Admin Menu->OS IMAGES->CUSTOM OS TEMPLATES
Please follow this guide carefully and complete all the steps; otherwise, full DaDesktop operation is likely not to work.
- Install OS
- Set default username to "student"; Password to "student"
- Set "student" account to be Auto Login
-
Use DaDesktop or your own brand wallpaper
-
Some distros will now default to using Wayland as their display driver. Although Wayland works in DaDesktop, for now we suggest reverting to X11.
To disable Wayland:-edit /etc/gdm/custom.conf e.g
# Uncomment the line below to force the login screen to use Xorg WaylandEnable=falselogout and login again
-
Install spice-vdagent, using your package manager is usually the best approach. NB This may already be installed depending on your distro
- After the correct installation, restart the machine, and you should see the two running processes, spice-vdagent and spice-vdagentd
-
- Install qemu-guest-agent, again using your package manager is usually the best approach
- Install X11VNC. NB For some distros, you may need to add extra repos such as the 'epel' repo for Redhat based distros, like Oracle Linux or Rocky Linux
-
Configure X11VNC
- make sure X11VNC is installed
-
run command
sudo -ito open root shell -
run the below command which allows X11VNC to auto-start on reboot
cat > /etc/xdg/autostart/x11vnc.desktop <
-
Create desktop notify script by running the commands below
cat > /usr/local/bin/announce-vnc-users.sh < - Reboot
-
Check firewall settings, i.e., make sure TCP port 5900 is open, eg
ss -pntl - Disable sudo password (recommended)
-
Verify success
When connecting, the URL, if changed to a new URL with the
tokenquery parameter, then you are good to go. This means X11VNC is working. And the text box at the bottom left of the screen, which is used for copy/paste between your own desktop and virtual desktop should now be working.
Please Note
To add extra optional features such as
- DDWebdav to allow Trainer's content folders to be synchronised to each participant machine,
- or DDUpload - to easily upload files to within a DaDesktop machine;
Please contact DaDesktop Tech Support.
