Rdesktop

From LQWiki
Jump to navigation Jump to search

rdesktop allows you to control a Windows NT and Windows 2000/2003 computer via a remote desktop from your linux workstation. You do not need to install an extension to your Windows computer.

Installing rdesktop

Main article: installing software

To install rdesktop, find out your distribution and proceed accordingly

Gentoo

Install rdesktop for Gentoo

emerge net-misc/rdesktop

SUSE

Install rdesktop for SUSE:

yast -i rdesktop

Ubuntu

With synaptic, do a "quick search" for "rdesktop", and mark it for installation. Or, as root

apt-get install rdesktop

generic

If this is not possible, you can compile rdesktop:

wget http://kent.dl.sourceforge.net/sourceforge/rdesktop/rdesktop-1.6.0.tar.gz
tar xvzf rdesktop-1.6.0.tar.gz
cd rdesktop-1.6.0
./configure && make -j4 && make install

Using rdesktop

Type:

rdesktop <IP of your terminal services server>

example:

$ rdesktop 192.168.1.10

This starts rdesktop, opens up a terminal session on the machine you indicated (in this case 192.168.1.10), and opens a Windows login screen where you can type your username and password for the Windows machine.

Making your windows machine audible

If no sound is audible on your Linux machine it is possible that the setup of your machine is effectively blocking the rdesktop program to get a lock on /dev/snd. Particularly when using Alsa this can be the case. A way around it is to use the aoss wrapper; this can be done by using the following command:

$ aoss rdesktop 192.168.1.10 -r sound .... other flags and parameters... 

The sound may be delayed somewhat.