Remote Desktop (VNC) configuration on RHEL5 Server

Source: Internet
Author: User
Article Title: Configure Remote Desktop (VNC) on RHEL5 server. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

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/root /. note the following two lines in the 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 following line of comments, VNCSERVERS = "1: root "VNCSERVERARGS [1] ="-geometry 800x600 "(note that the default system configuration includes? 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. If the VNC port needs to control a Linux instance in the Intranet from the Internet, you need to open the corresponding port of the firewall and perform port ing on the router. 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.

Windows client VNC Viewer configuration: 1. Download VNC Free Edition for Windows Version 4.1.2 from http://www.realvnc.com/download.html 2. Open VNCViewer: Enter the IP address of VNCServer: Number (1 or 2 or ......) 3. VNCViewer switch to full screen mode: F8

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.