Log on to the mongown System Remote Desktop in Linux (3389)
By clin003 at 20070503 from: http://blog.csdn.net/clin003
First download rdesktop from http://www.rdesktop.org
Then
# Tar zxvf rdesktop-NN-tar.gz
# Cd rw.op-nn
# Cat readme
#./Configure
# Make; make install
#/Usr/local/bin/rdesktop view usage
# Ln-S/usr/local/bin/rdesktop/usr/bin/rdesktop
You can use rdesktop-u username-P password IP: port to achieve automatic connection.
If you want to set the desktop resolution after connection, you can add appropriate parameters during connection,
The help information is shown below.
Hey, you don't have to restart Windows to connect to 3389. Haha ~ '''
------------------------
[Airs @ clin003 rdesktop-1.5.0] $ rdesktop-help
Rdesktop: A Remote Desktop Protocol client.
Version 1.5.0. Copyright (c) 1999-2005 Matt Chapman.
See http://www.rdesktop.org/for more information.
Usage: rdesktop [Options] server [: Port]
-U: User Name
-D: domain
-S: Shell
-C: working directory
-P: Password (-to prompt)
-N: client hostname
-K: keyboard layout on server (En-US, de, SV, etc .)
-G: desktop geometry (WXH)
-F: full-screen mode
-B: Force bitmap updates
-L: Local codePage
-A: Enable seamlessrdp Mode
-B: Use backingstore of X-server (if available)
-E: Disable encryption (French TS)
-E: Disable encryption from client to server
-M: Do not send Motion Events
-C: use private color map
-D: Hide Window Manager decorations
-K: keep window manager key bindings
-S: caption button size (single application mode)
-T: window title
-N: Enable numlock Syncronization
-X: embed into another window with a given ID.
-A: Connection color depth
-Z: Enable RDP Compression
-X: rdp5 experience (M [ODEM 28.8], B [roadband], L [an] or hex Nr .)
-P: use persistent bitmap caching
-R: Enable specified device redirection (this flag can be repeated)
'-R comport: COM1 =/dev/ttys0': Enable serial redirection of/dev/ttys0 to COM1
Or COM1 =/dev/ttys0, com2 =/dev/ttys1
'-R Disk: floppy =/mnt/Floppy': Enable redirection of/mnt/floppy to 'floppy 'share
Or 'floppy =/mnt/floppy, CDROM =/mnt/CDROM'
'-R clientname = <client name>': Set the client name displayed
For redirected Disks
'-R lptport: LPT1 =/dev/lp0': Enable parallel redirection of/dev/lp0 to LPT1
Or LPT1 =/dev/lp0, lpt2 =/dev/lp1
'-R printer: mydeskjet': Enable Printer redirection
Or mydeskjet = "HP LaserJet iiip" to enter server driver as well
'-R sound: [local | off | remote]': enable sound redirection
Remote wocould leave sound on server
'-R clipboard: [Off | primaryclipboard | clipboard]': Enable clipboard
Redirection.
'Primaryclipboard' looks at both primary and clipboard
When sending data to server.
'Clipboard' looks at only clipboard.
-0: attach to console
-4: Use RDP version 4
-5: Use RDP version 5 (default)
[Airs @ clin003 rdesktop-1.5.0] $
By clin003 at 20070503 from: http://blog.csdn.net/clin003
Add other reference materials (the method may be relatively old, but it is absolutely useful) =====================
From: http://www.linuxdiyf.com
Abstract: Do you want to remotely access windows in Linux and Linux in Windows or UNIX?
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.
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.
By clin003 at 20070503 from: http://blog.csdn.net/clin003
Cut a picture by the way.