Commit Graph

643 Commits (c7d08bd9e7bcd00b11328537319ec7748a797574)

Author SHA1 Message Date
Koichiro IWAO 5def0596e0 int function should return 8 years ago
Koichiro IWAO 1d89000d90 xrdp: exit main process with failure status if listen failed (daemon mode) 8 years ago
Koichiro IWAO 7aad2c83c6 xrdp: exit with failure status if listen failed (foreground mode) 8 years ago
Koichiro IWAO 252cb20365 xrdp: xrdp_listen_main_loop pass through trans_listen_address return value 8 years ago
Koichiro IWAO 606984baad add Spanish keylayout 8 years ago
Koichiro IWAO 0299d64fa8 sort xrdp_keyboard.ini 8 years ago
Ben Cohen bb9756f6c5 Fix UK/GB keyboard layout
The UK/GB keyboard doesn't work properly connecting to xrdp with xorgxrdp.
It does work when connecting to xrdp with x11vnc, however.

This is because the layout is not declared in xrdp_keyboard.ini.  It needs
to be called "gb" not "uk".  (There are other layouts that have
km-nnnn.ini files that aren't declared in xrdp_keyboard.ini, so they might
have the same bug, but I haven't tested that.  This is analagous to the
commits for the "ch" and "pl" layouts.)

Test case:

1. Use a PC with the UK/GB keyboard layout.

2. Create /etc/xrdp/startwm.sh as follows:

     #!/bin/sh
     export LANG=en_GB.UTF-8
     export MDM_LANG=en_GB.UTF-8
     export XTERM_LOCALE=en_GB.UTF-8
     xterm
     exit 0

3. Connect using rdesktop to localhost (from a session where the same
   environment variables are defined).

4. Test layout-specific keys such as:
      \ (backslash)
      | (bar)
      # (numbersign)
      ~ (asciitilde)
      £ (sterling: Shift-3)
      € (EuroSign: AltGr-4)

These keys should produce the appropriate symbol but they don't.  With
the change in this commit the keys produce the correct symbol.
8 years ago
Koichiro IWAO 84596e7392 Pick up the first section if given section(domain) doesn't match anything
As some clinents (AFAIK Windows 10) always send domain name, the backend
module is not selected properly. This causes the default usage with
Windows 10 fails with 'xrdp_wm_log_msg: Section "XXX" not configured'.
8 years ago
Koichiro IWAO 0e7844ab02 Constify MCS connectionType 8 years ago
Pavel Roskin 148afd1170 Rename file_loc.h to xrdp_sockets.h, install it
Include xrdp_sockets.h directly, not through headers.
8 years ago
Pavel Roskin 43899b7e0c Allocate space for tls_ciphers dynamically 8 years ago
Pavel Roskin 58c9cb43e9 Make socket directory configurable, don't hardcode /tmp/.xrdp
Use XRDP_SOCKET_PATH in file_loc.h

Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.

Define all paths unconditionally, they should not be defined elsewhere.

Pass XRDP_SOCKET_PATH as environment variable to the backends.
8 years ago
Koichiro IWAO a2d9272bc9 Propel xorgxrdp as default backend, give xorgxrdp the first place 8 years ago
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 8 years ago
Pavel Roskin 8be83473b7 Call log_end() on xrdp exit 8 years ago
Jay Sorg 3f14559822 frame ack code cleanup, add comments for possible client acks, when pointer, use NULL, not 0 8 years ago
Jay Sorg 3ac0120fe7 add xrdp_mm_process_enc_done for processing encoder output 8 years ago
Jay Sorg e0583f606a checkup frame ack code, combine dup code 8 years ago
Jay Sorg 3b056ec052 frame ack fix change, cleanup 8 years ago
Pavel Roskin 30a7a947b1 Don't include config_ac.h from any header files 8 years ago
Pavel Roskin b2d3dcf169 Include config_ac.h from all source files 8 years ago
Koichiro IWAO 849c1a22a2 TLS: switch ssl_protocols to a comma separated list 8 years ago
Koichiro IWAO 03b5be5fd0 docs: document maximum length of tls_ciphers 8 years ago
Koichiro IWAO e94ab10e14 TLS: new method to specify SSL/TLS version
SSL/TLS protocols only listed in ssl_protocols should be used.
The name "ssl_protocols" comes from nginx.

Resolves #428.
8 years ago
Jay Sorg b8c79452f6 encoder, remove check for UINT16_MAX, not really needed 8 years ago
Jay Sorg 79796b77b7 changes and cleanup to process_enc_rfx 8 years ago
Jay Sorg 8c0dcbbd4f fix for frames in flight = 0 8 years ago
Jay Sorg 815b9b8bb8 frame ack change for slow client falling behind 8 years ago
Jay Sorg fde04e802c rfx fixes for large tile sets, performance change, Xorg will start next frame earlier 8 years ago
Jay Sorg 7825246d7a fix warning new since stdint.h change 8 years ago
Koichiro IWAO 2424a9c020 Workaround for a regression of JP keyboard detection #663
caused by 9c31bd5.  This is not a complete fix but just a workaround
because keylayout value of Japanese keyboard can be other than these
4 values. This workaround still doesn't cover all JP keyboards.

  - 0x00000411
  - 0xe0010411
  - 0xe0200411
  - 0xe0210411

Looking for `0411` in lower 16 bits is enough to detect JP keyboards.
8 years ago
Pavel Roskin 8a1de8dbc4 Remove trailing whitespace 8 years ago
Pavel Roskin 130fa12845 Don't use ACCESS macro
ACCESS is defined unconditionally in the files that use it. No comments
exist about that macro. The code guarded by the macro is PAM related.
8 years ago
Pavel Roskin 0bb048d35e Fix several cases of discarding return values 8 years ago
Idan Freiberg 6a5f90ca6e Merge pull request #636 from proski/painter
Fix incorrect argument to painter_line()
8 years ago
Idan Freiberg 482671fd18 Merge pull request #625 from speidy/proxy_session_info
Pass session info in proxy mode
8 years ago
Pavel Roskin 6807b616ed Fix incorrect argument to painter_line() 8 years ago
Pavel Roskin 2b614ed4ab Remove librdp.so sources, it's obsoleted by neutrinordp
Remove "rdp-any" section from xrdp.ini.
8 years ago
Pavel Roskin 0799523c13 List shorthand versions of command line switches in the help text 8 years ago
Pavel Roskin 9d162d7301 Implement "-n" alias for "--nodaemon" as documented in the manpage 8 years ago
Idan Freiberg a64e1789c5 Merge pull request #615 from speidy/channels_fixes
Channels improvements
8 years ago
Jay Sorg 6f74efa70a add session_info
Conflicts:
	libxrdp/libxrdp.h
8 years ago
Pavel Roskin d46a26c1c3 Don't call file_read_section() on unitialized section name
This can only happen if xrdp.ini is corrupted and has no sections for
backends.
8 years ago
Pavel Roskin b8ed23daab Constify the value argument to mod_set_param 8 years ago
Ricardo Duarte a959a9f851 Move mouse before click 8 years ago
speidy a82d412754 libxrdp: channels, respect xrdp.ini channel blocking also for data
coming in from chansrv
8 years ago
jsorg71 15a24ff1c4 Merge pull request #612 from proski/includes
Use <> for system includes, move system includes above local ones
8 years ago
jsorg71 5194311d9d Merge pull request #611 from volth/support-enable-xrdpdebug=yes-2
fix build with --enable-xrdpdebug=yes
8 years ago
Pavel Roskin 7ba3610787 Use <> for system includes, move system includes above local ones 8 years ago
volth 26a26ef906 fix build with --enable-xrdpdebug=yes 8 years ago