Windows mutual logon-Linux Enterprise Application-Linux server application information. The following is a detailed description. If you want to remotely access the Windows System in Linux and remotely access the Linux System in Windows or UNIX, this article will teach you how to do this.
Rdesktop is a Remote Desktop Connection software for UNIX and Linux systems. It uses Microsoft Windows NT, Terminal Services provided by Windows 2000, and Remote Desktop service of Windows XP ), you can remotely log on to and use Windows in Linux.
1. Download and install rdesktop
On the RedHat Linux system installation disks of various versions, generally the third Disk carries the executable RPM software package of rdesktop. For example:
Use # rpm-q rdesktop to check whether rdesktop is installed in the system, and then install the appropriate rpm software package.
We can also download the rdesktop source program and compile and install it on various operating platforms. The following describes how to install the rdesktop-1.3.1 under RedHat 9.0. The downloaded ftp address is:
F t p: // t u 1 7 2 0 5 5 .tsinghua.edu.cn/pub/#/g e n t o/d I s t f I l e s/rdesktop-1.3.1.tar.gz
Compilation and installation are 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 is successful, an executable rdesktop program is generated under/usr/local/bin.
Ii. Use of rdesktop
1. Remote Windows Settings
The following uses the remote desktop service connected to Windows XP Professional as an example. First, enable the remote desktop service in Windows XP (note that XP HomeEdition does not have a remote desktop service). Right-click "my computer" and select "properties" to view the "remote" option, select "allow users to remotely connect to this computer.
2. Use rdesktop in Linux
Rdesktop is easy to use. You can use it through # rdesktop-h. Common Logon commands are as follows:
# Rdesktop-g 1024x768-d 24 hostname
The resolution of "g 1024 × 768" is set to 1024 × 768, "d 24" is set to 24 bits, and the hostname is the host name or IP address of the Windows machine. After entering the user name and password of Windows XP, you can log on to and operate on a remote Windows system. If you want to access the remote Linux Window System on the local machine and need to run and display graphics programs, Linux provides extensive support for remote access to the graphic user interface (GUI.
1. The local machine is a Linux or UNIX system.
Assume that you log on to the remote host rhostname, run the gimp program, and output it to the local screen. Then, you must perform the following operations in sequence:
1. Start X Server
# Xhost + rhostname (Allow Remote rhostname machines to use the local X Server)
2. telnet (or ssh) to log on to the remote host
# Telnet rhostname
3. Set the DISPLAY environment variable
A display device is specified, and all graphics programs are displayed on this device.
The DISPLAY format is hostname: displaynumber. screennumber.
Hostname is the local host name or its I P address. Generally, d I s p l a y n u m B e r and screennumber are all 0.
# Echo $ SHELL
If/bin/ksh is returned, use: # export DISPLAY = Local IP Address: 0.0.
If/bin/csh is returned, you can use: # setenv DISPLAY local IP Address: 0.0
If/bin/bash is returned, use: # DISPLAY = Local IP Address: 0.0.
# Export DISPLAY
4. Start the gimp Program
# Gimp
Ii. Windows OS
In Microsoft's W I n d o w s, an XServer software is required to log on to a remote Linux system and display the result on a local computer. Common XServer software for Windows include X-win, Exceed, and cywin. The following describes how to use Exceed to remotely log on to Linux.
1. Exceed Software
Hummingbird Exceed is an excellent X-terminal simulation software running in Windows and a commercial software. After running Exceed, the Windows system has an Xserver. you can log on to any Linux or UNIX host and display the graphical window locally, at this time, the Windows system can still run other Windows applications, and truly enjoy the convenience of multi-task operating systems.
2. Exceed settings (taking Exceed8.0 as an example)
Start the Network andCommunication item of the setup program through "Start → program → Hummingbird ConnectivityV8.0 → Exceed → Xconfig", and select "XDMCP Broadcast" in the Mode item ".
3. Start the kde gui for remote Linux in Windows
(1) Start Hummingbird Exceed, And Then minimize the Exceed window;
(2) Open ssh in Windows and log on to the remote host rhostname;
(3) After Successful Logon, enter:
# Export DISPLAY = the IP address of the Local Machine: 0.0
# Startkde
After that, the remote Linux KDE graphic interface will be displayed in the Windows system on the local machine. You can perform any operations on it.
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.