VNC Remote Desktop Connection configuration based on RHEL6.0

Source: Internet
Author: User
Configuration of VNC Remote Desktop Connection Based on RHEL6.0 VNC: VirtualNetworkcomputing Virtual Network Computer 1. Check whether the vnc software is installed and set a password for vnc: 123456 [root @ localhost ~] # Rpm-qvnc-servervnc-server-4.1.2-14.el5_3.1 [RHEL6.0-based VNC Remote Desktop Connection Configuration

VNC: Virtual Network computing Virtual Network Computer

1. Check whether vnc software is installed and set the password for vnc: 123456

 
 
  1. [root@localhost ~]# rpm -q vnc-server 
  2. vnc-server-4.1.2-14.el5_3.1 
  3. [root@localhost ~]# vncpasswd 
  4. Password: 
  5. Verify: 
  6. [root@localhost ~]# vncserver & 
  7. [1] 6024 
  8. [root@localhost ~]#  
  9. New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1 
  10.  
  11. Creating default startup script /root/.vnc/xstartup 
  12. Starting applications specified in /root/.vnc/xstartup 
  13. Log file is /root/.vnc/localhost.localdomain:1.log 

2. Open the vnc software, enter 172.16.22.1: 1 (1 is to open the desktop), and enter the password: 123456

650) this. width = 650; "border = 0>

650) this. width = 650; "border = 0>

650) this. width = 650; "border = 0>

Note: The gnome graphic interface is not enabled, so the above figure is displayed on login!

3. Change the configuration file to support graphical interfaces

# Cd. vnc

# Vim xstartup

Change the last line to gnome-session &

Enable the last two lines of the comment line,

650) this. width = 650; "border = 0>

Modify the content in the box as required.

 
 
  1. # vncserver -kill :2 
  2. # vncserver -kill :1 
  3. # vncserver & 
  4. # chkconfig vncserver on 

Then log on to vnc to test:

650) this. width = 650; "border = 0>

Haha, it's successful! Even if your linux host is in the command line mode, I can connect it with VNC and use the graphic interface. However, it should be noted that, due to the plaintext nature of password transmission, it is not recommended to use it over the Internet. It is best to use it locally.

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.