Install and use rdesktop in CentOS

Source: Internet
Author: User
Tags rdesktop
Rdesktop installation and use because the server I want to manage also has a windows operating system, you cannot use SSH for management only. What is rdesktop? Rdesktop: ARemoteDesktopProtocolClientforaccessingWindowsNTTerminalServer (Remote Desktop Protocol client of windowsNT terminal server) remember to enable remote assistance on windows before connecting. Then:

Rdesktop installation and use
Because the server I want to manage also has a windows operating system, I cannot use SSH for management.
What is rdesktop?
Rdesktop: A Remote Desktop Protocol Client
For accessing Windows NT Terminal Server (Remote Desktop Protocol client of windows NT Terminal Server)
Remember to enable remote assistance on windows before connecting.
Next, install rdesktop on CentOS:


  • Download the latest version of rdesktop from the official website,
    Http://www.rdesktop.org
    , The latest version: rdesktop 1.5.0, Source (211KB)

  • [Root @ lvdbing software] # tar-xvzf rdesktop-1.5.0.tar.gz (unzip)

  • [Root @ lvdbing software] # cd rdesktop-1.5.0;./configure

  • [Root @ lvdbing rdesktop-1.5.0] # make; make install (compile, install) Note: When installing CentOS, remember to install the development kit, otherwise the installation may fail

  • [Root @ lvdbing rdesktop-1.5.0] # ls-l/usr/local/bin/rdesktop
    -Rwxr-xr-x 1 root 182708 Jan 14/usr/local/bin/rdesktop (confirm installation)

Finally: Test the connection

  • Write the selection script (because there are more than one running windows Server)

  • [Root @ lvdbing Desktop] # cat SelectHost. sh
    #! /Bin/bash
    Echo "Select Rmote Hostname :"
    Echo "1): 192.168.1.30"
    Echo "2): 192.168.1.40"
    Echo "3): 192.168.1.50"
    Echo ""
    Echo "Please select remote host :"
    Read host
    Case "$ host" in
    1) rdesktop-f-a 16 192.168.1.30
    ;;
    2) rdesktop-f-a 16 192.168.1.40
    ;;
    3) rdesktop-f-a 16 192.168.1.50
    ;;
    *) Echo "Error, Please select 1, 2 or 3 :"
    ;;
    Esac
    # Option-f indicates full screen display, and-a 16 indicates that the display pixel is 16,192.168 .1.30, indicating the host name.

  • Use Ctrl + Alt + Enter to exit full screen.

  • Connection


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.