access through a browser: 5800 + session numbers. The port numbers for access through the VNC Viewer client are 5900 + session numbers.If you need to provide a cross-firewall server, the firewall needs to open the corresponding port.
*. Run the following command to end the service:
# Vncserver-kill: Session IDFor example: # vncserver-kill: 1 // end the service whose session number is 1
6.
on different platforms, whether server or client, support the communication protocol RFB of VNC. This makes it easy for different platforms to operate on each other.
---- VNC usually works on the server/client. Next we will test the VNC Server and VNC Viewer (client.
----
input-p tcp--dport 5801-j ACCEPT
This only temporarily opens the port. The reboot will not open. How to get the firewall to open this port. After the execution is completed. Perform:
[root@localhost ~]# Service Iptables Save
This allows the IP filtering rules to be stored in the/etc/sysconfig/iptables.
4. Test VNC Service
The first method is to use the VNC viewer
How to install and configure a VNC Server on CentOS 7.0
This is a tutorial on how to install and configure the VNC service on your CentOS 7. Of course, this tutorial is also suitable for RHEL 7. In this tutorial, we will learn what VNC is and how to install and configure the VNC Server on CentOS 7.
As we all know, as a
graphics terminal,TWM To/usr/bin/startkde 4. Shut down VNC service or rebootLog on to the Linux host: Log in directly, or you can log on remotely. Remote Way please refer to: SSH, Telnet, rlogin and related tools.You can also operate at any one of the VNC client terminalsAfter logging in, execute the following command:[Dwang@vncserver1 ~]$ Vncserver-kill:6The above command will turn off the
In addition to the Ssh,linux platform, you can access remote machines in a graphical way, the most popular of which is VNC
VNC connections, however, are not secure and are easily intercepted and monitored, so a safer way to use vnc,ssh security through an SSH tunnel is guaranteed.
Very simple, use SSH to do port forwarding
Terminal mode
$ ssh-l 5900:localho
:0]
: OUTPUT ACCEPT [0:0]
-A input-m State- -state related,established-j ACCEPT
-a input-p icmp-j ACCEPT-a input-i lo-j ACCEPT
-a input-p tcp-m State--state new-m TCP--dport 22-j ACCEPT
-A input-p tcp-m State--state new-m TCP--dport 5901-j >-a input-j REJECT--reject-with icmp-host-prohibited
-A forward-j REJECT--reject-with
COMMIT
Attention: 1, if you do not configure and enable firewall, at this time with VNC
Article Title: VNC remote management of Linux server security guide. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories in the Open Source Field, remote control technology is represented by VNC. VNC (Virtual Network Computer) i
VNC, all known as virtual network Computing, is a desktop sharing system. It features similar to Remote Desktop features in Windows. VNC uses the RFB (remote framebuffer-frame buffer) protocol to remotely control another computer. It sends the keyboard, mouse action to the remote computer, and sends the remote computer's screen back to the local.
VNC technology h
server, we added the server starting from 2, so here the desktop number is 2 and the user is hubery.The starting port used by VNC is 5900 and 5800, the desktop number is 2 o'clock, and the VNC viewer accesses the port number that is 5902,web (Java) access is 5802.The root user's configuration is also this file, to configure the need at the end of the file simila
to the desktop number. The corresponding relationship is as follows:
Desktop number is "1" ---- port number is 5801
Desktop number "2" ---- port number is 5802
Desktop number "3" ---- port number is 5803
......
Based on the above introduction, if the firewall function is enabled in Linux, You need to manually enable the corresponding port. For example, to enable the corresponding port with the desktop number "1", the command is as follows:
[Root @ testdb ~] # Iptables-I INPUT-p tcp -- dport 590
and is free for anyone to access the software. The VNC software consists mainly of two parts:VNC Server and VNC viewer. The user is required to install VNC server on the computer that is being managed to perform the VNC viewer co
that allows users to remotely access the desktop environment of the server. In addition, you must use the VNC viewer client to connect to the VNC server.Advantages of some VNC servers:
Remote graphical management makes work easy and convenient.
The clipboard can be shared between the CentOS server host
open the desktop number of "1" the corresponding port for example, the following command
[Root@testdb ~]# iptables-i input-p tcp--dport 5901-j ACCEPT
[Root@testdb ~]# iptables-i input-p tcp--dport 5801-j ACCEPT
4. Test VNC service is normal
The first approach is to use the VNC Viewer software to log on to the test, the following procedure
Start the
Simple vnc-server settings [centos6], vnc-servercentos6Install the desktop environment
Yum groupinstall DesktopInstall vnc
Yum install tigervnc-serverCreate a user and set the vnc Password
Useradd acasu-acavncpasswdStart vnc
Su-acavncserver
There is a.
VNC, all called Virtual Network Computing, is a desktop sharing system. It is similar to the Remote Desktop function in windows. VNC uses the RFB (Remote FrameBuffer, Remote frame buffer) Protocol to remotely control another computer. It sends keyboard and mouse actions to the remote computer and sends the screen of the remote computer back to the local computer.VNC technology has nothing to do with the pla
Guide
This is a tutorial on how to install the VNC service on your CentOS 7 installation. Of course this tutorial is also suitable for RHEL 7. In this tutorial, we will learn what VNC is and how to install a VNC server on CentOS 7.
As we all know, as a system administrator, most of the time is through the network Management Server. In the process
Install the Remote Desktop Server software VNC Server and centos6.5vnc under CentOS6.5
VNC allows you to remotely access and control your computer from another computer or mobile device, wherever you are in the world. Common Use Cases include providing desktop support to colleagues and friends, and Remotely Managing Your servers.
Deploy the VNC Server to the comp
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.