Rhel6 vncserver settings

Source: Internet
Author: User

Rhel6 vncserver settings 1. installation Package: tigervnc-server2. to configure/etc/sysconfig/vncserverVNCSERVERS, you can use vnc to link to vncserver. To connect multiple users to vncserver, you must configure multiple users in the following format: VNCSERVERS = "1: user1 2: user2... n: usern "1 indicates using port 5901 2 using port 5902 VNCSERVERARGS [n] to determine the vnc connection. The numbers in some option square brackets represent the user-geometry's usage rate in the previous configuration-nolisten tcp blocks tcp connection-localhost only listens to 127.0.0.1. Therefore, the configuration here is VNCSERVERARGS [1] = "-geometry 800x600" VNCSERVERARGS [2] = "-geometry 800x600" 3. set the vnc password to set the vnc password su-user1vncpasswd su-user2vncpasswd for each user. start vncserver/etc/init. d/vncserver startchkconfig -- level 345 vncserver on 5. open firewall iptable-I INPUT-p tcp-m multiport -- dport 5901: 5903-m state -- state new -- syn-j ACCEPT 6. other vncserver-list can be used to view the vnc activity of the current user. vncserver-kill can end the activity link. To add a link to other users, run the following command: vncserver: 3-name user3-geometry 800x600 note that you need to switch to user3 to run this command. If it is executed under root or another user, it will connect to this user, instead of user3,-name indicates the name of The vnc link rather than the user name.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.