VNC introduction:Although VNC still lacks the ability to call Chinese Input by Hot Key in Linux, it still cannot block its position in Linux. Let's take a look at its charm. First of all, it's very casual to copy and paste it. Copy the local machine and paste it directly in the remote machine. Very convenient.Network remote control technology refers to a computer (master) to control another computer (contro
Observer Mode Observer
Achieving the goal: transform the Select box to change the content area and ad areaGeneral Ideas1: Judging the selected value2: Order down, modify the content area according to the value3: Edit the ad area again.
if'男'{ 内容区背景变灰 广告区内容变成男人话题}elseif'女'){ 内容区背景变粉 广告区内容变成女人话题}
So what are the questions:1: Let you choose to cause 3 changes in the area, whether to modify the If/elseif section2: If you choose female style, but do not change the powder, now popular purple
to share the screen of the machine it is running on, and the server passively allows the client to control it. The VNC client (or Viewer) observes the control server and interacts with the server. The VNC protocol Protocol (RFB) is a simple protocol that transmits the original image of the server to the client (a square lattice of data on an X, y location) and t
INPUT -m state --state NEW -m tcp -p tcp --dport 6001 -j ACCEPT
Note that you must
-A INPUT -j REJECT --reject-with icmp-host-prohibited
Otherwise, it will not take effect.
Restart iptables.
[root@localhost sysconfig]# /etc/rc.d/init.d/iptables restartFlushing firewall rules: [ OK ]Setting chains to policy ACCEPT: filter [ OK ]Unloading iptables modules: [ OK ]Applying iptables firewall rules: [ OK ]Loading additional iptables modules: ip_conntrack_netbios_ns ip_conntrack_ftp [ OK ]
VNC introduction and how to remotely connect to a remote Linux interface?
Today, we suddenly need to use VNC, but we never used this! Later, I searched for information about this. The following is my rough understanding and use of VNC.
Next we will not introduce the basic components of VNC sources one by one. I belie
numbers. For example, the port number 5900 (1024x768 16-bit RMB) is only "0 ".
NOTE: If SELinux is enabledOr iptables, You need to pay attention to possible interaction problems. If you do not have a running display Management Program (for example, at runlevel 3), you must start one. Otherwise, you will have only one black area when connecting.
6. Provide VNC servers for the login image working phase-two options
VeryFor a long time, you need to remo
) ' Desktop is localhost.localdomain:1creating default startup script /root/.vnc/xstartupstarting applications specified In/root/.vnc/xstartuplog file Is/root/.vnc/localhost.localdomain : 1.logOnce configured, connect to me via the VNC viewer of the client. Here are some pro
parameters here. su$USER-C'/usr/bin/tightvncserver-depth 16-geometry 800x600:1' Echo "starting TightVNC server for $USER" ;; Stop) # terminates the command line. Here the console number is consistent with the start. su$USER-C'/usr/bin/tightvncserver-kill:1' Echo "Tightvncserver stopped" ;; *) Echo "Usage:/etc/init.d/tightvncserver {start|stop}"Exit1 ;;EsacExit0(Note: The default user of a few players is not pi, please change the name of the export user= ' pi ' in quotation
Use VNC to complete Remote Call graphical, vnc call graphical
Original Works are from the blog of "Deep Blue blog". You are welcome to reprint them. Please note the following source when reprinting them. Otherwise, you will be held legally liable for copyright.
Deep Blue blog: http://blog.csdn.net/huangyanlong/article/details/40979895
Lab Environment
Lab Platform
WIN7 flagship edition 64bit
content, otherwise you will only get a gray screen with nothing.#! /Bin/sh# Uncomment the following two lines for normal desktop:Unset SESSION_MANAGERExec/etc/X11/xinit/xinitrc[-X/etc/VNC/xstartup] exec/etc/VNC/xstartup[-R $ HOME/. Xresources] xrdb $ HOME/. XresourcesXsetroot-solid grayVNCconfig-iconic Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "Twm
Because we have modified the startu
" -- port number is 5903......The TCP port of the Java-based VNC client Web service starts from 5800 and is also related to the desktop number. The corresponding relationship is as follows:Desktop number is "1" -- port number is 5801Desktop number "2" -- port number is 5802Desktop 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
desktop number is "3"----port number is 5903......Based onJavaThe VNC client program Web service TCP port starts with 5800 and is also related to the desktop number, corresponding to the followingThe desktop number is "1"----port number is 5801The desktop number is "2"----port number is 5802The desktop number is "3"----port number is 5803......Based on the above introduction, if Linux turned on the firewall function, you need to manually open the app
software for free. The VNC software consists of VNC server and VNC viewer. You must first install the VNC server on the controlled computer before you can control the controlled terminal on the control terminal.
(In windows, is a well-known network remote control software ?
corresponding port with the desktop number "1", the command is as follows:
[Root @ testdb ~] # Iptables-I INPUT-p tcp -- dport 5901-j ACCEPT
[Root @ testdb ~] # Iptables-I INPUT-p tcp -- dport 5801-j ACCEPT
4. Test the VNC service
The first method is to log on to the test using the VNC Viewer software. The procedure is as follows:
Start the
Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is on the control end, just as users sit in front of the controlled terminal, they can execute the controlled application and use the system resources of the controlled terminal.
"VNC Introduction 』
Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is
software for free. The VNC software consists of VNC server and VNC viewer. You must first install the VNC server on the controlled computer before you can control the controlled terminal on the control terminal.
(In windows, a set of well-known remote control software calle
"----port number is 5903......The Java-based VNC client Web Services TCP port starts at 5800 and is also related to the desktop number, which corresponds to the followingDesktop number is "1"----port number is 5801Desktop number is "2"----port number is 5802Desktop number is "3"----port number is 5803......Based on the above introduction, if the Linux firewall features, you need to manually open the appropriate port, to open the desktop number of "1"
Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is on the control end, just as users sit in front of the controlled terminal, they can execute the controlled application and use the system resources of the controlled terminal.
"VNC Introduction 』Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is o
University]"VNC Introduction 』Network remote control technology refers to a computer (master) to control another computer (controlled), and when the master is on the control end, just as if the user is sitting in front of the controlled terminal and operating 1
You can execute the controlled application and use the controlled system resources.VNC (Virtual Network Computing) is a set of software developed by att lab that can control remote computers.
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.