VNCServer configuration in Linux

Source: Internet
Author: User
The default logon user of VNC is root, but must log on as an oracle User when installing oracle. the following uses oracle as an example to describe how to configure VNC, different users can log on to the host. Step 1: modify/etc/sysconfig/vncservers, add... the default logon user of VNC is root, but must log on as an oracle User when installing oracle. the following uses oracle as an example to describe how to configure VNC, different users can log on to the host. Step 1: modify/etc/sysconfig/vncservers and add oracle users. the modified content is as follows: VNCSERVERS = "1: root 2: root 3: oracle "VNCSERVERARGS [1] ="-geometry 1024x768 "VNCSERVERARGS [2] ="-geometry 1024x768 "VNCSERVERARGS [3] ="-geometry 1024x768 "Step 2: create an oracle User useradd oracle passwd oracle in the system Step 3: Copy the path under the root user to the oracle user's home path, and modify the user and group of the path: cp-r/root /. vnc ~ Oracle/. vnc chown oracle ~ Oracle/. vnc/chown oracle. oinstall-R ~ Oracle/. vnc/chown oracle ~ Oracle/. vnc/* chown oracle. oinstall-R ~ Oracle /. vnc/* Step 4: restart VNC and check whether the port with id 3 starts the service vncserver restart netstat-anlpt | grep 5903 vnc port starts from 5901, add 1 to Port 5901. To disable the port with the specified id separately, run the command: vncserver-kill: id for example: vncserver-kill: 1 vncserver-kill: 2. the VNC ports 5901 and 5902 will be disabled by Intrepid2012.
Related Article

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.