I installed desktop on my AWS EC2 server as below.
└ $ sudo apt-get install -y ubuntu-desktop
The reason why I installed the packages to use the desktop specifically is because my EC2 was working as a CLI because it was Ubuntu Server 22.04.1 LTS.
I installed all the packages and successfully accessed EC2 using NoMachine. However, the resolution of the screen was set to 800 x 600 or 800 x 480 (I don’t remember which one was the default in detail…), and I changed it to FHD (1920×1080).
However, after changing the resolution, the changed parts only appeared in black and my behavior was not updated at all. In addition, it was the same when NoMachine was shut down, re-run, and accessed. (However, this time, the black screen has been updated to retain the desktop)
If anyone has experienced or solved a similar phenomenon to me, please let me know how to solve it.