Use Remote Desktop Environment in RedHatLinux5 System

Source: Internet
Author: User
Tags tightvnc
Article Title: Use the Remote Desktop Environment in the RedHatLinux5 system. Linux is a technology channel of the IT lab in China. Some basic classification remote desktop environments, such as desktop applications, Linux system management, kernel research, embedded systems, and open source, can bring benefits in many cases. For general companies, developers usually have an office machine and a development machine at the same time. Sometimes, the development machine and office machine are not in the same place. If you need to operate both machines at the same time, moving back and forth between different locations will inevitably cause a lot of inconvenience. You can use characters such as telnet or ssh to log on to the interface. This is a convenient method for developers familiar with shell commands. The best way is to use the remote desktop environment.
 
The following process starts the vncserver service on the VNC Server:
 
1. Use the vncpasswd command to set a vnc server password. If no password is set, vncserver cannot be started.
 
2. Edit the/etc/sysconfig/vncservers configuration file. The following file is an instance:
 
  
     
      # The VNCSERVERS variable is a list of display:user pairs.## Uncomment the line below to start a VNC server on display :1# as my 'myusername' (adjust this to your own). You will also# need to set a VNC password; run 'man vncpasswd' to see how# to do that.## DO NOT RUN THIS SERVICE if your local area network is# untrusted! For a secure way of using VNC, see# 
      
       .VNCSERVERS="1:fred 2:joe"# fred's VNC optionsVNCSERVERARGS[1]="-geometry 1024x768"# joe's VNC optionsVNCSERVERARGS[2]="-geometry 1280x1024"
      
     


The VNCSERVERS variable indicates the number of desktops and the user names for each desktop. VNCSERVERARGS is a parameter used to start vncserver. Generally, you only need to set the resolution.
 
3. Run the chkconfig vncserver on command to enable vncserver during system startup.
 
4. Use the service vncserver start command to start vncserver immediately.
 
5. The default desktop of VNC is a very simple environment, namely, the twm window manager. To make VNC look similar to the local login interface, edit ~ /. Vnc/xstartup file, and
 
Uncomment the following two lines for normal desktop
 
The next two lines cancel the annotation.
 
You need to use vncview to connect to vncserver on the client. You can download tightvnc's Windows client software at http://www.tightvnc.com/download.html#stable. After vncviewer is started, enter
 
10.239.56.94: 1
 
The former is the IP address of the vncserver, and the latter is the VNC desktop to be logged on. After you enter the password, the VNC remote desktop environment appears. The shortcut key Ctl + Alt + Shift + F enables full-screen and non-full-screen switching.
 

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.