3/06/2008

rdesktop + SeamlessRDP

rdesktop is an open source client for Windows NT Terminal Server and Windows 2000/2003 Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's NT desktop.

SeamlessRDP, a seamless windows implementation for rdesktop. SeamlessRDP makes it possible to run individual applications rather than a full desktop. In this mode, rdesktop creates a X11 window for each window on the server side. The remote applications can be moved, resized and restacked.

Server: Win XP SP2 Professional
Client : Ubuntu 7.10 Desktop


#------------------------------------------------------------------------------
# Pre Install
#------------------------------------------------------------------------------
apt-get install rdesktop

download a pre-built binary from http://www.cendio.com/files/thinlinc/seamlessrdp/seamlessrdp.zip .

#------------------------------------------------------------------------------
#rdesktop + SeamlessRDP
#------------------------------------------------------------------------------
On winxp unpack the files to some directory, such as c:\seamlessrdp.

That is. Now we can test the application.

Run IE on Ubuntu
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\Internet Explorer\IEXPLORE.exe" WinXP_IP_Address:3389 -u WinXp_UserName -p Password

Run tasker manager with mapped drive
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\windows\system32\taskmgr.exe" -r disk:Linux_user_name=/home/linux_user_name WinXP_IP_Address:3389 -u UserName -p Password

沒有留言: