summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chansrv: include display number in chansrv log filenameKoichiro IWAO2017-07-061-5/+5
| | | | | since xrdp-chansrv may be run multiple instances per user. For example, Xvnc backend creates one session per screen geometry.
* travis: enable build test on v0.9 branchKoichiro IWAO2017-07-061-1/+1
| | | | it is the latest stable branch.
* move openssl calls to common/libssl.c, check for definesJay Sorg2017-06-223-41/+92
|
* int function should returnKoichiro IWAO2017-06-201-0/+2
|
* sesman: exit with failure status if listen failedKoichiro IWAO2017-06-201-3/+55
|
* xrdp: exit main process with failure status if listen failed (daemon mode)Koichiro IWAO2017-06-203-1/+64
|
* xrdp: exit with failure status if listen failed (foreground mode)Koichiro IWAO2017-06-201-2/+11
|
* xrdp: xrdp_listen_main_loop pass through trans_listen_address return valueKoichiro IWAO2017-06-201-2/+3
|
* sesman: install empty reconnectwm.sh as a templateKoichiro IWAO2017-06-202-1/+5
| | | | | | as it was undocumented and few people know reconnectwm.sh is executed on client reconnect. The behaviour of startwm.sh / reconnectwm.sh should be documented. This is a first step of documenting them.
* add Spanish keylayoutKoichiro IWAO2017-06-171-0/+3
|
* common: implement g_file_readable for WIN32Koichiro IWAO2017-06-121-1/+1
|
* 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
|