Commit Graph

572 Commits (a8fcbf8c2dc48f0e015093e061c5b7efb63fbdc1)

Author SHA1 Message Date
Pavel Roskin 9cfe477f60 Document xserverbpp, add it to Xvnc section, remove from Xorg section
xserverbpp affects X11rdp and Xvnc, but not Xorg. No need to have
xserverbpp in the Xorg section where it has no effect. Add commented out
xserverbpp to Xvnc, some users may want to experiment with that setting.
8 years ago
jsorg71 bbae1a98c6 Merge pull request #523 from jsorg71/vpf
vnc: change password file to use guid hash
8 years ago
Pavel Roskin c759a1a645 Make configure show it's looking for "pixman", not "xrdp_pixman"
The pixman library in not part of xrdp. If users see that "xrdp_pixman"
is not found, they might assume it is some xrdp specific library.

The Automake conditional is still XRDP_PIXMAN, but the pkg-config
variables become PIXMAN_LIBS and PIXMAN_CFLAGS.
8 years ago
Jay Sorg 9a517b34f0 vnc: code cleanup 8 years ago
Jay Sorg 57905d71ad vnc: change password file to use guid hash 8 years ago
Itamar Reis Peixoto fb892c7d80 Merge pull request #516 from metalefty/keymaps
Adjust Japanese keymaps
8 years ago
Koichiro IWAO 9c31bd5cc4 unify Japanese keymap in xrdp_keyboard.ini 8 years ago
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 9 years ago
Alex Illsley 47124df4ed new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to implement 9 years ago
Jay Sorg bb7bac2d9b add region intersect 9 years ago
Jay Sorg 58c777783b add more advances region support using pixman 9 years ago
jsorg71 8353baab3d Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
9 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