VNC configuration Connect remote server Desktop-linux\windows

Source: Internet
Author: User
One, VNC Configuration connection remote server desktop

1, Server Installation Vnc-server

# yum-y Install Vnc-server

2. Configure the VNC connection login password

# VNCPASSWD Enter

3, Configuration Vnc-server

# vi/etc/sysconfig/vncservers

4, cancel the following two lines of comments

Vncservers= "2:root"

vncserverargs[2]= "-geometry 1024x768"

Save exit

5. Start Vnc-server

#/etc/init.d/vncserver Start

6. View your vnc-server port number

# PS aux | grep vnc*

Root 9472 0.0 0.4 137560 34260 pts/2 S 09:50 0:00/usr/bin/xvnc:2-desktop dy001.cn:2 (Root)-auth/root/. Xauthority-geometry 1024x768-rfbwait 30000-rfbauth/root/.vnc/passwd-rfbport 5902-FP Catalogue:/etc/X11/fontpath.d- Pn

Port number is 5902

7. Configure Iptables to open 5902 ports

Second, Windows installation VNC client

Start VNC Viewer when installation is complete

Start interface Input IP: port number OK to connect

Enter the password for the VNCPASSWD setting

Landing success

VNC configuration Connect remote server Desktop-linux\windows

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.