Technical details¶
In a VDI (virtual desktop infrastructure), viewers are the program or the web page that lets you use a virtual desktop remotely: they show the desktop's screen and send it the keyboard, the mouse and, depending on the viewer, the audio, the clipboard and the USB devices. They must handle high-resolution graphics and multimedia content without noticeable delays, so that the experience is as close as possible to that of a physical computer.
The direct viewer can also be enabled; it gives a link to connect to the desktop without logging in to the platform. See Direct viewer.
Summary table of viewer features¶
| Viewer | SPICE | VNC Browser | RDP | RDP Browser | RDP VPN |
|---|---|---|---|---|---|
| Protocol | SPICE | VNC | RDP | RDP | RDP |
| HTML5 web client | - | noVNC | - | Guacamole | - |
| Viewer for Windows | Remote-viewer virt-viewer 11 installer |
Web browser | Remote Desktop (built into Windows) | Web browser | Remote Desktop (built into Windows) and WireGuard client |
| Viewer for Linux | sudo apt install virt-viewersudo dnf install virt-viewer |
Web browser | Remmina | Web browser | Remmina and WireGuard client |
| Viewer for macOS | Installation guide | Web browser | Apple Store | Web browser | Apple Store and WireGuard client |
| Viewer for Android | Free version on the Play Store and also a paid version with more features. | Web browser | Remote Desktop | Web browser | Remote Desktop and WireGuard client |
| Viewer for Apple iOS | Paid version on the Apple Store | Web browser | Remote Desktop Mobile | Web browser | Remote Desktop Mobile and WireGuard client |
| Extension of the downloaded file | *.vv | - | *.rdp | - | *.rdp |
| Default port | TCP/80 (HTTP proxy) | TCP/443 | TCP/80 (RDP gateway, with TLS) | TCP/443 | UDP/443 (the user's WireGuard VPN) |
| Copy and paste between the local computer and the virtual desktop | ✓ | ✗ | ✓ | ✓ | ✓ |
| WireGuard client (the user's VPN) required on the local computer | ✗ | ✗ | ✗ | ✗ | ✓ |
| wireguard network required on the desktop | ✗ | ✗ | ✓ | ✓ | ✓ |
| USB redirection | ✓ (on Windows the USB driver must be installed) |
✗ | ✓ | ✗ | ✓ |
| Audio | ✓ | ✗ | ✓ | ✓ | ✓ |
| Adapts the desktop screen size to the viewer | ✓ | ✓ | ✓ | ✓ | ✓ |
| The desktop boot can be seen | ✓ | ✓ | ✗ | ✗ | ✗ |
| The desktop must have an IP address and an RDP service | ✗ | ✗ | ✓ | ✓ | ✓ |
| Available in the direct viewer | ✓ | ✓ | ✓ | ✓ | ✗ |
Summary table on operating system compatibility¶
| Client | Operating systems | Protocols | Multimedia redirection | USB redirection | Video compression |
|---|---|---|---|---|---|
| Microsoft Remote Desktop | Windows, Mac, iOS, Android | RDP | ✓ | ✓ | RemoteFX |
| SPICE | Windows, Linux | SPICE | ✓ | ✓ | Lossy and lossless |
| VNC | Windows, Mac, Linux, iOS, Android | VNC | ✗ | ✓ | Tight and Zlib |
| Guacamole HTML5 client | Windows, Mac, Linux, iOS, Android | RDP, VNC, SSH | ✓ | ✓ | JPEG, PNG |
| noVNC client | Windows, Mac, Linux, iOS, Android | VNC | ✓ | ✓ | Tight, Hextile, CopyRect, Raw |
Differences between viewers (in the browser and desktop clients)¶
Two main types of viewers can be distinguished:
-
Browser-integrated viewers: the viewer is embedded within a web page. From a browser tab, you can control the operating system of the desktops. Video signal encoding and the transmission of mouse and keyboard signals are handled from a browser tab.
- Advantages:
- No installed client is required. It works in any modern browser, from any device (computers, tablets, mobile phones) and operating system.
- Disadvantages:
- Encoding is not as efficient as in a dedicated viewer. You may perceive some slowness in updating the desktop and when working by moving elements within the viewer.
- Local devices connected via USB cannot be redirected to the virtual desktop.
- Advantages:
-
Desktop client applications: these are applications dedicated to functioning as a viewer. They are optimized and are the best option for having the best user experience.
- Advantages:
- Optimized for desktop client protocols, they offer better performance than browser-integrated viewers. If there are no network issues (adequate latency and bandwidth), the feeling of working with the desktop is similar to that of a real machine.
- Although it depends on the type of protocol and the client version, these viewers generally offer advanced options such as device redirection through the USB port and dragging files and clipboard contents from the virtual desktop to the host machine and vice versa.
- Disadvantages:
- Clients do not always come preinstalled with the operating system, which implies having to install software on the host machine.
- Some advanced features may not be available depending on the client and protocol versions.
- Advantages:
Ports and proxies¶
IsardVDI avoids opening additional ports and encapsulates connections in HTTP proxies, so that the viewers also work behind firewalls that block other connections. By default, these ports are used:
- TCP/80 (HTTP port) for the proxy where SPICE connections are encapsulated (
CONNECTmethod). - TCP/80 (HTTP port) also for the RDP gateway (RD Gateway), which arrives there encrypted with TLS.
- TCP/443 (HTTPS port) for the website and the browser viewers (VNC Browser and RDP Browser).
- UDP/443 for the users' WireGuard VPN, used by the RDP VPN viewer.
These are the default values. The installation's administration can change them (for example, if the platform is behind a NAT); in that case, the connection files already carry the correct ports.