linux6.5+5.4 vncserver Configuration

Source: Internet
Author: User
Tags yum repolist

linux6.5+5.4 vncserver Configuration

  1. Hang the disc.

    Command: MOUNT/DEV/CDROM/MNT

  2. Configure Yum

    Command: cd/etc/yum.repos.d/

    MV Rhel-source.repo Rhel-source.repo.bak

    Yum-config-manager--add file:///mnt

    Vim/etc/yum.conf

    Gpgcheck=0

    Yum Clean All

    Yum Repolist

  3. Install packages

    Rpm-qa | grep VNC

    Yum-y Install tigervnc*

    [Email protected]/]# Rpm-qa | grep VNC

    Tigervnc-server-1.1.0-5.el6_4.1.x86_64

    Libvncserver-0.9.7-4.el6.x86_64

    Tigervnc-1.1.0-5.el6_4.1.x86_64

  4. Configuring the master configuration file

    [Email protected]/]# vim/etc/sysconfig/vncservers

    vncservers= "1:root"/User and Access window

    serverargs[1]= "-geometry 800x600"

    Vncservers= "10:vnc"

    serverargs[10]= "-geometry 800x600"

    [Email protected]/]# VNCPASSWD

    Password:

    Verify:

    [Email protected]/]# Su-vnc

    [Email protected] ~]$ VNCPASSWD

    Password:

    Verify:

  5. Start the service

    [Email protected] ~]# service Vncserver restart

    [[Email protected] ~]# service Vncserver status

    XVNC (PID 9843 6858) is running ...

  6. View ports

    [Email protected] ~]# Netstat-anput | grep VNC

    TCP 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 6858/xvnc

    TCP 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 6858/xvnc

    TCP 0 0 0.0.0.0:5910 0.0.0.0:* LISTEN 9843/xvnc

    TCP 0 0 0.0.0.0:6010 0.0.0.0:* LISTEN 9843/xvnc

    TCP 0 0::: 6001:::* LISTEN 6858/xvnc

    TCP 0 0::: 6010:::* LISTEN 9843/xvnc

  7. Test Login

    [Email protected] yum.repos.d]# Vncviewer 192.168.1.3:1

    [Email protected] yum.repos.d]# Vncviewer 192.168.1.3:10

This article is from the "9081423" blog, please be sure to keep this source http://9091423.blog.51cto.com/9081423/1882248

linux6.5+5.4 vncserver Configuration

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.