# Then, try to change the display scale, and click "revert settings", the session should freeze
# gnome-shell log should contain similar log messages to the following:
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to restore previous configuration: Invalid mode 3840x1352 (59,963089) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to use linear monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to use fallback monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Impossible to set scaling on crtc 59 to 1,000000, error id 2
Reproducer:
-- Grab a fresh Ubuntu 22.04 VM, then install NICE DCV Server & NICE Xdcv --
# Exit graphical mode e=True/ WaylandEnable= false/" /etc/gdm3/ custom. conf /d1uj6qtbmh3dt5 .cloudfront. net/NICE- GPG-KEY /d1uj6qtbmh3dt5 .cloudfront. net/2023. 0/Servers/ nice-dcv- 2023.0- 15065-ubuntu220 4-x86_64. tgz 2023.0- 15065-ubuntu220 4-x86_64. tgz 2023.0- 15065-ubuntu220 4-x86_64 dcv-server_ 2023.0. 15065-1_ amd64.ubuntu220 4.deb xdcv_2023. 0.547-1_ amd64.ubuntu220 4.deb
sudo systemctl isolate multi-user.target
# Install `ssh` & import id (optional)
sudo apt -y install openssh-server
ssh-import-id <your-lp-id>
# Disable wayland
sudo sed -i "s/WaylandEnabl
# Install NICE DCV Server & Nice XDCV
cd /tmp
wget https:/
gpg --import NICE-GPG-KEY
wget https:/
tar -xvzf nice-dcv-
cd nice-dcv-
sudo apt -y install ./nice-
sudo apt -y install ./nice-
# Add "dcv" user to "video" group:
sudo usermod -aG video dcv
# Start dcv server:
sudo systemctl start dcvserver
# Create a session:
sudo dcv create-session my-test-session --owner=test
-- client -- /d1uj6qtbmh3dt5 .cloudfront. net/2023. 0/Clients/ nice-dcv- viewer_ 2023.0. 5483-1_ amd64.ubuntu220 4.deb viewer_ 2023.0. 5483-1_ amd64.ubuntu220 4.deb :8443#my- test-session
# Install NICE DCV client and connect to the dcv host
wget https:/
dpkg -i nice-dcv-
dcvviewer https://<vm-ip>
# Then, try to change the display scale, and click "revert settings", the session should freeze
# gnome-shell log should contain similar log messages to the following:
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to restore previous configuration: Invalid mode 3840x1352 (59,963089) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to use linear monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Failed to use fallback monitor configuration: Invalid mode 800x600 (-nan) for monitor 'unknown unknown'
May 30 15:59:03 test-2 gnome-shell[4906]: Impossible to set scaling on crtc 59 to 1,000000, error id 2