Unix client for Microsoft Remote Desktop Services
Go to file
Pierre Ossman e099d79879 Remove dangerous s_check()
This macro checks if a pointer is valid _after_ we've already used
that pointer. So it will only trigger if we're already performed some
for of buffer overflow. As such, it provides little to no value and
can only server to encourage broken behaviour.

Let's remove it and replace it with proper bounds checking before
access instead.
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 Use proper user-initiated disconnect sequence 2018-01-31 11:03:32 +01: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 Update copyrights 2019-02-01 11:21:32 +03:00
cliprdr.c Give source code info in rdp_protocol_error() 2019-05-06 13:29:44 +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 Give source code info in rdp_protocol_error() 2019-05-06 13:29:44 +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 Run indent-all.sh script on source 2018-10-29 15:53:57 +01: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 Run indent-all.sh script on source 2018-10-29 15:53:57 +01:00
licence.c Run indent-all.sh script on source 2018-10-29 15:53:57 +01:00
lspci.c Remove dangerous s_check() 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 Remove dangerous s_check() 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 Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
rdp.c Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
rdpdr.c Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
rdpedisp.c Run indent-all.sh script on source 2018-10-29 15:53:57 +01:00
rdpsnd_alsa.c Fix sign-compare compiler warnings 2017-10-20 13:30:42 +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 Remove compiler warnings from rdpsnd_libao 2017-11-13 17:00:53 +01:00
rdpsnd_oss.c Markup unused parameters 2017-10-20 11:05:52 +02:00
rdpsnd_pulse.c Run indent-all.sh script on source 2018-10-29 15:53:57 +01:00
rdpsnd_sgi.c Rework the logging system 2017-01-26 14:19:40 +01:00
rdpsnd_sun.c Rework the logging system 2017-01-26 14:19:40 +01:00
rdpsnd.c Remove dangerous s_check() 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 Use STRNCPY() macro in smart card code 2019-05-06 13:28:31 +02:00
scard.h Update copyrights 2019-02-01 11:21:32 +03:00
seamless.c Remove dangerous s_check() 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 Remove dangerous s_check() 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 Run indent-all.sh script on source 2018-10-29 15:53:57 +01:00
stream.h Remove dangerous s_check() 2019-05-06 14:33:05 +02:00
tcp.c Remove unused variables and functions 2019-04-12 14:37:24 +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).