Linux Remote Desktop For Controlling Windows XP / Vista / Server 2003 ( rdesktop )
I am responsible for couple of windows servers and windows xp workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003 server for work.
Since I have Debain Linux at home, I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech support use rdesktop to connect to customers' windows XP box. 
Especially it is very useful to configure Outlook or something else when customers do not understand how to configure or troubleshoot problem. This is the best way to fix a problem.
Fortunately, Linux has rdesktop utility. It is a client for remote desktop protocol (RDP), used in a number of Microsoft products including Windows NT Terminal Server, Windows 2000 Server, Windows XP and Windows 2003 Server. You do not need to install VNC server. All you need is rdesktop client on Linux or BSD workstation.
Install rdesktop
# apt-get install rdesktop
Connect to MS Windows 2000/2003 server from Linux, type the following command at a shell prompt (connect to Windows server called mw2sn100.mycorp.com)
$ rdesktop mw2sn100.mycorp.com
Or connect to windows XP/Vista workstation having IP 192.168.1.17:
$ rdesktop 192.168.1.17
Please note that you must first enable remote desktop connection under Windows Server/XP.
- Go to Windows XP Desktop
- Right Click on My Computer
- Select properties
- Select Remote tab
- Enable Remote desktop.
- Save the changes.
Make sure enterprise firewall allows incoming connection on TCP port 3389. rdesktop supports many other options, see man page of rdesktop or visit main website of rdesktop for more information.
E-mail this to a Friend
Printable Version
You may also be interested in other helpful articles:
- Best Linux / UNIX Posts of 2007: Part ~ II
- VirtualBox virtualization product available for download
- Linux XP Desktop OS - Gives you Windows XP look and feel
- FreeBSD and Linux changing Desktop Environments/login manager
- Download Linux Google desktop application
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: desktop protocol, enterprise firewall, incoming connection, linux Remote Desktop Protocol client, man page, microsoft products, microsoft windows desktop, ms windows 2000, remote desktop connection, select properties, server windows, tcp port 3389, terminal server windows 2000, terminal server windows 2000 server, windows 2000 server, windows 2003 server, Windows server, windows servers, windows xp box, windows xp desktop, workstations



hi
i have a problem with this.
I use an old laptop connected to a tv, but when i control it with another laptop the ati control panes is disabled.
How can i fix it
Hi Vivek,
I use the ‘rdesktop’ and the problem with it is the colors!!
I think it shows up with 256colors! How can i change the resolution?
Thanks.
Prasanth Kumar Diddi.
Prasanth. To sort out colours/resolution read up on rdesktop switches: -g for resolution and -a for colours.
ie.
rdesktop -u USERNAME -p PASSWORD -g RESOLUTION -a COLOURS IP#
(obviously set to lowest so that rdesktop will work on older systems)
hello,
how many user / client can connect to rdesktop server ?
i have already setup rdesktop server and client, but only 3 client can connect
my server is windows xp pro, my client use freebsd with rdesktop installed.
thank you
thanks for the tip .. easy solution since my monitor is about to break down and i could not get VNC to work due to java i believe
i think the website is doing a great job.
thanku
Is there a way to make this work with Vista Home? My parents are driving me nuts with Vista questions. I have Ubuntu Gutsy running. Any advice would be appreciated. Thanks!
I used VNC to bring data home nightly for Quickbooks usually I would just work on it via VNC. IN the old days when I used PCAnywhere I had to work on the dat a file at home then send it back in the morning. VNC rocks… my fav software ever.
Dale
remove their vista and install pclinuxos.
that cures all vista issues.
to the vista problem, remote desktop on Vista uses encryption TSL 1.0, you might tryin using the E switch other than that your SOL
typo TSL * TLS
submit box says linux lol
Great! This is what I’ve been looking for . .
For full screen:
rdesktop -f ip-address
I’m new to linux and using ubuntu. My biggest problem so far had been that I couldn’t access the virtual desktop at the high school I teach at. The guide worked like a charm, and now I don’t have to cart an external hard drive back and forth. Thank you!
Didn’t see any thing mentioned about how secure password transmission is.. Is the password transmitted clear text or encrypted? Is it secure?
Thanks for this simple but very helpful guide. Shortly after getting this going, I found Ubuntu (probably gnome, actually) provided a nice gui panel for getting rdesktop started, with handy options for all the command line parameters I wanted. In the main Applications menu, it was under Internet, called Terminal Server Client.
@james
you cannot do remote desktop to a vista home system as microsoft does not ship vista home versions with the rdp protocol.
only outgoing connections are allowed with vista home.
Thanks for quick how-to.
It saved me lots of time and running from one room to another
brilliant, cant thank you enough, works like a dream!
James (#7) asked is there a way to enable Remote Desktop for Vista home…
Take a look at the followng blog:
http://portal.tonychan.org/Default.aspx?tabid=58&EntryID=123
or search for termsvr.zip. This solution worked very well for me and did not require VNC.
Good luck!
Barry
How would I get a script with rdesktop to run at startup of a linux box?
I.E. once linux loads, it runs the script that loads rdesktop.
I am running Synnex on X Windows if that helps.
hi, when I access the server all I get is:
Autoselected keyboard map da
I used rdesktop -u USERNAME -p PASSWORD IP to get this far…
remote desktop is enabled on the server
another question:
[root@vs-1399 ~]# rdesktop -u tmp 82.111.231.28 -0
Autoselected keyboard map en-us
ERROR: Failed to open display:
i`m using a terminat thought putty without using a display mode or something.
there is some way to connect from linux, to thee rdp just like your using the telnet ? i mean that i whant to connect to the rdp just typing the username and password withought using a display mode
just connect to rdp and take the commands like your in the Command Prompt?
I’m trying to provide a way to enable about 14,000 employees, who are all using a Linux/Firefox solution at their remote facilities, to access a web-based application that is only supported on a Windows/IE 6.0 or greater configuration. It sounds like rdesktop may be a solution but I’m concerned as to its scalability and security. Can anyone share any insight?
I have a problem in that when I connect to a vista pc (rdc is enabled) it just says “Autoselected keyboard map en-gb” then nothing. Can someone please help with this as I need it up and running as soon as possible.