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
1. First, check whether desktop access is installed.Yum groupinstall "X Window System"Yum groupinstall "GNOME Desktop Environment"VNC (Virtual Network Computing) Virtual Network Computing tool is essentially a remote display system. The administrator can not only view the desktop environment on the local machine where the program runs, in addition, you can view the running status of remote machines anywhere on the Internet, and it has cross-platform f
VNC (VirtualNetworkComputing) Virtual Network Computing tool is essentially a remote display system. The administrator can not only view the desktop environment on the local machine where the program runs, in addition, you can view the running status of remote machines anywhere on the Internet, and it has cross-platform features. In Linux, Virtual Network Computing (VNC) Virtual Network Computing tool is es
should we use it? Because sometimes we have to configure some software (such as Oracle, etc.) must use the graphical interface at the same time must be connected remotely when we have to use VNC ...Windows To Connect as a client to the Linux server configuration process:1 ). Configure our Linux system as a
VNC (Virtual Network Computing) Virtual Network Computing tool is essentially a remote display system. The administrator can not only view the desktop environment on the local machine where the program runs, in addition, you can view the running status of remote machines anywhere on the Internet, and it has cross-platform features.To use Remote Desktop in Linux, you need to install
1. Check whether your Linux system has VNC installed.
[Root @ serv1 ~] # Rpm-q vnc-Server
Vnc-server-4.1.2-14.el5_6.6
The above information indicates that the VNC service has been installed.
2. Start the VNC service
[Root @ serv1 ~] # Vncserver: 1You will require a password
file under the/etc/sysconfig/vncservers directory.
There are two definition variables in the file. In fact, you can understand it at a Glance. By default, you do not need to change it.
E. Set the VNC password.
When the VNC Viewer accesses the remote system, you need to enter the password and set it on the server side.
Vncpasswd
Enter the password twice as promp
:[OK]
Run vncserver
[[emailprotected]~]#vncserverYouwillrequireapasswordtoaccessyourdesktops.Password:Verify:xauth:creatingnewauthorityfile/root/.Xauthorityxauth:(stdin):1:baddisplayname"host17:1"in"add"commandNew‘host17:1(root)‘desktopishost17:1Creatingdefaultstartupscript/root/.vnc/xstartupStartingapplicationsspecifiedin/root/.vnc/xstartupLogfileis/root/.vnc/ho
UNIX 3 [] STREAM CONNECTED 140210 4700/xvnc @/tmp/. X11-unix/x1
3, if the use of vnc-viewer expected to appear graphical interface (6.x is the default graphical interface, do not adjust), you need to make the following adjustments (add two lines).
# vi/etc/sysconfig/vncservers
# vncservers= "2:myusername"
# vncserverargs[2]= "-geometry 800x600-nolisten tcp-
Use VNC for graphical Remote Call
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
Virtual Machine Softwar
the Vncserver configuration document:[email protected] ~]# vim/etc/sysconfig/vncservers #在最后面添加以下几行设置vncservers= "1:root 2:ceboy" #此处添加用户, generally only add a 1:root also on the line. vncserverargs[1]= "-geometry 800x600-nolisten tcp-nohttpd-localhost"vncserverargs[2]= "-geometry 1024x768-nolisten tcp-nohttpd-localhost"#注意: Above is the resolution of the root and Ceboy two users respectively, note that the port number is distinguished.It is also possible to temporarily modify the resolution an
** Preface **Two common remote management tools in Linux: CLI-based SSH and GUI-based VNC** Basic concepts of remote management **For the computers we use, if it is a personal computer, there is no remote management concept. We can use it when we want to use it, but for our servers, the difference is that the servers a
Use the VNC service in Linux
Connect to Linux Through VNC in Window
Enable the VNC service in Linux: service vncserver start
Run the "vncserver" command. Note the identity of the command. If it is ROOT, the. vnc/directory is generated under root to generate the log pid an
Environment: RedHat Linux 6 Enterprise Edition.Xwindows:gnome (Red Hat Default-installed graphical interface)
Although we can use the SSH connection remotely through the character interface to operate Linux, but for more familiar with the graphics people is very inconvenient,
So it is necessary to open a remote Desktop for Linux. There are two popular ways: the XDM (X display manager) scenario
and VNC solut
Virt-viewer
Introduction: Virt-viewer is the smallest tool used to display the graphics console for a virtual machine. The console uses VNC or spice access protocols. You can reference the guest virtual machine based on its name, ID, or UUID. If the client is not already running, you can tell the viewer to wait until i
for a password. This password is the password you specified before you configured the VNC service on the Raspberry Pi. Once you've entered your password correctly, you'll see the Raspberry Pi's desktop.If you want to exit on the Raspberry Pi desktop, do not use the logout (logout) menu. You just close the Remote Desktop Viewer window and then turn the
VNC service:
Net stop winvnc4SC start winvnc4-localhost: 1Pause
The main purpose is to pass the localhost: 1 parameter so that the VNC can wait for the connection on the local port of the SSH tunnel.
Then, add the batch processing to the start or other auto-starting positions.
Set the current Administrator Account of the server to log on directly after entering the system, so that the
"
gnome-session #set starting gnome Desktop
#startkde #kde Desktop
#twm #Tex T interface
#/usr/bin/startxfce4
#exec/usr/bin/fluxbox
To create a new service, multiple services are built several times, followed by: 1:2: 3, which prompts you to set a password every time you start
Vncserver
Close the specific vncserver command
Vncserver-kill:1
Vncserver-kill:2
power-on Boot
Chkconfig Vncserver on
Firewall settings
When you start the
startVi/etc/rc.localAdd the following to the file/etc/init.d/vncserverstart7, change VNC connection passwordvncpasswd8. Connect Remote DesktopUse SECURECRT to connect to the target machine.Execute the iptables–f command,You can then connect using the VNC viewer
After the remote Desktop is accepted, the reboot firewall will allow the remote
How do I use the SPICE client (virt-viewer) to connect to the remote virtual machine desktop?What is Spice?SPICE (Simple Protocol for independent Computing environments) is a communication protocol used in virtualized environments. This protocol connects to the virtual desktop on the virtualization platform via the Internet. Simply put, in a master-slave architecture (Client-server model), a virtual machine
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.