RedhatEnterpriseLinux6.4 configure VNC remote login to access the Desktop

Source: Internet
Author: User
Tags remote desktop access windows remote desktop download vnc viewer
RedHatEnterpriseLinux6.464bit, RHEL6.4 release Cd (ISO) comes with tigervnc-server: [root @ linuxidc ~] # Yuminstalltigervnc-server Download vncviewer: http://www.realvnc.com/download/get/1382/#vi/etc/sysconfig/

RedHat Enterprise Linux 6.4 64bit, RHEL 6.4 release Cd (ISO) comes with tigervnc-server:

[Root @ linuxidc ~] # Yum install tigervnc-server

Download vnc viewer:
Http://www.realvnc.com/download/get/1382/

# Vi/etc/sysconfig/vncservers
VNCSERVERS = "1: root 2: bmc"
VNCSERVERARGS [2] = "-geometry 1024x768-depth 16"
# The color depth is 16 bits. The default value is 8, which is ugly.


To achieve a good color effect, you also need to remove adapt to network speed and Improve the quality (higher network speed is required. If the network speed is too low and the response is too slow, please do not do this)

There are two users: root and bmc. Note that if bmc is a real linux user
Log on as the root user and run vncpasswd to create a password for it.
Su-bmc, run vncpasswd to create a password for bmc

Run vncserver as the root user:
[Root @ linuxidc ~] # Vncserver
Xauth: (stdin): 1: bad display name "linuxidc: 1" in "add" command

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

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

The default port is 5901 because the root user is the first user in/etc/sysconfig/vncservers. Similarly, the port number of the 2nd bmc users is 5902.

In the following dialog box, enter the root user's vnc password.

View existing services:
[Root @ linuxidc ~] # Vncserver-list
TigerVNC server sessions:
X display # PROCESS ID
: 1 3377
 
Close the service:
[Root @ linuxidc ~] # Vncserver-kill: 1
Killing Xvnc process ID 3377.


If you have any questions, try clearing the vnc configuration directory.
Rm ~ /. Vnc/-rf
 
View Running Processes
# Ps-ef | grep Xvnc

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-07/120461.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.