summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use the words "cannot read" rather than "cannot open"Koichiro IWAO2017-06-121-2/+2
| | | | as the code actually tests readability.
* Check certificate/privkey readability not existenceKoichiro IWAO2017-06-121-7/+7
| | | | to fail RDP security negotiation if certificate/privkey is not readable
* Log user-friendly message when certificate/privkey is inaccessibleKoichiro IWAO2017-06-123-0/+25
| | | | | | | | | | | | We shouldn't assume that xrdp daemon is running under root privilege. In many cases, root privilege is not really needed for xrdp daemon. xrdp may fail to load certificate/privkey due to lack of permissions when running under user privilege. Checking existence of files is not enough and xrdp should output user-friendly log in such case. Reported by Debian user in bug 856436 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856436
* sort xrdp_keyboard.iniKoichiro IWAO2017-06-091-7/+7
|
* Fix UK/GB keyboard layoutBen Cohen2017-06-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Pick up the first section if given section(domain) doesn't match anythingKoichiro IWAO2017-06-071-25/+43
| | | | | | 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'.
* Constify MCS connectionTypeKoichiro IWAO2017-06-062-1/+10
|
* add TODO commentsKoichiro IWAO2017-05-311-0/+1
|
* instfiles: substitute directories in systemd service filesKoichiro IWAO2017-05-315-35/+55
| | | | | Do not expect prefix is always /usr. /usr/local is often used when users compile xrdp manually.
* configure: fix confusing help text about painter and librfxcodecKoichiro IWAO2017-05-231-2/+2
| | | | | | | | | | | | | | painter and librfxcodec are enabled by default. --disable-* options disables them. Before: --disable-painter Use included painter library (default: yes) --disable-rfxcodec Use included librfxcodec library (default: yes) After: --disable-painter Do not use included painter library (default: no) --disable-rfxcodec Do not use included librfxcodec library (default: no)
* ignore *.so (pulseaudio modules)Koichiro IWAO2017-05-161-0/+1
|
* pulse: respect XRDP_SOCKET_PATH environment variableKoichiro IWAO2017-05-163-6/+18
|
* sesman: pass xrdp socket path to user sessionKoichiro IWAO2017-05-161-0/+2
| | | | via environment variable.
* common: separate sockets macros into basename and fullpathKoichiro IWAO2017-05-161-6/+15
| | | | since sometimes socket directory is obtained from environment variable.
* common: if SSL_shutdown fails, only call one more timeJay Sorg2017-05-101-1/+1
|
* common: ssl_tls_write / read return 0 on socket closeJay Sorg2017-05-101-0/+8
|
* startwm.sh: do not call pseudo shell code for /etc/X11/xdm/XsessionFuminobu TAKEYAMA2017-05-091-31/+37
| | | | | | Since /etc/X11/xdm/Xsession calls user's login shell, startwm.sh should not execute the pseudo code; It causes to execute ~/.profile twice.
* Removed error message while falling back to IPv4 (issue #714)MichaelSweden2017-04-251-2/+1
|
* Fix to handle OS disabled IPv6, issue #714.MichaelSweden2017-04-251-124/+228
| | | | | | | | | - Changes made only in the os_calls.c file. - Exported functions changed: g_tcp_bind g_tcp_bind_address g_tcp_connect - Support three network configurations: 1) Normal network, with IPv6 2) Partly disabled IPv6 via sysctl.conf 3) Total disabled IPv6 via grub
* pulse: define default socket directory in MakefileKoichiro IWAO2017-04-061-1/+4
|
* sesman: LOGNAME should be set to usernameKoichiro IWAO2017-04-061-0/+1
| | | | | | | | | | | which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes #725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
* update submodules to their release tag head commitspeidy2017-03-302-0/+0
|
* Bump version number to v0.9.2speidy2017-03-303-3/+3
|
* update NEWS file for v0.9.2 releasespeidy2017-03-301-0/+23
|
* Rename file_loc.h to xrdp_sockets.h, install itPavel Roskin2017-03-2813-14/+13
| | | | Include xrdp_sockets.h directly, not through headers.
* Remove readme.txt, it has been replaced by README.mdPavel Roskin2017-03-272-4/+0
|
* xrdp_orders_rail: fix resulting unicode lengthspeidy2017-03-241-1/+1
|
* libxrdp: window update, simplify length checksspeidy2017-03-241-35/+26
|
* xrdp_orders_rail: fix g_mbstowcs error handlingspeidy2017-03-241-4/+20
|
* RAIL: use fixed size length for window textsspeidy2017-03-241-6/+9
|
* rail, text length checksJay Sorg2017-03-241-0/+4
|
* rail, text length checksJay Sorg2017-03-241-5/+12
|
* pulse: refer correct path to file_loc.hKoichiro IWAO2017-03-242-2/+2
|
* pulse: use correct macro for audio in/out socketsKoichiro IWAO2017-03-242-2/+2
|
* libxrdp: print connected client name to logspeidy2017-03-212-1/+5
|
* libxrdp: fix misleading variable namespeidy2017-03-211-8/+8
|
* libxrdp: improve unicode_inspeidy2017-03-211-25/+35
|
* Log socket fd in g_sck_accept(), fix AF_UNIX loggingPavel Roskin2017-03-211-4/+17
|
* sesman: move auth/pam calls to main processJay Sorg2017-03-213-9/+26
|
* Allocate space for tls_ciphers dynamicallyPavel Roskin2017-03-214-5/+6
|
* xrdp-chansrv: default to INFO log level rather than ERRORPavel Roskin2017-03-201-1/+1
|
* sesman: remove sessvc, one less process to manageJay Sorg2017-03-1910-363/+137
|
* X11rdp: respect XRDP_SOCKET_PATH environment variablePavel Roskin2017-03-174-8/+30
|
* Make socket directory configurable, don't hardcode /tmp/.xrdpPavel Roskin2017-03-1717-57/+41
| | | | | | | | | | 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.
* Remove chansrv_cleanup(), it doesn't do anything usefulPavel Roskin2017-03-171-25/+0
| | | | | | | | | | | | | xrdp_chansrv_%8.8x_main_term and xrdp_chansrv_%8.8x_thread_done are both wait objects, not sockets. They are created and cleaned up in chansrv.c Wait objects are pairs of file descriptors on POSIX. They are closed automatically when the process exits. On Windows, wait objects are handles that are closed by CloseHandle(). Those handles should also be closed on the process exit. In any case, there is no way for a parent process to clean up file handles of the child process.
* Propel xorgxrdp as default backend, give xorgxrdp the first placeKoichiro IWAO2017-03-171-7/+7
|
* chansrv: dvc, check channel exists on get/remove api structspeidy2017-03-161-2/+4
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-14122-2047/+2034
|
* Call log_end() on xrdp exitPavel Roskin2017-03-131-0/+1
|
* Fix memory leak in tls_ciphers parsingPavel Roskin2017-03-131-0/+1
|