Modify VNC resolution in RHEL

Source: Internet
Author: User
When using CAE design software in Linux, the default resolution green of VNC in the system is 1024*768, which makes it unavailable in some regions. After the experiment, the resolution can be adjusted as follows: 1. whichvncserver obtains the location where the VNCServer running script is located. RHEL5 is/usr/bin/vncserver2 by default. Use vi to open vncservervi/usr/bin/vncserve

When using CAE design software in Linux, the default resolution green of VNC in the system is 1024*768, which makes it unavailable in some regions.

After testing, the resolution can be adjusted as follows:

1. which vncserver obtains the location where the VNC Server running script is located.

RHEL5:/usr/bin/vncserver by default

2. Use vi to open vncserver

Vi/usr/bin/vncserver

3. Find the default resolution: 1024X768, and then modify the resolution. This row is in the first parameter section of the end of the annotation. Modify this parameter based on the actual display resolution.

4. After the vncserver is modified, the new resolution starts when the vncserver is re-executed.

5. Verification: ps-ef | grep vnc. The displayed resolution parameter is the modified parameter.

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.