Open-source alternative to Citrix Session Recording

Regulated teams that record Citrix sessions for audit can run Apache Guacamole's gateway recording and recording player on their own servers, with retention designed around NIST SP 800-171 3.1.12. This page maps the capabilities, gaps and migration steps.

On this page

Can Apache Guacamole replace Citrix session recording for audit?

Apache Guacamole can record RDP, VNC and SSH sessions at the gateway and play them back with its session recording player extension, but Citrix session recording and Guacamole do not cover identical scopes. Citrix records sessions inside its own delivery stack, while Guacamole records what passes through its gateway, so any session that reaches a target directly, outside Guacamole, is outside the recording. Before you decide, map every access path your regulated users take, confirm which protocols and session types your Guacamole connections will carry, and confirm per-protocol recording coverage in your own test environment using a representative set of connections.

The recording design, storage location, access controls and retention period are your team's responsibility, not a property of the software. Decide who can view recordings, where encrypted copies are kept, how long they are retained, and how you prove that recordings were not altered or deleted. Under NIST SP 800-171 requirement 3.1.12 (CMMC Level 2 practice AC.L2-3.1.12), the expectation is that remote access sessions are monitored and controlled. A recording is one input to that evidence, alongside connection logs, identity and MFA records, and documented review procedures. It does not establish compliance on its own, and your assessor will look at how the whole design works in operation.

Treat the first deliverable as a short proof: record a sample admin session, a contractor session and a session to each target type you plan to publish, then play each back and check that the content, user identity and timestamps are complete. Ask your assessor which evidence they expect for session monitoring, and confirm with your security team how recordings will be stored and retained before cutover. Refer to the NIST SP 800-171 Rev. 2 publication when you write the control narrative.

Which session recording capabilities map to open-source options

This table maps each capability a session recording program needs to Apache Guacamole's recording and player extension or to a self-hosted store or SIEM. Read each row for what Guacamole documents, what it leaves to you, and what to test in a proof of concept before you rely on it for audit evidence.

CapabilityApache GuacamoleSelf-hosted store or SIEM optionConfirm in a proof of concept
Session captureRecords RDP, VNC and SSH sessions at the gateway through the session recording support in the Guacamole manual, so the desktop client does not need an agent.Not required for capture. Recordings land on the guacd host or a mounted volume.Confirm that each protocol you use produces a complete recording, including clipboard and file transfer activity, and that gaps appear when guacd restarts.
PlaybackThe recording player extension in the Guacamole manual replays captured sessions from the web interface.Not applicable. Playback depends on the Guacamole player extension.Confirm playback speed, seeking and whether long sessions play back without manual conversion.
Per-user and per-target attributionRecordings are tied to the gateway connection, but the manual does not document a field that names the authenticated user on each file.A SIEM or database can hold the Guacamole connection history and join it to recording file names.Confirm that each recording file name or metadata identifies the user, connection and time, and that shared accounts are still attributable.
StorageWrites recording files to a path on the guacd host, so storage capacity and location are your decision.Object storage such as Ceph RADOS Gateway, SeaweedFS or Garage, or a file share on your own servers.Confirm encryption at rest, the sizing per hour of recorded sessions, and whether the store is reachable only from guacd.
Retention and deletionThe manual does not document automated retention or deletion of recordings. Cleanup is handled by your own scripts or storage policy.Lifecycle rules in the object store or a scheduled job on the file share.Confirm the retention period your regulator or contract requires, and test that deletion removes both files and any index entries.
Access control on recordingsAccess to the player and the recording files depends on Guacamole permissions and on operating system file permissions on the guacd host.Object store policies, separate storage accounts for auditors, or a restricted share.Confirm that a user without access to a connection cannot open its recording through the player or the file system.
Tamper evidenceNot documented in the Guacamole manual. Recordings are ordinary files unless you add integrity controls.Hash manifests stored separately, write-once or object lock features where the store supports them, or a signed log of uploads.Confirm which integrity method your assessor accepts and whether the chosen store supports immutable retention.
Log export to a SIEMAuthentication and connection activity can be forwarded from the web application and the database backend. Confirm the exact events each extension emits.Wazuh, or an OpenSearch or Elasticsearch deployment, can ingest those logs and alert on them.Confirm that session start, session end, failed logins and recording creation each produce an event that reaches the SIEM with a timestamp.

How a recorded Guacamole session moves from browser to archive

The session starts in the user's browser, which connects over HTTPS to the Guacamole web application. That tier checks identity through its configured extensions, such as LDAP, SAML, OpenID Connect, Duo or TOTP, before forwarding the Guacamole protocol to guacd. guacd opens the RDP, VNC or SSH connection to the target and writes the recording at the gateway. The recording then moves to a store that a retention job manages, and auditors replay it with the recording player extension. Check that each trust boundary is enforced, and that the recording store has its own access controls separate from the gateway's.

Trust boundaries and hand-offs from browser to the recording archive.

Which open-source components cover recording, playback and retention

Session recording for audit is not one product. Gateway capture, file retention, event logging and SSH-centric session control are separate jobs, and a regulated team usually combines more than one. Each card below sets out when the component fits, what it leaves open, and what to confirm in writing before choosing it.

Guacamole gateway recording

Apache Guacamole can record RDP, VNC and SSH sessions at the gateway, so the capture happens outside the target system and does not depend on an agent on each desktop. The session recording player extension plays those files back for reviewers. Confirm that the recording covers every protocol and connection path your users take, including any direct connections that bypass the gateway. Also confirm who can start, stop, view and delete recordings, and whether that access is logged.

Guacamole manual

S3-compatible object storage for retention

Recording files are large and need a retention period that auditors can check, so they usually go to object storage rather than the gateway's local disk. Ceph RADOS Gateway, SeaweedFS and Garage each expose an S3-compatible interface that works with backup and archive tooling. Confirm the retention period, object lock or immutability settings, and encryption at rest in writing, and confirm that deletion requires a documented approval. Ask who operates the storage cluster and how its own backups are protected.

SIEM for session metadata and access events

Recording shows what happened inside a session. A log platform records who connected, when, from where and with which account, and it alerts when those patterns change. Wazuh or a self-hosted log stack can ingest gateway authentication logs, session start and end events, and admin actions on the recording store. Confirm that the gateway emits these events in a format your collector can parse, that log retention matches the session recording retention, and that the log store itself is write-protected from the people it monitors.

Privileged access manager for SSH-centric control

Teams that manage most access over SSH, or that need just-in-time approval and command-level control, may prefer a privileged access manager such as Teleport or JumpServer. These tools broker the session, record it and enforce policy before the connection opens. They do not replace a Windows desktop gateway, so they fit server administration better than general desktop delivery. Confirm which protocols and session types the tool records, how recordings are exported, and whether its audit logs can be forwarded to your SIEM.

How recording coverage differs for RDP, VNC and SSH

For RDP, the Guacamole web application receives the user's browser session and forwards it to guacd, which loads the RDP client plugin and opens the connection to the Windows host on the user's behalf. Because every frame and input event passes through the gateway, the gateway is where the session can be recorded and later replayed in the player extension. Recording coverage still depends on how the connection is configured and on the target host, so test the following before you rely on it:

  • Recorded content: Confirm that the recording captures the full remote desktop, including windows the user opens after login, and that it runs for the whole connection.
  • Clipboard and file transfer: Test whether clipboard text and file transfers pass through the gateway, and whether they appear in the recording or in other logs.
  • Session metadata: Check that the authenticated user, target host, source address, start time and end time are stored with each recording.
  • Playback fidelity: Replay sessions with seek and fast-forward, and confirm that screen changes and keystrokes line up with the events you expect.

Public Guacamole documentation describes the gateway recording and the player extension, but per-protocol detail is something you must confirm in your own environment. Run these tests with an administrator account, a standard user and a session that uses clipboard and file transfer, and file the results with your control evidence.

How recordings support NIST SP 800-171 3.1.12 session monitoring

Requirement 3.1.12 in NIST SP 800-171 and the matching CMMC Level 2 practice AC.L2-3.1.12 call for monitoring and controlling remote access sessions. Session recording is one way to show monitoring, but it sits alongside access control, alerting and review. In Apache Guacamole, the gateway already sees every RDP, VNC and SSH session, so the recording setting is only part of the design. Your evidence should show who could start a session, what was done in it, who reviewed it and how an unusual session was escalated. Before you rely on recordings, confirm with your assessor which combination of controls they expect to see for your environment.

Retention is the first decision to document. Set a retention period for recordings based on your contractual, regulatory and internal obligations, and confirm it with your compliance lead rather than copying a value from another organization. Configure storage so the recording path is the same path you apply retention and deletion rules to, and record the setting in your system security plan. Who may view recordings is the second decision. Limit playback to a named reviewer group, separate it from the group that administers connections, and review that membership on a schedule you can show.

Access to the recording store should itself be logged. Guacamole's audit trail covers connection and user activity in the gateway, but you must confirm which events your version records and whether file system access to the recording directory is captured by your host logging, such as auditd or your SIEM. Deletion is the harder part to evidence. Keep a record of each purge with the date, the recordings removed, the retention rule applied and the operator who ran it, and protect that record from the same people who can delete files. The assessor and your organization together decide what evidence is sufficient. For the requirement text itself, read NIST SP 800-171 Rev. 2.

Running Guacamole recording alongside existing Citrix recording

During a transition, auditors may need evidence from two places: Citrix recordings for older published desktops and Guacamole recordings for new admin and contractor sessions. The four cards below set out the decisions that keep both sources consistent, reviewable and defensible under NIST SP 800-171 requirement 3.1.12.

Split recording by user group

Decide which population stays on Citrix recording and which moves to Guacamole first, and write that split into the system security plan. A common pattern is to keep existing published desktops on Citrix while new administrative and contractor sessions start on Guacamole, so each session type has one recording source. Confirm with the auditor that a mixed-source period is acceptable and that the boundary date is documented. Avoid routing the same user group to both paths, because that makes gaps hard to prove.

NIST SP 800-171 text

Map reviewers to two evidence sources

Give audit reviewers a single index that lists every remote access session, its recording location, and the platform that produced it. Without this index, a reviewer searching for one session may check only the Citrix archive and report a missing recording. Record which platform holds each date range, and test a sample retrieval from each source before the auditor's first review. Keep the index itself under access control, because it reveals who connected to which systems.

Align retention periods across both

Set one retention standard that applies to recordings from both platforms, then configure each system to meet it. Citrix and Guacamole recordings may be stored in different locations with different deletion behavior, so confirm that neither source purges records earlier than the agreed period. Check that legal hold or deletion requests are applied to both archives. Ask the auditor to confirm the retention period they expect for each evidence type before either source is pruned.

Keep SSO and MFA consistent

Use the same identity source and multi-factor method for both access paths, so that a user's authentication evidence means the same thing regardless of which gateway they used. Guacamole supports LDAP, OpenID Connect, SAML, Duo and TOTP extensions, which can mirror the controls already applied to Citrix logons. Confirm that MFA is enforced on every remote access path under CIS Controls v8.1 Safeguard 6.4, and that audit logs from both identity flows are retained alongside the recordings.

Guacamole manual

Moving session recording from Citrix to Guacamole

This sequence moves audit evidence for remote sessions from Citrix to Apache Guacamole without a gap, so the auditor accepts the new recordings before the old ones stop.

  1. Inventory recorded Citrix sessions and user groups

    The Citrix administrator lists which published apps and desktops are recorded today, which delivery groups and user populations they serve, and which protocols and target systems are involved. The compliance lead confirms which groups, such as administrators, contractors or users with access to controlled data, fall under the audit requirement. Done when every recorded group has a named owner and a matching list of target systems that Guacamole must reach.

  2. Document the audit requirement and retention period

    The compliance lead writes down the control that drives recording, which for a NIST SP 800-171 environment is requirement 3.1.12 (CMMC Level 2 practice AC.L2-3.1.12), along with the retention period, who may view recordings and how review evidence is produced. Confirm these terms with the assessor or your contract owner, since the requirement states the outcome and the organization sets the detail. Done when the written requirement is approved and mapped to each user group from the inventory.

  3. Stand up Guacamole with authentication and a test target

    The platform team installs Apache Guacamole in the chosen environment, connects it to the authentication extension the organization uses, such as LDAP, SAML, OpenID Connect or Duo and TOTP for multi-factor authentication, and creates a connection to a non-production Windows or Linux test host. The team confirms that users reach the test host only through the gateway and that the Guacamole database and logs are backed up. Done when a test user signs in with the required factors and reaches the test host from a browser.

  4. Prove recording and playback for each protocol

    The team enables session recording on the Guacamole connection and runs a test session for each protocol in scope, RDP, VNC and SSH, using the session recording player extension to replay each one. The tester checks that the recording shows the full session, identifies the user and target, and plays back without gaps. Done when a dated test log shows a recording and successful playback for every protocol, signed off by the compliance lead.

  5. Provision the recording store with access and retention

    The platform team places recordings on storage that is separate from the gateway host, restricts read access to named reviewers through the role model, and applies the retention rule from step two so recordings are kept and deleted as the written policy states. Logs of who viewed or exported each recording are kept as well. Done when a reviewer without permission is denied access, a test recording is removed on schedule, and the access log shows the test views.

  6. Run Citrix and Guacamole recording in parallel

    Citrix recording stays on for the recorded groups while a pilot group of users connects through Guacamole with recording enabled. The compliance lead compares both evidence sets for completeness, such as whether each session has a recording, a user identity and a timestamp, and the team logs any gaps and fixes them before expanding the pilot. Done when both paths produce matching evidence for the pilot group over the agreed period.

  7. Cut over user groups in waves

    The team moves one user group at a time from Citrix to Guacamole, starting with the group that has the lowest operational risk and ending with the most sensitive group. Before each wave, the team confirms the group's connections, permissions and retention settings in Guacamole and updates its access documentation. Done when each wave has a change record, and every group in the inventory connects through Guacamole with recording active.

  8. Retire Citrix recording after auditor acceptance

    Once all groups run on Guacamole, the compliance lead provides the auditor with the requirement mapping, test logs, retention settings, access records and sample recordings, and asks for written acceptance of this evidence. Citrix session recording is switched off only after that acceptance, and the old recordings are kept under the retention rule until their period ends. Done when the auditor's acceptance is on file and the Citrix recording decommission is documented.

What does an open-source session recording migration cost and require?

What drives the cost of moving session recording to Apache Guacamole?

Licensing is not the main driver, because Apache Guacamole is released under the Apache License, Version 2.0. The cost comes from the work around the software:

  • Implementation: installing the gateway, configuring guacd and the web application, and setting up the recording player extension.
  • Storage: disk or object storage for recordings, sized to your session volume and retention period.
  • Identity integration: connecting LDAP, Active Directory, SAML, OpenID Connect or MFA so every recorded session maps to a named user.
  • Testing and ongoing support: validating recordings, patching, and upgrades.

Ask each cost component to be priced separately in any quote.

How long does a session recording migration take?

The timeline depends on how many access paths you are moving, how many target systems use RDP, VNC or SSH, and how quickly identity and audit requirements are agreed. The supplied facts do not give a duration, so confirm the schedule against your own environment and ask for the timeline in the written scope. Teams usually move the highest-risk admin and contractor access first, because those sessions carry the most audit exposure. Plan retention and review work early, since agreeing on storage location and retention often takes longer than the technical setup.

What must our team provide before a session recording project starts?

Before work starts, prepare four inputs:

  • Requirements: which sessions must be recorded, who reviews them, and the retention period your policy requires.
  • Identity sources: the LDAP or Active Directory domain, SSO provider, and MFA method that recorded users sign in with.
  • Target inventory: the Windows, Linux and network hosts reached over RDP, VNC or SSH, with their current access paths.
  • Auditor contact: the person who will review the evidence, so recording controls match what they expect to see.

Without these inputs, the scope and quote will be provisional.

Can our internal team migrate session recording without outside help?

Yes, a team with Linux server administration, database and identity skills can deploy Guacamole and its recording player extension, provided it has time to test. The harder parts are usually identity integration, recording storage design, and evidence preparation for an assessment. Teams that lack these skills often hire help for a fixed scope covering architecture, deployment and testing, then run the platform in-house. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your infrastructure, and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies do that work.

Which costs are one-time and which recur after go-live?

One-time costs include planning, architecture, the initial deployment, identity integration, and the first round of testing and documentation. Recurring costs include:

  • Storage growth as recordings accumulate and retention periods run.
  • Patching and upgrades to Guacamole and the host operating system.
  • Periodic access reviews, log checks and recording playback tests.
  • Ongoing support or a retainer for upgrades and continuous testing.

Ask the provider to split the quote into these two groups so you can budget storage and support separately.

How much storage do session recordings need, and how long should we keep them?

Storage depends on the number of recorded sessions, their average length, the protocols used, and the retention period set by your policy and any regulatory obligations. The supplied facts do not provide sizing figures, so measure your own session volume over a representative period and confirm retention requirements with your compliance lead before sizing storage. Recordings should sit on storage with access controls, backups and integrity protection that match the sensitivity of the systems they show. Ask the provider to document the sizing method and the retention settings in the deliverables.

What should a written quote for session recording migration include?

A written quote should follow a written scope and list each deliverable separately. Ask for:

  • Architecture and deployment steps for Guacamole, guacd and the recording player extension.
  • Identity integration with the named LDAP, SAML, OpenID Connect or MFA sources.
  • Recording storage design, retention settings and access controls.
  • Testing of recording capture and playback for each protocol in scope.
  • Documentation, evidence preparation for your assessor, and handover.
  • Any retainer for upgrades and ongoing testing, quoted separately.

Also ask which items are excluded, who owns the target systems, and what happens if the scope changes. DeployOpen does not publish a price list, and a quote follows from the written scope.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so a session recording replacement can be reviewed by your security and compliance teams. We start from the recording requirements your auditors and assessors actually ask about, then build and test the gateway, playback and retention path against them.

How we scope

  • Inventory which Citrix sessions are recorded today, which user groups and protocols they cover, and who reviews the recordings
  • Confirm the retention period, storage location and access rules your compliance owner expects for session records
  • Agree scope, deliverables and timelines in writing before work starts, since most engagements are fixed-scope

How we build

  • Deploy Apache Guacamole with its recording player extension in your environment, natively or in Docker, with SSO and MFA wired to your identity provider
  • Configure recording at the gateway for RDP, VNC and SSH sessions, then test that each protocol produces a playable record
  • Set up encrypted storage, access controls and audit logging for recordings, and test them against the NIST SP 800-171 3.1.12 control

How we hand over

  • Deliver configuration documentation, a control mapping showing how recordings address 3.1.12, and a record of test results
  • Run a walkthrough with administrators and reviewers covering playback, search, export and retention procedures
  • Provide a list of the gaps that remain, such as graphics-heavy sessions or recordings from non-gateway paths, with owners for each

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover
  • Retainers can cover Guacamole version upgrades, recording storage capacity reviews and periodic retesting of playback and access controls
  • DeployOpen prepares systems and evidence for compliance assessments, but independent auditors and certification bodies issue any audit reports or certifications

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.