HDX Screen Sharing

Overview

Citrix VDA for macOS has the (HDX Screen Sharing) capability so you can share the screen of your macOS desktop to other session users (could be Windows or Linux VDA users on their respective virtual desktops) by generate secure screen sharing code & pass to others, so he/she could assist the session live; alternatively, Citrix VDA for macOS also allow you to assist/access others screen once you had acquired the code been generated in similar process; keyboard and mouse control is also part of the HDX Screen Sharing capabilities.

System requirements

  • Install Qt 5 framework.

To align the unified user experience crossing all VDA regarding HDX Screen Sharing, you need install Qt framework, the minimal compatible version is Qt 5 (rev. 5.15.13 or later) ; install Qt 5 can be performed using, for example, homebrew by run following command:

brew install qt@5

  • There must be network connectivity between the VDA hosting the session and the machines connecting to the shared sessions. Network port requirements are based on ICA ports in use (TCP/UDP 1494 or 2598) and the Screen sharing policy configuration (TCP 52525 to 52625 by default).

Configuration

  1. Enable HDX Screen Sharing

    HDX screen sharing feature is disabled by default for security & privacy reasons. To enable it, complete the following settings:

    1. Enable the “Screen Sharing” policy in DaaS Console or CVAD Web Studio, the policy shall be configured for both “sharee” and “sharer” for sessions involved as below picture indicated.

    2. Allow TCP ports 52525–52625 inbound/outbound in your firewall. Refer Screen Sharing for more details.

      hdx

      When you enabled HDX Screen Sharing without install correctly Qt 5, when click the Screen Sharing icon in status as indicated.

      HDX1

      HDX2

    The following example walks you through the procedure of sharing a screen and viewing someone else’s screen.

  2. To share a screen.

    1. In the status bar of your virtual desktop, click the following system tray icon and select Screen sharing > Share my screen.

      HDX3

    2. Click Copy and Close.

      The current screen sharing code persists until you stop and restart sharing your screen.

      HDX4

      Note:

      While you are sharing your screen, there is a red border around it, indicating that sharing is in progress.

    3. Share the copied code with session users on other virtual desktops that you want to share your screen with.

    4. To let a viewer control your screen, select Give control and then the viewer’s name. To stop giving control, clear the viewer’s name.

      HDX5

    5. To stop sharing your screen, select Stop sharing my screen.

      HDX6

  3. To view someone else’s screen.

    1. In the status bar of your virtual desktop, click the screen sharing icon and select View someone else’s screen.

      HDX7

    2. Enter the connection code of the screen that you want to view and then click Connect.

      HDX8

    3. Wait for the screen sharer to accept your request. For example:

      HDX9

    Note:

    On the sharer side, the MacOS system issues a notification of your request.

    If the sharer does not accept your request within 30 seconds, your request expires and a prompt appears.

    1. After the screen sharer accepts your request by clicking OK, the shared screen appears in your Desktop Viewer. You are connected as a viewer with an automatically assigned user name.

      HDX10

    2. To request control over the shared screen, click the mouse icon in the upper left corner. Click the mouse icon again to release control over the shared screen.

      HDX11

      Note:

      If the sharer does not accept your request within 30 seconds, your request expires.

      Only one viewer is allowed to control a shared screen at a time.

    3. To disable display scaling or scale to the window size, click the icon next to the mouse icon.

      HDX12

Considerations

The screen sharing feature does not support the H.265 video codec.

Users of desktop sessions can share their session screens with up to 10 viewers by default. The maximum number of viewers is configurable through ctxreg update -k "HKLM\System\CurrentControlSet\Control\Citrix\Thinwire" -v "ScreenSharingViewerMaxNum" -d <hex_value>.

When the maximum number is reached, a prompt appears when users try to accept extra connection requests.

Note:

The ScreenSharing Icon is shown as a menubar icon on the top right, the system would hide the last icon if there’s not enough space on the menu bar when resizing the cwa viewer to a small one. To reveal the icon, it is recommended to resize the viewer to maximum and move the ScreenSharing icon to the right most by holding “Command” and then drag the icon to the right most, thus the ScreenSharing icon would be the last icon to be hidden if resolution decreased.

HDX Screen Sharing