Workspaces Linux Client immediately disconnects on Ubuntu 22.04, works on Ubuntu 24.04

0

The Linux Workspaces client has started immediately disconnecting for me on Ubuntu 22.04 using the latest available DCV only version v2024.8.5191.

After I log in it briefly shows the desktop then disconnects. The client was working about two weeks ago and the installed version has not changed. So possibly a bad interaction with updates from Ubuntu.

Upgrading the machine to 24.04 has since fixed the issue so just recording this for anyone else with the same issue.

Log snippet below but doesn't reveal anything helpful I can spot.

2025-04-30T01:00.19Z [ Web    ]: [INFO] Setting up RTC Channel listener
2025-04-30T01:00.19Z [ Web    ]: [INFO] Rendered endpoint: https://ap-southeast-2.webclient.amazonworkspaces.com/auth/warpdrive?*snip*
2025-04-30T01:00.19Z [ Web    ]: [INFO] Initiating RTC Channel negotiation. Checking Channel Availability: true
2025-04-30T01:00.19Z [ Web    ]: [INFO] Initiating RTC Channel negotiation. WebClient is running in embedded browser: ap-southeast-2.webclient.amazonworkspaces.com
2025-04-30T01:00.19Z [ Web    ]: [INFO] Requesting Platform details from native app
2025-04-30T01:00.19Z [ Native ]: [INFO] Sending platform details to webclient RTCChannelMessage { version: "1.0", action: "GET_PLATFORM_DETAILS", action_type: "REQUEST", payload: SettingsPayload(UpdateSettingsRequest { user_settings: UserSettings { registration_code: None, metrics_endpoint: None, region_endpoint: None, web_client_endpoint: None, metrics_ipv6endpoint: None } }) }
2025-04-30T01:00.19Z [ Native ]: [INFO] Received Platform details from Solo
2025-04-30T01:00.19Z [ Web    ]: [INFO] Received negotiation response. Proceeding to app initialization
2025-04-30T01:00.19Z [ Web    ]: [INFO] Set up log uploader successfully
2025-04-30T01:00.19Z [ Web    ]: [INFO] User Log settings for device::*snip*
                are UserLogsEnabled:true LogLevel:DEBUG
2025-04-30T01:00.19Z [ Web    ]: [INFO] Trying to get HTTP Config for endpoint URL
2025-04-30T01:00.19Z [ Web    ]: [INFO] Trying to send request using IPv4 endpoint URL: https://ws-broker-service.ap-southeast-2.amazonaws.com
2025-04-30T01:00.19Z [ Web    ]: [INFO] Received AuthBlob from Authenticate response
2025-04-30T01:00.19Z [ Web    ]: [INFO] Getting all resources for *snip*
2025-04-30T01:00.19Z [ Web    ]: [INFO] Retrieving all resources for registration code:*snip* device:*snip* and session:*snip* and region:prod.syd
2025-04-30T01:00.19Z [ Web    ]: [INFO] Trying to get HTTP Config for endpoint URL
2025-04-30T01:00.19Z [ Web    ]: [INFO] Trying to send request using IPv4 endpoint URL: https://ws-broker-service.ap-southeast-2.amazonaws.com
2025-04-30T01:00.19Z [ Web    ]: [INFO] Rendered endpoint: https://ap-southeast-2.webclient.amazonworkspaces.com/session
2025-04-30T01:00.20Z [ Web    ]: [INFO] Updating session data and allocating session for resourceType:: WORKSPACE and resource::ws-*snip*
2025-04-30T01:00.20Z [ Web    ]: [INFO] Allocating workspace region with registration code:*snip*, device:*snip*, session:*snip*, id:ws-*snip*, protocol:Highlander, region:prod.syd
2025-04-30T01:00.20Z [ Web    ]: [INFO] Trying to get HTTP Config for endpoint URL
2025-04-30T01:00.20Z [ Web    ]: [INFO] Trying to send request using IPv4 endpoint URL: https://ws-broker-service.ap-southeast-2.amazonaws.com
2025-04-30T01:00.20Z [ Web    ]: [INFO] Retrieving AuthBlob from Session Storage
2025-04-30T01:00.20Z [ Web    ]: [INFO] Generating WSP 2.0 session context V2 streaming session auth details for resource type WORKSPACE
2025-04-30T01:00.20Z [ Web    ]: [INFO] Parsing extended endpoint gateway information for resource type WORKSPACE
2025-04-30T01:00.20Z [ Web    ]: [INFO] Setting session to connect
2025-04-30T01:00.20Z [ Web    ]: [INFO] Rendered endpoint: https://ap-southeast-2.webclient.amazonworkspaces.com/stream
2025-04-30T01:00.20Z [ Web    ]: [INFO] Skipping stream context generation
2025-04-30T01:00.20Z [ Web    ]: [INFO] Generating streaming inputs for DCV protocol on platform version Ubuntu 22.04 and client version 2024.8.5191
2025-04-30T01:00.20Z [ Web    ]: [INFO] Generating streaming token for undefined login and sessionId prod-ap-southeast-2-*snip*
2025-04-30T01:00.20Z [ Web    ]: [INFO] Retrieving streaming gateway endpoint for QUIC protocol
2025-04-30T01:00.20Z [ Web    ]: [INFO] Checking support for multiple gateways for Platform Linux and app version 2024.8.5191
2025-04-30T01:00.20Z [ Web    ]: [INFO] Generating streaming inputs with multiple streaming gateways enabled
2025-04-30T01:00.20Z [ Web    ]: [INFO] Requesting streaming for workspace
2025-04-30T01:00.20Z [ Native ]: [INFO] Received stream request. Action = "STREAM"

2025-04-30T01:00.20Z [ Native ]: [INFO] Launching dcvclient...
2025-04-30T01:00.20Z [ Native ]: [INFO] Launched insession process. Waiting for streaming to start
2025-04-30T01:00.21Z [ Native ]: [INFO] sub-process has been exited
2025-04-30T01:00.21Z [ Web    ]: [INFO] Received Disconnect Request from Solo {"Version":"1.0","Action":"DISCONNECT","ActionType":"REQUEST","Payload":{"DisconnectCode":"200"}}

2025-04-30T01:00.23Z [ Web    ]: [INFO] Setting up RTC Channel listener
2025-04-30T01:00.23Z [ Web    ]: [INFO] Rendered endpoint: https://ap-southeast-2.webclient.amazonworkspaces.com/disconnect?disconnect_status_code=200
2025-04-30T01:00.23Z [ Web    ]: [INFO] Initiating RTC Channel negotiation. Checking Channel Availability: true
2025-04-30T01:00.23Z [ Web    ]: [INFO] Initiating RTC Channel negotiation. WebClient is running in embedded browser: ap-southeast-2.webclient.amazonworkspaces.com
2025-04-30T01:00.23Z [ Web    ]: [INFO] Requesting Platform details from native app
2025-04-30T01:00.23Z [ Native ]: [INFO] Sending platform details to webclient RTCChannelMessage { version: "1.0", action: "GET_PLATFORM_DETAILS", action_type: "REQUEST", payload: SettingsPayload(UpdateSettingsRequest { user_settings: UserSettings { registration_code: None, metrics_endpoint: None, region_endpoint: None, web_client_endpoint: None, metrics_ipv6endpoint: None } }) }
2025-04-30T01:00.23Z [ Native ]: [INFO] Received Platform details from Solo
2025-04-30T01:00.23Z [ Web    ]: [INFO] Received negotiation response. Proceeding to app initialization
2025-04-30T01:00.23Z [ Web    ]: [INFO] Set up log uploader successfully
2025-04-30T01:00.23Z [ Web    ]: [INFO] User Log settings for device::*snip* 
                are UserLogsEnabled:true LogLevel:DEBUG
2025-04-30T01:00.23Z [ Web    ]: [WARN] result.data not found while pulling directory level preferences.
2025-04-30T01:00.23Z [ Web    ]: [INFO] starting telemetry flush
2025-04-30T01:00.23Z [ Web    ]: [INFO] Starting Metrics flush request
2025-04-30T01:00.23Z [ Web    ]: [INFO] Triggering metrics publish
2025-04-30T01:00.23Z [ Web    ]: [INFO] Started Metric publisher task
2025-04-30T01:00.23Z [ Web    ]: [INFO] Setting up next trigger for publishing metrics
2025-04-30T01:00.23Z [ Web    ]: [INFO] Awaiting completion of metrics publish
2025-04-30T01:00.23Z [ Web    ]: [INFO] Completed metrics flush
2025-04-30T01:00.43Z [ Web    ]: [ERROR] Error publishing log upload trigger
[ExceptionMessage]Error: SoloRequestTimeOut
2025-04-30T01:01.23Z [ Web    ]: [INFO] Started Metric publisher task
2025-04-30T01:01.23Z [ Web    ]: [INFO] Setting up next trigger for publishing metrics

asked 13 days ago38 views
1 Answer
0

The issue you're experiencing with the WorkSpaces Linux client immediately disconnecting on Ubuntu 22.04 is likely related to a known problem with display settings. This can occur when there's a mismatch between the local and remote display layouts, which can be triggered by changes in display settings or certain applications that modify display configurations.

To resolve this issue, you can try the following steps:

  1. Use Remote Desktop Protocol (RDP) to connect to your WorkSpace.

  2. Open PowerShell as an Administrator.

  3. Run the following commands to clean up the DCV display registry keys:

    Stop-Service -Name dcvserver -Force Sleep 1 Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\DCV* | Remove-Item -Force -Verbose -Recurse Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\NOEDID* | Remove-Item -Force -Verbose -Recurse Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Connectivity\DCV* | Remove-Item -Force -Verbose -Recurse Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Connectivity\NOEDID* | Remove-Item -Force -Verbose -Recurse Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\ScaleFactors\DCV* | Remove-Item -Force -Verbose -Recurse Get-Item HKLM:\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\ScaleFactors\NOEDID* | Remove-Item -Force -Verbose -Recurse Sleep 1 Start-Service -Name dcvserver

  4. Disconnect the RDP session.

  5. Try connecting again using the WorkSpaces client.

If this doesn't resolve the issue, you may want to consider:

  1. Checking for any recent updates to your Ubuntu 22.04 system that might have affected display or graphics drivers.
  2. Ensuring you're using the latest supported version of the WorkSpaces client for Ubuntu 22.04.
  3. Verifying that your WorkSpace is configured correctly and that there are no issues with the WorkSpace itself (you mentioned it works on Ubuntu 24.04, which suggests the WorkSpace is functioning properly).

If the problem persists, it may be worth reaching out to AWS support for further assistance, as they might have additional insights or workarounds for this specific issue on Ubuntu 22.04.
Sources
AWS Workspaces Desktop Client - Disconnects after launching | AWS re:Post
WorkSpaces Linux client application - Amazon WorkSpaces

profile picture
answered 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions