How to configure multi-user access in VNC in RedHat Enterprise Linux

Source: Internet
Author: User

How to configure multi-user access in VNC in RedHat Enterprise Linux

How to configure multi-user access in VNC in RedHat Enterprise Linux

1. First install the VNC service in the system and confirm the VNC version. Run the command: rpm-qa | grep vnc or rpm-q vnc-server. If not, go to the server folder on the operating system installation disc to find software packages such as vncserver, and then run the command rpm-ivh ...... Install it.

2. Start the VNC service. Run the command vncserver: 1 to start the desktop numbered 1. Then, the system prompts you to set the Password (this Password is required when you connect to the vnc view ).

3. Modify the vnc global configuration file/etc/sysconfig/vncservers

VNCSERVERS = "1: root 2: wangbo" #1: root indicates assigning desktop 1 to the root user
VNCSERVERARGS [1] = "-geometry 1024x768" # connection resolution
VNCSERVERARGS [2] = "-geometry 1024x768"

4. Modify the VNC user configuration file. There is. in the hidden VNC folder, there is an xstartup file (this file is automatically formed when configuring the user vnc connection password). Edit this file:

#! /Bin/sh
# Uncomment the following two lines for normal desktop:

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.