RHEL5 Remote Desktop VNC

Source: Internet
Author: User
RHEL5 uses remote desktop VNC-Linux Enterprise Application-Linux server application information. The following is a detailed description. VNC (Virtual Network Computing) Virtual Network Computing tool is essentially a remote display system. The administrator can not only view the desktop environment on the local machine where the program runs, in addition, you can view the running status of remote machines anywhere on the Internet, and it has cross-platform features.

To use Remote Desktop in Linux, you need to install VNC. Fortunately, Red Hat Enterprise Linux AS 5.0 already comes with VNC, which is also installed by default. You just need to configure it. However, the Windows client must be installed.

VNCServer Configuration:
1. Start VNC Server:
Open the terminal and run: vncserver

2. By default, the VNC Viewer can only view the command line of the VNC Server.

To see the Linux desktop on the VNC Viewer, you need to make the following settings:

On the machine where the VNC Viewer is located, cancel the following two lines of comments in the/root/. vnc/xstartup file:

Unset SESSION_MANAGER
Exec/etc/X11/xinit/xinitrc

3. VNCServer is automatically run after Linux is started.
1) Check the vncserver in system Settings> Server Settings> service.

2) Open the configuration file/etc/sysconfig/vncservers and remove the comments in the following line,

VNCSERVERS = "1: root"
VNCSERVERARGS [1] = "-geometry 800x600"

(Note: What are the default system configurations? Nolisten tcp and? Nohttpd, which prevents Xwindows login and http vnc login. Delete this part if you need a graphical interface .)

1 indicates that VNC runs on desktop 1, so that the root desktop can be started.

4. VNC Port
If you want to control a Linux instance on the Intranet from the Internet, you need to open the corresponding port of the firewall and perform port ing on the vro.

The port number that VNC gives to the browser is 5800 + N, the port number for vncviewer is 5900 + N, and N is the set display number.

Configuration of Windows client VNC Viewer:
1. Download VNC Free Edition for Windows Version 4.1.2 from the http://www.realvnc.com/download.html

2. Open VNCViewer:
Enter the IP address of the VNCServer: Number (1 or 2 or ...)

3. VNCViewer switch to full screen mode: F8
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.