environments that do not affect each other. Without this parameter, Tightvncserver will automatically look for the next idle console starting from 1. With this parameter, the specified console is enforced, and an error is made if this console is already started. Adding this parameter effectively prevents inadvertent startup of the program (which starts multiple consoles) and wastes system resources in vain.The Special No. No. 0 Console--0 console is the one that connects real-world displays of
that do not affect each other. Without this parameter, Tightvncserver will automatically look for the next idle console starting from 1. With this parameter, the specified console is enforced, and an error is made if this console is already started. Adding this parameter effectively prevents inadvertent startup of the program (which starts multiple consoles) and wastes system resources in vain.The Special No. No. 0 Console--0 console is the one that connects real-world displays of images. For t
Article title: Virtual Network Computing tool VNC User Guide. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Introduction
VNC (Virtual Network Computing) is essentially a remote display system. The administrator can not only view the desktop environment on the local
Shell code [root @ sfserver20 ~] # Vncserver-kill: 3 Killing Xvnc process ID 29665 if you want to see the desktop format, you need to modify the file Shell code [root @ sfserver20 ~] # Vim. comment out the last line of vnc/xstartup and add a new line as follows: # twm // comment out gnome-session // indicates that a remote user logs on to the Linux GNOME desktop or startkde // indicates that a remote user logs on to the Linux KDE desktop, it is be
time. After the execution is complete, an encrypted tunnel for server port 5901 and local port 5901 has been created. If the VNC desktop number on the server to be linked is 2, run the following command: vncviewer A. B .C.D: 2.
In this way, all data in the opened VNC window is encrypted by SSH.
Generally, SSH is used for Windows clients, that is, SSH Secure Shell. The following describes how to configure S
Vncserver port#vim/etc/sysconfig/iptablesAdd a line under "-A input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT"-A input-m state--state new-m tcp-p TCP--dport 5901-j ACCEPTRestart Iptables Service#/etc/init.d/iptables restart7, open http://www.realvnc.com/under the Windows client, download the corresponding Platform Vnc-viewer client (the file is green software, no need to install),In the
accidentally starting a program (which starts multiple consoles).The special number No. 0 Console--0 is the desktop that connects the actual display image of the real monitor. For VNC clients, do not enter the port number login, the default login to the No. 0 console, convenient. But because number No. 0 is the real desktop, there is a conflict with the boot desktop environment. Therefore, the 1th console is used in the automatic boot configuration t
system reload Systemctl daemon-reload7. Set the password for [email Protected]:1.service]vncpasswd8. Turn off the firewallCentoS7 Default with new firewall firewall, not with iptables[Using firewall]Firewall-cmd--permanent--add-service vnc-server# Add access rightsSystemctl Restart firewalld.service# Restart Firewalld#systemctl Stop Firewalld.service #停止firewall (start, startup)#systemctl Disable Firewalld.service #设置开机禁止firewall (Enable boot)[Using
Note:
1. if you do not configure or enable the firewall and connect to the server using VNC Viewer, the error "connect: Connection timed out (10060)" will be reported.
2. this document uses the root user as an example. if other users also need to log on, copy the file
Cp/lib/systemd/system/vncserver @. service/lib/systemd/system/vncserver @: 2. service
At the same time, change % I
VNC remote connection to rhel6.1 in Windows 7
1. VNC introduction:VNC (Virtual Network Computing) is a set of software developed by ATT lab that can control remote computers. It adopts the GPL authorization terms,Anyone can obtain the software for free.
VNC consists of two parts:VNC server and VNC
VNC Remote Control Linux system host graphical interface-Linux Enterprise Application-Linux server application information, the following is a detailed description. Generally, we operate on linux Hosts. If one day I am in another country or on another computer on this network, I will operate on the linux host again. There are many methods. Next I will introduce vnc, a control software that can use graphics
-- dport22-jACCEPT-AINPUT-ptcp-mstate -- stateNEW-mtcp -- dport5901-jACCEPT-AINPUT-jREJECT -- reject-withicmp-host- prohibited-AFORWARD-jREJECT -- reject-withicmp-host-prohibitedCOMMIT
Note:
1. If you do not configure or enable the firewall and connect to the server using VNC Viewer, the error "connect: Connection timed out (10060)" will be reported.
2. This document uses the root user as an example. If ot
restart command:# Service vncserver stop# Service vncserver startOr:# Service vncserver restart
*. Command for viewing the vncserver service status:# Service vncserver status
*. View the vncserver listening port command:# Netstat-tlnp | grep vncBy default, the VNC Server provides the following port numbers for access through a browser: 5800 + session numbers. The port numbers for access through the VNC
Environment: centos6.x desktop environment User Root Install VNC Server Software Yum install-y tigervnc-Server Configure VNC Vncserver: 1 The configuration file is automatically generated after the password is set. As follows: [Email protected] ~] # Vncserver: 1you will require a password to access your tops. password: Verify: Xauth: (stdin): 1: Bad display name "localhost: 1" in "add
Vncserver port#vim/etc/sysconfig/iptablesAdd a line under "-A input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT"-A input-m state--state new-m tcp-p TCP--dport 5901-j ACCEPTRestart Iptables Service#/etc/init.d/iptables restart7, open http://www.realvnc.com/under the Windows client, download the corresponding Platform Vnc-viewer client (the file is green software, no need to install),In the
To install real VNC in Ubuntu 15.04, first go to the site next to real vnc down, link as follows:http://www.realvnc.com/download/viewer/Ubuntu's words are installed using the. deb packet 64-bit, and red Hat is installing the package with RPM.Install complete Use the command to import the registered serial number:sudo vnclicense-add 84wfn-yrj4c-wa44v-9bw6x-pae2aTh
English interface is displayed. You can add "LANG =" zh_CN.GBK "export LANG" to xstartup ". An example of the configuration file: # cat $ HOME/. vnc/xstartup #! /Bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec/etc/X11/xinit/xinitrc LANG = "zh_CN.GBK" export LANG www.2cto.com [-x/etc/vnc/xstartup] exec/etc/vnc/xstart
// indicates that a remote user logs on to the Linux GNOME desktop or startkde // indicates that a remote user logs on to the Linux KDE Desktop, it is better to log out at www.2cto.com from the port: Shell code [root @ sfserver20 ~] # Exit [root @ SC-026 ~] # Vncviewer 192.168.15.182: 3 VNC Viewer Free Edition 4.1.2 for X-built Jul 27 2010 10:24:13 Copyright (C) 2002-2005 RealVNC Ltd. see http://www.real
install Vncserver, use yum install vnc-server not install, the correct way is to use#yum Install Tigervnc-server can only be installed properly. after the installation succeeds Vnc-server, the following configuration is required to access the Vnc-viewer normally:1, #vncserver for password configuration2. Modify the con
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.