Procedure to customize an existing VNC session display with new resolution 2560x1600:
zAccess access to the Linux server using the user account and start a terminal window.
Run "xrandr" to list the default supported resolutions as well as the display name (in red).
[alex@servops47 ~]$ xrandr Screen 0: minimum 32 x 32, current 1024 x 768, maximum 32768 x 32768 VNC-0 connected primary 1024x768+0+0 0mm x 0mm 1024x768 60.00*+ 1920x1200 60.00 1920x1080 60.00 1600x1200 60.00 1680x1050 60.00 1400x1050 60.00 1360x768 60.00 1280x1024 60.00 1280x960 60.00 1280x800 60.00 1280x720 60.00 800x600 60.00 640x480 60.00 [alex@servops47 ~]$
Run "cvt 2560 1600" to get the modeline for the desired resolution.
[alex@servops47 ~]$ cvt 2560 1600 # 2560x1600 59.99 Hz (CVT 4.10MA) hsync: 99.46 kHz; pclk: 348.50 MHz Modeline "2560x1600_60.00" 348.50 2560 2760 3032 3504 1600 1603 1609 1658 -hsync +vsync [alex@servops47 ~]$
Run "xrandr --newmode " followed by the result (in red) from the previous step to set up the new mode as shown below.
[alex@servops47 ~]$ xrandr --newmode "2560x1600_60.00" 348.50 2560 2760 3032 3504 1600 1603 1609 1658 -hsync +vsync [alex@servops47 ~]$
Run "xrandr --addmode" with the display information from step 2 to add the new mode to the list as shown below.
[alex@servops47 ~]$ xrandr --addmode VNC-0 "2560x1600_60.00" [alex@servops47 ~]$
Run "xrandr -s" to apply the new mode and experience the new resolution.
[alex@servops47 ~]$ xrandr -s "2560x1600_60.00" [alex@servops47 ~]$
Note: The procedure has been validated using 64-bit zLink 4.4.1-13 on CentOS 7.6.1810.
Comments
0 comments
Please sign in to leave a comment.