- Newest
- Most votes
- Most comments
Regarding [audio] enabled=false
The [audio] section follows the standard boolean configuration pattern used across DCV configuration blocks. While not explicitly listed in the current parameter reference, setting enabled=false prevents the dcvagent from initializing the PulseAudio connection during session startup, effectively bypassing the problematic teardown path.
Regarding application to running sessions
Parameters within the [audio] block are session-context settings, loaded only upon session creation. There is no supported CLI mechanism, signal, or administrative command to force a live dcvagent to reload configuration or dynamically release the PulseAudio/dbus connection without terminating the session.
Regarding systemctl restart dcvserver
Restarting the dcvserver service terminates all active virtual sessions. The DCV server manages the lifecycle of the Xdcv process and the associated dcvagent. A service restart triggers a termination signal to these child processes, resulting in the immediate loss of the session, desktop environment, and all running applications.
Regarding the SIGSEGV
The provided backtrace indicates a use-after-free or race condition within the libpulse / dbus / glib teardown sequence in libdcv.so. This indicates a defect within the library itself. Opening an AWS Support case is necessary to report the issue and track the requirement for a fix in a future 2025.0.x release.
Based on the available documentation, I can address some of your questions, though I cannot confirm details about the specific crash you're experiencing or undocumented parameters.
Regarding the [audio] enabled parameter:
The documented audio parameters in the [audio] section are avsync-support and source-channels. The enabled parameter you've discovered is not listed in the official parameter reference. Without official documentation, I cannot confirm whether [audio] enabled=false is a supported configuration option or guarantee its behavior across versions.
Regarding session-context parameters:
You are correct that [audio] section parameters have a "session" reload context, meaning they are loaded when a session is created. Changes to these parameters apply to newly created sessions, not existing ones. This is the documented behavior for session-context parameters.
Regarding virtual session behavior:
When investigating virtual session issues on Linux, the relevant logs are typically found in /var/log/dcv/sessionlauncher.log and /var/log/dcv/dcv-session.user.session.log. System logs like dmesg and journalctl -xe can provide additional details about failing components.
Virtual sessions on Linux are created with the dcv create-session command. Sessions can terminate unexpectedly if applications launched by the init script crash or if required tools are missing, even if the initial creation appears successful.
What I recommend: Given that you're experiencing a crash with a specific build and have found a workaround using an undocumented parameter, I strongly recommend opening a support case through the AWS Support Center (https://console.aws.amazon.com/support/) to:
- Report the SIGSEGV crash with your detailed backtrace
- Request official confirmation on the supported method to disable audio on Linux virtual sessions
- Inquire about any known issues with PulseAudio teardown in your specific build
- Ask about supported methods for applying configuration changes to running sessions
Your detailed analysis and backtrace will be valuable for the support team to investigate this issue properly.
Sources
Amazon DCV Server parameter reference - Amazon DCV
Investigating Virtual Session Creation Failure on Linux - NICE DCV
Hello.
I checked the documentation as well, and according to the publicly available Amazon DCV parameter reference, only avsync-support and source-channels are explicitly described in the audio section; enabled is not listed.
Since AWS rarely discloses its future roadmap, it is difficult to determine whether compatibility is officially guaranteed until the information is released as an update.
https://docs.aws.amazon.com/dcv/latest/adminguide/config-param-ref.html
The documentation does not appear to list a CLI command to force a running dcvagent to reload arbitrary dcv.conf settings, nor does it mention any administrative operation to disconnect and reinitialize only the PulseAudio connection.
Therefore, if the audio settings are designed to be loaded as part of the session context at the time of session creation, it is highly likely that—as a general rule—you would need to terminate and recreate the session to apply changes to an existing long-running session.
Relevant content
asked 3 months ago
asked 2 years ago
asked 5 years ago

If my answer was helpful, I would appreciate it if you could mark it as the accepted answer.