Modify the VNC resolution size

Source: Internet
Author: User

A small resolution of VNC may lead to a "confirmation key or Cancel key" cannot be clicked during graphical interface operation, and high resolution may cause the low resolution client display not to display.

Solution 1: Use the geometry parameter to adjust

[email protected] ~]# man Vncserver

Visible, the default resolution is 1024x768, we can use this parameter to adjust the resolution

I have a native screen resolution of 1366x768, so I need to adjust the resolution to 1366x768

[Email protected] ~]# Vncserver-geometry 1366x768

Using "192.168.124.161:10" to login to VNC at this time will get a 1366x768 operation window.

Workaround Two: Modify the configuration file Vncservers

[Email protected] ~]# vi/etc/sysconfig/vncservers

We can adjust the last line to read as follows:

vncserverargs[9]= "-geometry 1366x768-nolisten TCP"

After restarting Vncserver, using "192.168.124.161:9" login VNC will get a 1366x768 operation window

Summarize

Workaround 1: The operation is simple, the impact is small, because the method is to start the VNC process to provide services, but it is easy to leave too many VNC processes in the system;

Workaround 2: By adjusting the default resolution of VNC, the implementation is centralized, but there is a problem that the client cannot use because of high resolution adjustment.

Reference: http://blog.itpub.net/519536/viewspace-668621/

Modify the VNC resolution size

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.