Unix client for Microsoft Remote Desktop Services
Go to file
Pierre Ossman c6d8b933c8 Avoid preallocated streams in tcp.c
We don't know when the caller might be done with a stream, so we
can end up with code overwriting things in a stream that is in use
elsewhere.

Solve the issue by returning a new stream each time and leave it
up to the callers to free it.
2019-05-06 14:33:05 +02:00
doc Add TLS 1.1 and 1.2 support 2018-10-18 17:35:02 +02:00
keymaps Update ru 2018-01-27 09:39:49 +04:00
tests Add explicit STREAM allocation function 2019-05-06 14:33:05 +02:00
.gitignore Ensure (partial) resize functionality with automated tests 2017-12-07 11:15:03 +01:00
.travis.yml Fix build for clang 2019-01-29 10:38:14 +01:00
asn.c Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
asn.h Refactor of public key cert check 2019-01-29 10:38:14 +01:00
bitmap.c Malicious RDP server security fixes 2019-01-16 12:28:44 +01:00
bootstrap Removing old autom4te.cache before autoreconf. Seems to 2004-09-07 11:33:46 +00:00
cache.c Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
channels.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
cliprdr.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
config.guess Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
config.sub Now using Autoconf. Old OpenSSL files removed. 2004-07-31 13:07:41 +00:00
configure.ac Set base requirement of GnuTLS to >= 3.2.0 2019-01-29 10:38:14 +01:00
constants.h Update copyrights 2019-02-01 11:21:32 +03:00
COPYING Changed license to GPLv3 2010-01-12 08:31:06 +00:00
cssp.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
ctrl.c Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
disk.c Fix problems with transferring large files 2019-01-31 10:51:19 +01:00
disk.h Changed license to GPLv3 2010-01-12 08:31:06 +00:00
dvc.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
ewmhints.c Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
genauthors Make it possible to automatically generate the AUTHORS file from the 2011-04-13 11:33:22 +00:00
indent-all.sh Remove deprecated rdp2vnc 2017-08-14 15:58:48 +02:00
install-sh Now using Autoconf. Old OpenSSL files removed. 2004-07-31 13:07:41 +00:00
iso.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
licence.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
lspci.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
Makefile.in Add Dynamic Virtual Channels and basic RDPEDISP support 2017-11-09 15:39:39 +01:00
mcs.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
mppc.c Clean up undefined behavior in complicated and/or/shift expression 2017-11-09 18:46:07 +01:00
orders.c Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
orders.h Changed license to GPLv3 2010-01-12 08:31:06 +00:00
parallel.c Fix problems with transferring large files 2019-01-31 10:51:19 +01:00
pkix_asn1_tab.c Add ASN.1 parsing routines 2019-01-29 10:38:13 +01:00
pkix.asn Add ASN.1 parsing routines 2019-01-29 10:38:13 +01:00
printer.c Fix problems with transferring large files 2019-01-31 10:51:19 +01:00
printercache.c Rework the logging system 2017-01-26 14:19:40 +01:00
proto.h Mark rd_protocol_error() as "noreturn" 2019-05-06 14:33:05 +02:00
pstcache.c Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
rdesktop.c Fix bad call to strncat() 2019-04-12 14:37:24 +02:00
rdesktop.h Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
rdesktop.spec Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
rdp5.c Separate behaviour of out_uint8a and out_uint8p 2019-05-06 14:33:05 +02:00
rdp.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
rdpdr.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
rdpedisp.c Remove in_skip() in favour of in_uint8s() 2019-05-06 14:33:05 +02:00
rdpsnd_alsa.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd_dsp.c Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
rdpsnd_dsp.h Changed license to GPLv3 2010-01-12 08:31:06 +00:00
rdpsnd_libao.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd_oss.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd_pulse.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd_sgi.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd_sun.c Add macro to check remaining length of STREAM 2019-05-06 14:33:05 +02:00
rdpsnd.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
rdpsnd.h Add support for pulseaudio backend 2017-09-26 15:07:14 +02:00
README.md README.md: Mark up parameters and commands 2018-01-03 14:15:30 +01:00
scancodes.h Fix minor spelling mistakes 2017-11-02 01:01:44 +01:00
scard.c Separate behaviour of out_uint8a and out_uint8p 2019-05-06 14:33:05 +02:00
scard.h Update copyrights 2019-02-01 11:21:32 +03:00
seamless.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
seamless.h Fixed style of a few copyright statements. 2011-09-28 09:36:59 +00:00
secure.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
serial.c Fix problems with transferring large files 2019-01-31 10:51:19 +01:00
ssl.c Remove unused variables and functions 2019-04-12 14:37:24 +02:00
ssl.h Parse X.509 certificate, get RSA public key, RSA encrypt 2019-01-29 10:38:13 +01:00
stream.c Add explicit STREAM allocation function 2019-05-06 14:33:05 +02:00
stream.h Separate behaviour of out_uint8a and out_uint8p 2019-05-06 14:33:05 +02:00
tcp.c Avoid preallocated streams in tcp.c 2019-05-06 14:33:05 +02:00
types.h Fix problems with transferring large files 2019-01-31 10:51:19 +01:00
utils.c Don't check certificate purpose on older GnuTLS 2019-03-01 11:17:40 +01:00
utils.h This commit have multiple fixes: 2019-01-30 16:12:15 +01:00
xclip.c Fix memory leaks 2019-02-05 22:34:10 +01:00
xkeymap.c Refactor deactivation of seamless mode 2017-12-07 10:30:01 +01:00
xproto.h Add _NET_WM_PID and required WM_CLIENT_MACHINE properties to windows. 2015-09-15 12:38:28 +02:00
xwin.c Update copyrights 2019-02-01 11:21:32 +03:00

rdesktop - A Remote Desktop Protocol client

rdesktop is an open source client for Microsoft's RDP protocol. It is known to work with Windows versions ranging from NT 4 Terminal Server to Windows 2012 R2 RDS. rdesktop currently has implemented the RDP version 4 and 5 protocols.

Installation

rdesktop uses a GNU-style build procedure. Typically all that is necessary to install rdesktop is the following:

% ./configure
% make
% make install

The default is to install under /usr/local. This can be changed by adding --prefix=<directory> to the configure line.

The smart-card support module uses PCSC-lite. You should use PCSC-lite 1.2.9 or later. To enable smart-card support in the rdesktop add --enable-smartcard to the configure line.

Note for users building from source

If you have retrieved a snapshot of the rdesktop source, you will first need to run ./bootstrap in order to generate the build infrastructure. This is not necessary for release versions of rdesktop.

Usage

Connect to an RDP server with:

% rdesktop server

where server is the name of the Terminal Services machine. If you receive "Connection refused", this probably means that the server does not have Terminal Services enabled, or there is a firewall blocking access.

You can also specify a number of options on the command line. These are listed in the rdesktop manual page (run man rdesktop).