Linuxvnc service operation 1. rpm-qvnc-server verify that vnc is installed. if not, run the rpm-ivhvnc-server-XXX.rpm2.vncserver: 1 to start vnc service 3. iptables-IINPUT-ptcp -- dport5901-jACCEPT... linux vnc service operation 1.rpm-q vnc-server verify that vnc has been installed if not, execute rpm-ivh vnc-server-XXX.rpm 2. vncserver: 1 start vnc service 3. iptables-I INPUT-p tcp -- dport 5901-j ACCEPT the port used to open the firewall Port VNC service is related to the desktop number, VNC uses the TCP port from 5900, the corresponding relationship is as follows: desktop number is "1" ---- port number is 5901 desktop number is "2" ---- port number is 5902 desktop number is "3" ---- port number is 5903 Java-based VNC client Web service TCP port from 5800, it is also related to the desktop number. the corresponding relationship is as follows: desktop number is "1" ---- port number is 5801 4.vi/root /. vnc/xstartup unset SESSION_MANAGER exec/etc/X11/xinit/xinitrc remove the comments of the above two rows. vncserver-kill: 1 vncserver: 1 restart the vnc service or: service vncserver start/stop/restart 6. vncpasswd set password
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service