Mutual Remote Desktop between CentOS and Windows

Source: Internet
Author: User
Tags rdesktop

Mutual Remote Desktop between CentOS and Windows
1. Windows Remote CentOS desktop (the premise is that CentOS is installed on the desktop, which is not minimized) 1. VNCVNC (Virtual Network Computing) is a software that can remotely control remote computers. It supports Remote Desktop Management in linux and is also suitable for other operating systems. Putty and SSH can only be used for remote management in command mode. Check whether vnc is installed on the local machine (vnc is not installed on CentOS 7 by default) rpm-q vnc-server. If the result is: package vnc is not installed, you need to install it. Server Configuration 1) install vncserver [plain] view plaincopy

  1. Yuminstall-yvnc-server
2) modify the configuration [plain] view plaincopy
  1. Vi/etc/sysconfig/vncservers
Go to # in the last two rows, and set the following Line1: "1: username" Line2: "... 1024*768..." 3) set the password [plain] view plaincopy
  1. Vncserver
4) Modify firewall [plain] view plaincopy
  1. Vi/etc/sysconfig/iptables
Add-a input-m state -- state NEW-m tcp-p tcp-dport 5901-j ACCEPT to start the VNC service using the vncserver command. The command format is "vncserver: desktop number ", the "desktop number" is represented by "Numbers". Each user needs to occupy one desktop.

The port number used by the VNC service is related to the desktop number. The VNC uses the TCP port starting from 5900. The corresponding relationship is as follows:

Desktop number is "1" ---- port number is 5901

Desktop number "2" ---- port number is 5902

Desktop number "3" ---- port number is 5903

......

5) restart the Firewall Service [plain] view plaincopy
  1. Serviceiptablesrestart
6) restart the vnc service [plain] view plaincopy
  1. Servicevncserverrestart
7) ping [Client ip] Verify connectivity client configuration 1) Open the vnc client, enter ip: 59012) Enter Password 2. Linux Remote Windows desktop 1. rdesktop client configuration 1) install rdesktop [plain] view plaincopy
  1. Yuminstall-yrdesktop
2) use the rdesktop command to connect to the Windows desktop [plain] view plaincopy
  1. Rdesktop-a16x.x.x.x: 3389-uusername-ppassword-f
Server Configuration 1) enable remote access 2) Cancel firewall Interception

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.