Modify the password for VNC access

Source: Internet
Author: User

1: Vncserver2: Iptables-i input-p TCP--dport5901-J ACCEPT Client Mode3: Iptables-i input-p TCP--dport5801-J ACCEPT Browser Mode4: Vi/root/.vnc/xstartup comment out last line #twm & end add: Gnome-session &5: Vncserver:1Configuring multiple desktops and changing passwords under VNC configuration on more than one desktop Linux you can use the following method to start VNC vncserver for multiple desktops:1Vncserver:2Vncserver:3... However, this method of manual startup will expire after the server restarts, so here's how to get the system to automatically manage VNC for multiple desktops by adding information that needs to be managed automatically to/etc/sysconfig/vncservers configuration file, first Use desktop 1 as the root User Desktop 2 for the Oracle user as an example to configure the following: format: Vncservers="Desktop Number: User name to use Desktop number: User name used"[[Email protected]~]# vi/etc/sysconfig/vncservers vncservers="1:ro Configuring multiple DesktopsYou can use the following methods to start VNC Vncserver for multiple desktops:1Vncserver:2Vncserver:3... However, this method of manual startup will expire after the server restarts, so here's how to get the system to automatically manage VNC for multiple desktops by adding information that needs to be managed automatically to/etc/sysconfig/vncservers configuration file, first Use desktop 1 as the root User Desktop 2 for the Oracle user as an example to configure the following: format: Vncservers="Desktop Number: User name to use Desktop number: User name used"[[Email protected]~]# vi/etc/sysconfig/vncservers vncservers="1:root 2:oracle"vncserverargs[1]="-geometry 1024x768"vncserverargs[2]="-geometry 1024x768"To modify the password of a VNC access use the command vncpasswd to modify the VNC password for different users, it is important to note that if VNC is configured with a different user, it needs to be modified separately to the respective user, for example, in my experiment, the root user and Oracle user need to individually modify , the modification process is as follows: [[email protected]~]# vncpasswd password:verify:

Modify the password for VNC access

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.