VNC-SERVER installation and configuration in Linux (RHEL6 \ CENTOS6 \ OLE6)

Source: Internet
Author: User
Tags server installation and configuration remote desktop access windows remote desktop
VNC-SERVER installation and configuration under Linux (RHEL6 \ CentOS6 \ OLE6) 1. Install and start tigervnc-server # rpm-ivhtigervnc-1.1.0-16.el6.x86_64.rpmwarning: tigervnc-1.1.0-16.el6.x86_64.rpm: HeaderV3RSA/SHA256Signature, key

VNC-SERVER installation and configuration in Linux (RHEL6 \ CentOS6 \ OLE6)

1. Install and start tigervnc-server
# Rpm-ivh tigervnc-1.1.0-16.el6.x86_64.rpm
Warning: tigervnc-1.1.0-16.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ######################################## ### [100%]
1: tigervnc ####################################### #### [100%]

# Rpm-ivh tigervnc-server-1.1.0-5.el6.x86_64.rpm
Warning: tigervnc-server-1.1.0-5.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Error: Failed dependencies:
Xorg-x11-fonts-misc is needed by tigervnc-server-1.1.0-5.el6.x86_64

# Rpm-ivh tigervnc-server-1.1.0-5.el6.x86_64.rpm
Warning: tigervnc-server-1.1.0-5.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ######################################## ### [100%]
1: tigervnc-server ##################################### ###### [100%]

# Vncserver

You will require a password to access your tops.

Password:
Verify:

New 'node1: 1 (root) 'desktop is node1: 1

Creating default startup script/root/. vnc/xstartup
Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/node1: 1.log

2. modify the configuration file
# Vim/root/. vnc/xstartup

#! /Bin/sh

[-R/etc/sysconfig/i18n] &./etc/sysconfig/i18n
Export LANG
Export SYSFONT
Vncconfig-iconic &
Unset SESSION_MANAGER
Unset DBUS_SESSION_BUS_ADDRESS
OS = 'uname-S'
If [$ OS = 'linux ']; then
Case "$ WINDOWMANAGER" in
* Gnome *)
If [-e/etc/SUSE-release]; then
PATH = $ PATH:/opt/gnome/bin
Export PATH
Fi
;;
Esac
Fi
If [-x/etc/X11/xinit/xinitrc]; then
Exec/etc/X11/xinit/xinitrc
Fi
If [-f/etc/X11/xinit/xinitrc]; then
Exec sh/etc/X11/xinit/xinitrc
Fi
[-R $ HOME/. Xresources] & xrdb $ HOME/. Xresources
Xsetroot-solid gray
Xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&
# Twm &
Gnome-session &

# Vim/etc/sysconfig/vncservers

# The VNCSERVERS variable is a list of display: user pairs.
#
# Uncomment the lines below to start a VNC server on display: 2
# As my 'myusername' (adjust this to your own). You will also
# Need to set a VNC password; run 'man vncpasswd' to see how
# To do that.
#
# Do not run this service if your local area network is
# Untrusted! For a secure way of using VNC, see this URL:
# Http://kbase.RedHat.com/faq/docs/DOC-7028
 

# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
 

# Use "-localhost" to prevent remote VNC clients connecting tables t when
# Doing so through a secure tunnel. See the "-via" option in
# 'Man vncviewer 'manual page.
 

VNCSERVERS = "1: root"
# VNCSERVERARGS [2] = "-geometry 800x600-nolisten tcp-localhost"

Restart the vncserver service
# Service vncserver restart

Installation configuration http://www.linuxidc.com/Linux/2013-05/84941.htm for VNC

CentOS 6.3 install and configure the VNC http://www.linuxidc.com/Linux/2013-05/84668.htm

Install the VNC http://www.linuxidc.com/Linux/2013-05/84075.htm without detecting dependencies in Linux

CentOS6 VNC service installation configuration http://www.linuxidc.com/Linux/2013-04/82510.htm

Configure and install http://www.linuxidc.com/Linux/2013-05/83975.htm for VNC under CentOS

VNC remote control installation and setup http://www.linuxidc.com/Linux/2013-01/77769.htm

Windows Access Ubuntu http://www.linuxidc.com/Linux/2012-10/73043.htm through VNC

Install VNC http://www.linuxidc.com/Linux/2012-07/64801.htm for Windows Remote Desktop Access Ubuntu 12.04

For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-12/125862.htm

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.