Mouse

Increase mouse scroll speed

If you can not increase the mouse scroll speed of the remote machine, you can set in the NICE DCV server editing the file /etc/dcv/dcv.conf and adding this parameter:

[input]
mouse-wheel-sensitivity=480

Set DCV 2022 mouse scroll wheel into DCV 20231.

With the new feature the server tries to honor the amount of scroll of the client, but different devices and different OS’s use different scales and a parameter to adjust the sensitivity had to be added.

Edit the file /etc/dcv/dcv.conf and look for the [input] section and set:

mouse-wheel-sensitivity=0 

Enabling USB remotization and 3D mouse support

Overview

With NICE DCV, clients can use 3D pointing devices or authentication devices. Those devices are physically connected to their computer to interact with NICE DCV sessions.

You can follow the following guide to configure it, but first try to contact your distributor, who can provide you with specific instructions for your setup.

  1. Make sure USB remotization support is enabled on the server and on the client.
    Server configuration:  https://docs.aws.amazon.com/en_us/dcv/latest/adminguide/manage-usb-remote.html 
    Client configuration:  https://docs.aws.amazon.com/en_us/dcv/latest/userguide/using-usb.html
  2. On Linux, DKMS is required for the USB driver installation on the Linux server.
    For RedHat based distros, like CentOS, please run:
    sudo yum install epel-release
    sudo yum install dkms

    For Ubuntu based distros:
    sudo apt-get install dkms
  3. Then install DCV USB driver running:
    sudo dcvusbdriverinstaller

3dconnexion mouses setup

After following the basic instructions to enable USB remotization, you can setup the 3dconnexion mouse driver with these steps:

  1. Install the 3dconnexion driver on the server. The drivers and the corresponding instructions can be found at  https://3dconnexion.com/drivers/
  2. If you are using RedHat based distro, like CentOS, you need to setup motif. If you are using non RedHat based distro, just skip this step.
    sudo yum install motif 
    cd /usr/lib64 
    sudo ln -s libXm.so.4 libXm.so.3
  3. To install on Linux, run the following commands to install the driver:
    wget https://download.3dconnexion.com/drivers/linux/3dxware-linux-v1-8-0.x86_64.tar.gz
    mkdir 3dxware
    tar -xvf 3dxware-linux-v1-8-0.x86_64.tar.gz -C 3dxware
    sudo sh 3dxware/install-3dxunix.sh
  4. Connect the DCV client to the server and connect the device to the NICE DCV client.
    Connect to the server with the DCV client and make sure the 3D mouse device is enabled:
    Settings -> Removable Devices -> Connected Devices -> select the Spacemouse/SpaceNavigator toggle
    In case the device cannot be seen in the list of Connected Devices, make sure that USB support is enabled on both the client and on the server, as indicated in step 1.
  5. Run the 3DxWare service. You need to run the  3dxserv as root for the current user:
    sudo /etc/3DxWare/daemon/3dxsrv -d usb -userName $USER
  6. Test the device. Connect to the server with DCV, make sure the 3D mouse device is still enabled (Settings -> Removable Devices -> enable the Spacemouse), and run the 3dxware/xcube demo application

Space mouse for multiple users

After connecting the mouse in the first session, use lsbusb to get the device ID of the redirected mouse and ​then ​pass the device path to 3dxsrv:

sudo /etc/3DxWare/daemon/3dxsrv -d /dev/bus/usb/NNN/MMM -userName $USER

After this, connect the mouse to the second session and repeat the operation for the second redirected mouse.

If 3dxsrv is still refusing to start, probably the driver does not support this use case.