speidy
1fe048b63d
xrdp_encoder: do not initialize for non-UNIX rdp clients
...
xrdp_encoder: comment about temporary workaround
8 years ago
Jay Sorg
e8308d58b3
xrdp: do case insensitive compare for section names
8 years ago
Itamar Reis Peixoto
f7b0b0d89c
Merge pull request #488 from metalefty/docs
...
Update man pages and config files
8 years ago
metalefty
b89956d06e
Merge pull request #485 from proski/code-standards
...
Code standards
8 years ago
Pavel Roskin
5d2ce60340
Fix regression in domain to session type mapping
...
If no domain is passed, self->session->client_info->domain is an empty
string that is incorrectly treated as if the domain were passed by the
client.
The regression was introduced in fc753a95
, when an incorrect check for
non-empty domain was added. That check was removed in 67119ecc
based on
coverity report, leaving no trace of the original intention.
Check domain both for '_' and '\0' as the initial character. In either
case, select the first session type section in xrdp.ini.
8 years ago
Pavel Roskin
16c3bbdb8d
Remove all tabs in sources
8 years ago
Koichiro IWAO
0a7f1bb007
docs: revise description for disableSSLv3 in xrdp.ini
8 years ago
Koichiro IWAO
d74366a6f2
config: change order of parameters
...
Put same layer configuration parameters together, bring low layer
parameters earlier.
8 years ago
Koichiro IWAO
cb1960e0fc
config: use semicolon to comment out descriptions in config files
...
and use number sign to comment out actual configurations.
For example:
; if set to true, enables foobar
#foobar=true
8 years ago
Koichiro IWAO
181830bf61
config: Capitalize section title to fit documents
8 years ago
Koichiro IWAO
4f2d94505a
config: unify all boolean values in config to true/false
8 years ago
Jay Sorg
4f33a9db1d
change xrdp.ini security_layer=negotiate and auto generate tls keys on make install
8 years ago
Koichiro IWAO
5725200e82
Use km-0000yyyy.ini if km-xxxxyyyy.ini doen't exist
...
upper 16 bits of keylayout value indicates keyboard layout.
lower 16 bits of keylayout value indicates country/language.
If the keymap file doesn't match exactly to keylayout value,
the typical keyboard of the country/language should be used.
For example [1]:
0x00000409: US English
0x00010409: US Dvorak
0x00020409: US International
0x00030409: US Dvorak for left hand
0x00040409: US Dvorak for right hang
0x0000040e: Hungarian
0x0001040e: Hungarian 101-key
[1] https://msdn.microsoft.com/windows/hardware/commercialize/manufacture/desktop/windows-language-pack-default-values
8 years ago
Itamar Reis Peixoto
f94920171e
Merge pull request #437 from metalefty/switch-to-8-hex-digit-keymap-file
...
Switch to 8 hex digit keymapfile
8 years ago
Pavel Roskin
61811466e2
Simplify names of xrdp.ini sections, rename "Session Manager" to "Xorg"
...
Make section names equal to the names in the "name=" setting to avoid
confusion and the need to renumber sections. Avoid "sesman-" in the
names, it's not helpful to the user. Move "Xorg" just below "X11rdp",
that would give xorgxrdp more visibility.
8 years ago
Koichiro IWAO
c654c86206
Switch to 8 hex digit keymapfile
...
as the value keyboardLayout is actually 32-bit unsigned integer.
See [MS-RDPBCGR] - v20160714 p.45.
8 years ago
Pavel Roskin
a370306f75
Get rid of EXTRA_LIBS, use variables with more specific names
8 years ago
Pavel Roskin
5c69f3cd57
Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS
8 years ago
Pavel Roskin
0422734fc7
Merge EXTRA_DEFINES and EXTRA_INCLUDES into AM_CPPFLAGS
...
AM_CPPFLAGS is a documented Automake variable for C preprocessor flags
that should not be overridden when compiling the package.
There is no need to have two additional variables that are ultimately
merged into AM_CPPFLAGS.
Their names are also confusing. EXTDA_DIST is a documented Automake
variable. Everything else that starts with "EXTRA" is not.
8 years ago
Pavel Roskin
09746fcebc
Leave only one "autorun" in xrdp.ini, improve comment
8 years ago
Pavel Roskin
a618d4f757
Don't use final newline in log calls, it's already appended
8 years ago
Koichiro IWAO
ee3a38f93d
xrdp: librfxcodc link fix
...
as same fix as done in 4a815d5 for libpainter
8 years ago
Jay Sorg
b24f8d8fef
remove a debug message
8 years ago
Jay Sorg
409878666f
xrdp: handle 3 byte PDU
8 years ago
Pavel Roskin
49ae93130a
Improve message about listening socket is a wrong state
8 years ago
Alex Illsley
47124df4ed
new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to implement
8 years ago
Jay Sorg
bb7bac2d9b
add region intersect
8 years ago
Jay Sorg
58c777783b
add more advances region support using pixman
8 years ago
jsorg71
8353baab3d
Merge pull request #390 from proski/june21
...
Cleanups and C++ compatibility
8 years ago
Pavel Roskin
7cd9a5c4af
Cast fifo_remove_item() to XRDP_ENC_DATA* or XRDP_ENC_DATA_DONE* as needed
9 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
9 years ago
Pavel Roskin
aaa89ad4e6
Use const unsigned for hex arrays
...
Some constants are too big for the signed type.
9 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
9 years ago
Pavel Roskin
6f5feb61e0
Shorten and clarify log window messages
...
Specify display in the "login failed" message. Print the section name
that wasn't found. Remove stdout message about missing section,
xrdp_wm_log_msg() already writes to stdout.
9 years ago
Pavel Roskin
a1b7de5679
Make xrdp_wm_log_msg() log its output
...
Accept variable arguments and the log level in xrdp_wm_log_msg(). Remove
logging that is done automatically now.
9 years ago
Pavel Roskin
27ba5b4e86
Rewrite add_string_to_logwindow()
...
Make static, fix formatting, shorten some variable names, use += to add
to variable, accept immutable strings.
9 years ago
Akira Taniguchi
b6ba95e179
Update xrdp_keyboard.ini
9 years ago
Pavel Roskin
77b380c0b5
Fix format warnings in log_message() calls
9 years ago
Pavel Roskin
be1d034f91
Report pid and listening address/port for xrdp and xrdp-sesman
...
For xrdp-sesman, don't report that the daemon is listening to a port if
it fails to attach to that port. Don't use LOG_LEVEL_ALWAYS for startup
message, it's not a critical error.
9 years ago
Pavel Roskin
ae5bb5bf9c
Fix incorrect use of "it's" and "its", adjust wording
9 years ago
speidy
b38dcf1bb0
xrdp_wm: fix for multimon, draw login window and log window on primary
...
monitor
9 years ago
Jay Sorg
dd906c3fc8
remove tabs
9 years ago
Jay Sorg
d27270ab1f
remove tabs
9 years ago
speidy
62799b8b10
xrdp_wm: in multimon scenario, draw log window and login window on
...
primary monitor
9 years ago
Pavel Roskin
b95dc9e12f
Remove extraneous color initialization
9 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
Pavel Roskin
bd0b1acf79
Fix format warnings caused by g_writeln("")
9 years ago
Jay Sorg
dbf6bcc8be
remove some warnings
9 years ago
Jay Sorg
6a692c96cf
remove some warnings
9 years ago
NerdKnight
99ebe1340f
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
9 years ago
jsorg71
034ee36f9c
Merge pull request #341 from proski/sanity-checks
...
Sanity checks
9 years ago
Jay Sorg
38241f2a0b
Fix all format warnings and some unused variable warnings
9 years ago
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
Pavel Roskin
e0a9c769e0
Be more specific in error messages about PID file location
9 years ago
Pavel Roskin
3eb495f425
Check if rsakeys.ini exists on startup, exit if it's missing
9 years ago
Pavel Roskin
86ec50789c
Move all sanity checks to a separate function xrdp_sanity_check()
9 years ago
Pavel Roskin
7642675ddf
Use "dist_" prefix to minimize use of EXTRA_DIST
...
"dist" is ignored in presense of "noinst", so keep noinst_man_MANS.
9 years ago
Pavel Roskin
59a5fb0ddb
Move headers from EXTRA_DIST to sources, sort alphabetically
...
There should be no functional difference.
9 years ago
Pavel Roskin
92a6833e9b
Fix typos
9 years ago
Pavel Roskin
81779ddb01
Use lowercase program names for syslog
...
Other programs typically use the same case as their execulables.
9 years ago
Pavel Roskin
dcab7552db
Stop redefining libdir, use moduledir for ${libdir}/xrdp
...
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.
Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
9 years ago
Pavel Roskin
22e808a186
Add missing spaces in the strings that are split for line wrapping
9 years ago
Pavel Roskin
9717e7392a
Spell "return value", not "returnvalue"
9 years ago
Pavel Roskin
eacfb00050
Declare xrdp_mm_frame_ack() in xrdp.h, it's used in xrdp_wm.c
9 years ago
Pavel Roskin
02c981e796
More spelling fixes found by codespell and aspell
9 years ago
Pavel Roskin
f8cb1588ef
Replace "charactor" with "character" everywhere
9 years ago
Pavel Roskin
a452d8d36a
Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
...
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.
INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
Pavel Roskin
ee1a237685
Remove GOT_PREFIX, it's a broken hack of limited utility
...
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on
the configure command line.
The need to add flags depends on the location of the headers and
libraries of the dependencies, which is orthogonal to the directory where
xrdp will be installed.
The implementation in configure.ac has a stray closing bracket, making
GOT_PREFIX true even if --prefix is not passed.
The implementation is inconsistent - the only affected makefiles are for
xrdp and libxrdp.
Changing rpath manually is wrong in most cases. Libtool should be able to
set rpath correctly on its own.
Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems,
/usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the
rpath slows down 64-bit executables, as the dynamic loader searches for
libraries in a wrong directory.
There is no way to disable GOT_PREFIX if --prefix has to be passed.
Fedora RPM patches configure.ac and needs to rerun autoconf and automake
after that.
9 years ago
jsorg71
c6f27eb96c
Merge pull request #304 from proski/devel
...
Minor fixes
9 years ago
Koichiro IWAO
16a284d1dc
Drop exec permission of non executable files
9 years ago
Pavel Roskin
964e860072
Run through codespell
9 years ago
Jay Sorg
f49e2058df
xrdp: change when using xrdp.ini hidelogwindow
9 years ago
Jay Sorg
418637f72d
xrdp: fix --kill
9 years ago
Jay Sorg
fd793bd213
rename g_tcp_can_recv to g_sck_can_recv
9 years ago
Jay Sorg
6974dc5c6d
remove some more generated files
9 years ago
itamarjp
960cc62a0e
add missing files into extra_dist,
...
this is required when using make dist to generate a tarball
10 years ago
Jay Sorg
6c23b85593
add timeout to trans_get_wait_objs_rw
10 years ago
Jay Sorg
5d73cbd636
set the source for chansrv
10 years ago
Jay Sorg
4a553e07af
update the module API
10 years ago
Jay Sorg
b56aa9832e
work on main loop changes
10 years ago
Thomas Spalinger
04b729ccd1
finish for supporting swiss german keyboard
10 years ago
jsorg71
b55231f18a
Merge pull request #226 from metalefty/freebsd/openpam
...
xrdp: xrdp_mm.c detect and use OpenPAM
10 years ago
Jay Sorg
33167a7c74
add frame acks and h264 codec mode basics
10 years ago
Koichiro IWAO
283a16115a
xrdp: xrdp_mm.c detect and use OpenPAM
...
OpenPAM is used in FreeBSD, NetBSD, DragonFly BSD and Mac OS X.
On the Linux system, Linux-PAM is used. Detect PAM during configure
and use which the system has.
10 years ago
Koichiro IWAO
ba2237a3c4
xrdp: fix -h -v option if xrdp.ini is invalid
...
- log_start should be called after help and version
- Fixes neutrinolabs/xrdp#33 .
10 years ago
Akira Taniguchi
2fc1f3b811
xrdp_keyboard.ini: Fix jp keyboard model
10 years ago
Koichiro IWAO
2212991bd7
Add Japanese keymap codes in xrdp_keyboard.ini
10 years ago
Mike Rostermund
b3cc8f75d9
Fix spelling error and typo
10 years ago
jsorg71
c39d2b0912
Merge pull request #178 from mgorny/altgr-keymap
...
altgr+shift/capslock support in keymaps
10 years ago
Anthony Agresta
6ddc43c4fc
vnc: Added delay_ms option. Fixes neutrinolabs/xrdp#182
10 years ago
jsorg71
dd00c8691c
Merge pull request #173 from moobyfr/default-autorun-ini
...
Set a value for the default autorun session
10 years ago
Michał Górny
cc3231272d
Install and enable 0415/pl keymap
10 years ago
Michał Górny
20a962b640
keymap: support combining shift & capslock with altgr
...
Add support for combining shift & caps lock keys with altgr so that
capital national characters can be written. There was some support for
shift+altgr in xrdp-keygen but it was never actually used.
10 years ago
BLINDAUER Emmanuel
4dcc186299
Set a value for the default autorun session
10 years ago
Jay Sorg
2badb31bf2
big endian fix
10 years ago
Jay Sorg
f73f314c2c
no logic change, indent
10 years ago
jsorg71
0d63263772
Merge pull request #137 from ArvidNorr/choose_shortcutdev
...
support for preferred combo box choice added
10 years ago
Jay Sorg
4afe769467
xrdp: encoder shutdown fix
10 years ago
Jay Sorg
a6d71388c8
xrdp: add tcutils to xrdp.ini
10 years ago
Jay Sorg
8397055e8b
move some hard code paths to defines in header
10 years ago
Jay Sorg
ffed349875
added option to set rdp crypto level to none
10 years ago
Jay Sorg
779f0bf470
add xrdp_keyboard.ini to Makefile.am
10 years ago
Jay Sorg
d99181aa78
xrdp: added xrdp_keyboard.ini
10 years ago
Jay Sorg
29b2e42279
xrdp: if PACKAGE_VERSION not defined, define as ???
10 years ago
Jay Sorg
b7d15c55ed
xrdp: don't include config.h unless HAVE_CONFIG_H is defined
10 years ago
Laxmikant Rashinkar
e4654b57ca
coverity: Resource leak (2nd round)
10 years ago
Laxmikant Rashinkar
a9d7c13147
coverity: read from pointer after free
10 years ago
Laxmikant Rashinkar
67119ecc81
coverity: array compared against 0
10 years ago
Laxmikant Rashinkar
56e43c4a38
Merge branch 'devel' of github.com:NeutrinoLabs/xrdp into devel
10 years ago
Laxmikant Rashinkar
27055d5762
coverity: improper use of negative value
10 years ago
Idan Freiberg
16929efb05
Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into
...
devel
Conflicts:
libxrdp/xrdp_sec.c
10 years ago
Idan Freiberg
afdf638c7b
libxrdp, common: work on TLS mode
10 years ago
Laxmikant Rashinkar
0c63a8feb3
coverity: Dereference after null check
10 years ago
Laxmikant Rashinkar
a990287c46
coverity: fixed unchecked return value from library
10 years ago
Jay Sorg
1291d2dbbe
work on codec mode
10 years ago
Laxmikant Rashinkar
3bb31876e7
coverity: fixed resolution leak issues
10 years ago
Jay Sorg
c64b154475
small fix for rdp scancode file
11 years ago
speidy
aa0f039cef
xrdp: fix for prefilled username issue
11 years ago
Jay Sorg
7d5f7d1133
added --enable-rfxcodec
11 years ago
Idan Freiberg
9007deae6f
libxrdp: added an option to enforce security layer in xrdp.ini
11 years ago
Jay Sorg
2a5e28de34
default max_bpp to 32
11 years ago
Jay Sorg
0cabb4a565
32 bpp compress the alpha, leave room for biggest 32 bpp data
11 years ago
Jay Sorg
ac4adf483f
libxrdp: cursor big endian fix
11 years ago
Jay Sorg
5d49553919
work on 32 bit planar bitmap compressor
11 years ago
ArvidNorr
19ef9ea3b7
support for preferred combo box choice added
11 years ago
ArvidNorr
5030b97d24
added support for optional background image
11 years ago
Jay Sorg
59fa8df434
xrdp: don't show connection log unless there is a problem
...
Conflicts:
xrdp/xrdp_mm.c
11 years ago
Jay Sorg
ec44b9dca1
xrdp: update web site
11 years ago
Jay Sorg
8b1639b96b
xrdp: allow xrdp to listen in UDS
11 years ago
Jay Sorg
0ea5c248c3
turn on bulk compressor by default
11 years ago
Cocoon
138de5c348
remove 1 from default title string
11 years ago
Cocoon
bf43deabf1
make login screen window title configurable
11 years ago
speidy
fc753a9504
xrdp: xrdp_wm: changed the autologin logic
11 years ago
speidy
9e4f4159ef
xrdp: indentation fix
11 years ago
speidy
5ff8aee291
xrdp: for proxy modules, pass target ip to module (if ip passed-in from
...
client into domain field (starting with _))
11 years ago
Jay Sorg
9a3679b1c1
improve debugging dump jpeg for codec mode
11 years ago
Jay Sorg
0748f41101
set codec mode according to client
11 years ago
Jay Sorg
575fc9fb6f
work on codec mode jpeg
11 years ago
BLINDAUER Emmanuel
185aafd12d
Call cleanup for encoder
11 years ago
Jay Sorg
6d7e315b0c
work on surface command
11 years ago
Jay Sorg
50a1b1fdb9
work on codec mode jpeg
11 years ago
Laxmikant Rashinkar
40ec8a1714
Merge branch 'devel' of github.com:/neutrinolabs/xrdp into devel
11 years ago
Laxmikant Rashinkar
9470b031aa
xrdp_encoder: developer checkin
11 years ago
Jay Sorg
8f05bee238
xrdp: add an option to do md5 bitmap hash for bitmap cache
11 years ago
Jay Sorg
da0d0e687a
reduce the memory needed for crc16 bitmap cache lists
11 years ago
Jay Sorg
f66c5911a2
xrdp: speed up bitmap cache lru using linked list
11 years ago
Jay Sorg
f94f5bec1c
xrdp: speed up bitmap cache lookup using hash table
11 years ago
speidy
8372cce84d
o libxrdp: fastpath output, added cursor and palette now updates
...
o xrdp.ini: changed default behavior: always new cursors, always use
fastpath input and output.
11 years ago
Laxmikant Rashinkar
ac6717e32e
fixed some connection issues when using xorg driver mode
11 years ago
Laxmikant Rashinkar
883650700f
added support for using Xorg driver model
11 years ago