A method of remote exchange between Linux and Windows operating systems

Source: Internet
Author: User
Tags ssh rdesktop

A method of remote exchange between Linux and Windows operating systems

Do you want to remotely access the Windows system under the Linux system and remotely access the Linux system under Windows and UNIX?

Rdesktop is a remote Desktop Connection software for UNIX and Linux systems that MicrosoftWindows NT, Windows

2000 Terminal Services (Terminal services) and Remote Desktop Services for Windows XP

Desktop), can remotely log on to Windows Window System under Linux system and use.

Download and installation of Rdesktop

On a variety of versions of the Redhat Linux system installation disk, the third CD-ROM contains rdesktop executable rpm packages, such as:

RedHat 9.0:rdesktop-1.2.0-1.i386.rpm

Fedora Core 2:rdesktop-1.3.1-3.i386.rpm

Use the #rpm-Q rdesktop To see if Rdesktop is installed in the system, and then install the appropriate RPM package.

We can also download the rdesktop source program, compile and install on each operating platform. Described below in Redhat 9.0

Under Install rdesktop-1.3.1, download the FTP address is:

F t P:/u 1 7 2 0 5 5 tsinghua.edu.cn/pub/mirror/g e n t o

/distfiles/rdesktop-1.3.1.tar.gz

Compile the installation as follows:

[Root@host12cx]# Tar xvzfrdesktop-1.3.1.tar.gz

[Root@host12 cx]# cdrdesktop-1.3.1

[Root@host12 cx]#./configure

[Root@host12 cx]# make

[Root@host12 cx]# Makeinstall

[Root@host12 cx]#

After the installation was successful, an executable Rdesktop program was generated under/usr/local/bin.

Second, the use of rdesktop

1. Settings for remote Windows system

For example, this is a Remote Desktop service that connects Windows XP Professional. First enable Remote Desktop Services under Windows XP (Note that XP

The Homeedition

No Remote Desktop service), right click on "My Computer", select "Properties", View the "Remote" option, select "Allow users to connect remotely to this computer".

The use of rdesktop under 2.Linux

The use of rdesktop is simple and can be helped by the use of #rdesktop-h. The commonly used login commands are:

#rdesktop-G 1024x768-d 24hostname

where "G 1024x768" Set resolution is 1024x768, "D 24" set True Color 24 bit, hostname for Windows

The host name or IP address of the machine. After you have entered Windows

XP username and password, you can log in and operate the remote Windows system. If you want to access remote Linux on the local computer

Windows system, and need to run and display graphics programs, Linux provides extensive support for graphical user interface (GUI) remote access.

This machine is a Linux or Unix system

Now imagine logging on to a remote host rhostname, running a GIMP program, and outputting its display to the local screen, you need to do the following:

1. Start x Server

# Xhost +rhostname (allows remote rhostname machine to use native x Server)

2.telnet (or SSH) logon to a remote host

# telnet Rhostname

3. Set Display environment variables

A display device is specified and all graphics programs are displayed to this device.

DISPLAY's format is: Hostname:displaynumber.screennumber.

Hostname is the native hostname, or its I-P address. General d i s P l a y n u m b e r

And Screennumber are all 0.

# echo $SHELL

If return is/bin/ksh, then can use: # Export display= IP address of this machine: 0.0

If return is/BIN/CSH, then can use: # setenv DISPLAY native IP address: 0.0

If return is/bin/bash, then can use: # display= IP address of this machine: 0.0

# Export DISPLAY

4. Start the GIMP program

# GIMP

This machine is a Windows system

Under Microsoft's W i n d o w s need a xserver

Software so that you can log on to remote Linux and display the results on your local computer. Common Windows Xserver

The software has: X-win, Exceed and Cywin. Here's how to use exceed to log on to the Linux process.

1.Exceed Software

Hummingbird Exceed

is running in Windows environment excellent x terminal simulation software, is a commercial software. After running exceed, the Windows system has a xserver that can log on to any Linux and UNIX host and display the graphical Windows locally, while the Windows system still works with other Windows applications. Really enjoy the convenience of multitasking operating systems.

2.Exceed settings (take Exceed8.0 as an example)

Through the start → program →hummingbird connectivityv8.0→exceed→

Xconfig The start Setup program network andcommunication entry, select XDMCP in the mode item

Broadcast ".

3. KDE graphical interface to start remote Linux under Windows

(1) Starting hummingbird exceed and then minimizing the exceed window;

(2) Open SSH under Windows, log on to the remote host rhostname;

(3) After successful login, enter:

# Export display= = native IP address: 0.0

# STARTKDE

The remote Linux KDE graphical interface will then be displayed on the native Windows system, and the user can do anything about it.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer group: 189034526 welcome you to join

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.