Via FTP: Upload the remote_desktop/ directory into /plugins/, then import remote_desktop/sql/remote_desktop.sql.
Via package manager: Select remote_desktop from the available plugins list.
Paths:
- Main plugin:
/plugins/remote_desktop/remote_desktop.php - Library:
/plugins/remote_desktop/lib/remote_desktop.lib.inc.php - Signaling handler:
/plugins/remote_desktop/handlers/remote_desktop.mod.php - CSS / JS:
/plugins/remote_desktop/css/, /plugins/remote_desktop/js/
Configuration parameters:
| Variable | Default | Description |
|---|---|---|
| $basedatadisplay | 'yes' | Visible in the management interface |
| $basedisplevel | BASE_LEVEL_USER | Available to logged-in users |
| $ftype | 5 | Application module |
| REMOTE_DESKTOP_LEVEL_USER | BASE_LEVEL_USER | Level to use sharing |
| REMOTE_DESKTOP_LEVEL_ADMIN | BASE_LEVEL_ADMIN | Administrator level |
| $rd_ice_servers | Google STUN | WebRTC ICE servers (see note below) |
| $rd_poll_interval | 500 | Signaling poll interval (ms), during negotiation |
| $rd_max_session_duration | 3600 | Max session duration (seconds) |
| $rd_signal_ttl | 300 | Signal lifetime before cleanup (seconds) |
> Production: replace the Google STUN server with a self-hosted STUN/TURN server (coturn, etc.). Google servers receive the candidate IP addresses.
SQL tables used: remote_desktop_session, remote_desktop_signal