Redhat Enterprise Linux 6.4 configure VNC remote login to access the Desktop
RedHat Enterprise Linux 6.4 64bit, RHEL 6.4 release Cd (ISO) comes with tigervnc-server:
[Root @ bkjia ~] # 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 @ bkjia ~] # Vncserver
Xauth: (stdin): 1: bad display name "bkjia: 1" in "add" command
New 'bkjia: 1 (root) 'desktop is bkjia: 1
Creating default startup script/root/. vnc/xstartup
Starting applications specified in/root/. vnc/xstartup
Log file is/root/. vnc/bkjia: 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 @ bkjia ~] # Vncserver-list
TigerVNC server sessions:
X display # PROCESS ID
: 1 3377
Close the service:
[Root @ bkjia ~] # 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
VNC installation Configuration
Install and configure VNC in CentOS 6.3
In Linux, the dependency installation VNC is not detected.
CentOS6 VNC service installation and configuration
Configure and install VNC in CentOS
VNC remote control installation and Setup
Windows accesses Ubuntu through VNC
Install VNC for accessing Ubuntu 12.04 through Windows Remote Desktop