Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use vnc to connect to a CVM in Windows

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces how to use vnc to connect to the CVM in Windows. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.

VNC Viewe connects to CentOS6.8 desktops. To connect to CentOS6.8 remote desktops, follow the steps below, which are very simple and fast. CentOS6.8 configures VNC (take RedHat, CentOS, Fedora series as an example).

Tools / raw materials

Install VNCServer on CentOS6.8 platform

IIS7 server management tool is recommended for Windows platform.

The VNC function in the IIS7 server management tool can be said to be very good to use. It can open links in batch.

Of course, since its VNC tools are so useful, its other functions must not be too bad. IIS7 server bulk management tools benefits: batch management, synchronization operations, expiration reminders, data security and periodic execution. Applicable systems: Windows and liunx operating systems. Vnc and Ftp batch operations are supported. The automatic update of the program will not make you suffer from the update, which saves you a lot of trouble. After all, the current software updates need to be re-downloaded and installed, which is very troublesome.

Methods / steps

2.1 install the VNCServer server package on the CentOS6.8 platform.

Yum-y install vnc vnc-server

2.2 modify the VNCServer main configuration file

Vim / etc/sysconfig/vncservers

Copy the last two lines and remove the first line commentator, and then modify it to

VNCSERVERS= "1:root" VNCSERVERARGS [1] = "- geometry 1024x768"

2.3 set the VNCServer remote connection password

Vncpasswd

Enter the same password twice

2.4 start the vncserver service

/ etc/init.d/vncserver start

2.5 modify xstartup configuration file

When the previous step is completed, a hidden directory starting with .vnc is generated under the root host directory, and the files under this directory are the root user's VNC desktop configuration files. Open xstartup configuration Desktop

Vim / root/.vnc/xstartup

Change the last line to gnome & (use GNOME Desktop)

2.6 Open the firewall VNCServer port

Vim / etc/sysconfig/iptables

Restart the iptables service by adding a line under-An INPUT-m state-state NEW-m tcp-p tcp-dport 22-j ACCEPT-An INPUT-m state-state NEW-m tcp-p tcp-dport 5901-j ACCEPT

/ etc/init.d/iptables restart

Finally, using an IIS7 service connection, you can easily vnc to connect to Linux.

So much for sharing about how to connect to a CVM with vnc in Windows. I hope the above content can be of some help and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report