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
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
to my blog about the virtual machine.Third, RDPThere are currently two types of RDP on Windows, Remote,remotefxApplicable systems: Windows, LinuxNetwork traffic: Small, normal use 100-200k aroundScenario: Ideal for virtual desktops due to better color, audio, USB and local disk mappingWindows uses: It can be used after the system is installed.# install Rdesktop on Linux for Linux access WINDWS Remote
One, install the Linux desktop:
Yum-y Groupinstall Desktop
Yum-y groupinstall "X window System"
Yum-y Groupinstall Chinese-support
vi/etc/sysconfig/i18nChange en_US to ZH_CN
Two. To install the Vncserver Service pack:1. Install the Vncserver service-side package.#yum-y Install VNC *vnc-server*
Windows 7 uses remote desktop (xrdp + vnc) to connect to Ubuntu with a remote desktop, which uses the vpn mode. This mode is slow and often unable to connect, Which is depressing. The following uses another xrdp mode, using the system tool
5901,2:user2 corresponding 5902 (VNC's default listener port is 5900, and the listening port rule is 590+usernumber), as follows
Vncservers= "Usernumber:myusername"
#下面这项配置为登录桌面配置, where "1" is the user serial number, 800x600 is the resolution,-nolisten TCP is the blocking TCP packet, and the-localhost representative listens only locally,
vncserverargs[1]= "-geometry 800x600-nolisten tcp-localhost"
If you want to block HTTP packets, you can use the following configuration
vncserverargs[1]=
network
First, VNC
Applicable systems: Windows, Linux
Network traffic: Small, commonly used around 100k
Application scenario: mainly for Linux server management, due to no sound and USB transmission, not satisfied with the use of virtual desktop
# install
yum install tigervnc-server
#vnc服务器启动
vncserver
#查看连接
vncserver -list
#修改访问密码
vncpassw
Specific methods
1. Check whether the Linux system installs VNC command Rpm-q vnc-serverUse yum install VNC vnc-server if it is not installed2. Start VNC Service
The code is as follows
Copy Code
VncserverYou'll require a password to access your
/.
Solution:
Mkdir/usr/x11r6/lib (may need to be created separately)
CD/usr/x11r6/lib
Ln-S/usr/share/X11 X11
Vncserver (Note that a number can also be added at this time. This number first appears at: log file is/root/. VNC/localhost. localdomain: 1.log1 is the number.)
3. Start the VNS client on windows after installation.
Connection format: Server IP: Number (for example, 10.10.19.169: 1)
After the connection, the
Mac Remote Desktop vnc viewer cannot log on to solution prerequisites: 1.mac enables remote desktop sharing and has logged on to Remote Desktop 2. ssh can be connected to mac, and root
We can connect to a remote computer via VNC (Virtual Network Computing) and Remote Desktop, but there are some differences between the two.VncVNC uses the RFB protocol to do screen sharing and remote operation software, developed by the prestigious at-T European Research Lab
Ubuntu has a remote desktop with a VPN mode, which is a very depressing way for remote Desktop to be slow and often unable to connect. The following is a different xrdp mode, using Win7 's own system Tools Remote Desktop, even the
-depth16-geometry800x600:1 ' echo "startingtightvncserverfor $USER " ;; stop) # terminate command line. Here the console number is consistent with the start. su $USER -c '/usr/bin/tightvncserver-kill:1 ' echo "tightvncserverstopped" ;; *) echo "Usage:/etc/init.d/tightvncserver{start|stop}" exit1;; Esacexit0Note: For a few players the default user is not pi, please change the user variable yourself.Press Ctrl+x to answer Y (save) to exit the Nano editor.Then give the Tightvncserver file plus ex
Ubuntu comes with a remote desktop, which uses the VPN mode. This mode is slow and often unable to connect, making people very depressed. The following uses another xrdp mode, using the system tool Remote Desktop that comes with win7, saving VNC Viewer. High Speed and normal
1. Install and start the VNC Server:
# Apt-Get install vnc4server
# Vnc4server
After vnc4server is started, A. VNC directory will be generated in the main directory.
2. Stop a VNC session:
Vnc4server-kill: 1
3. Edit. VNC/xstartup and change it to the following content:
#! /Bin/sh
# Uncomment the following two lines for
Today, I will explain how to use the VNC method to remotely access Ubuntu12.04: Ubuntu12.04 on the GNOME interface that supports Windows Remote Access. However, since the default installed interface becomes unity, it is highly controversial, the most important thing is that the previous CRT \ PUTTY command line connections using the SSH method cannot meet your future needs (you cannot see the interface), so
Enter http: // ip: 5801 in the browser for remote control. Install jre and check whether the environment is installed.Java code rpm-q vnc-server www.2cto.com start the service Java code vncserver: 1. Change the service password Java code vncpasswd open the corresponding firewall Java code iptables-I INPUT-p tcp -- dport 5801-j ACCEPT configure graphical desktop J
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.