summaryrefslogtreecommitdiffstats
path: root/xrdp
Commit message (Collapse)AuthorAgeFilesLines
* xrdp: corret the config file name in the commentFelix Zhang2017-10-091-1/+1
|
* xrdp: get port from configfile in access_control()Oscar Salvador2017-10-031-1/+3
| | | | This fixes #894
* xrdp: constify input event typeKoichiro IWAO2017-10-021-5/+5
|
* Fixes #414cocoon2017-09-171-1/+1
|
* xrdp: accept full path for ls_background_imageKoichiro IWAO2017-09-051-1/+9
| | | | because ls_logo_filename accepts full path.
* add Belgian keyboardKoichiro IWAO2017-09-011-0/+3
|
* don't use hard coded constant valuesKoichiro IWAO2017-08-011-8/+13
|
* use g_free()Koichiro IWAO2017-08-011-2/+2
|
* move base64 functions to base64.cKoichiro IWAO2017-08-011-1/+1
|
* decode base64 login window parameterKoichiro IWAO2017-08-011-2/+26
| | | | | | | | | | | such as prefill username and password: username=ask{base64}YmFzZTY0 username={base64}YmFzZTY0 password=ask{base64}YmFzZTs2NCFwYXNzd29yZCM= password={base64}YmFzZTs2NCFwYXNzd29yZCM= ';', '#', '!' means comment in .ini files. If prefill username or password contains such symbols, these can be provided base64 encoded.
* Allow UDS connection from non-root usersBen Cohen2017-07-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you run xrdp with a Unix Domain Socket (UDS) for the port specified in /etc/xrdp/xrdp.ini then only root can connect to it. Test case: 1. Edit /etc/xrdp/xrdp.ini to set "port=/var/run/xrdp-local.socket". 2. Restart xrdp. 3. Run the following, as a non-root user. socat TCP-LISTEN:12345 UNIX-CONNECT:/var/run/xrdp-local.socket & rdesktop localhost:12345 Expected behaviour: rdesktop starts up and displays the logon dialog. Observed behaviour: rdesktop exits with "ERROR: Connection closed" and socat exits with "Permission denied". (But it suceeds if root runs socat.) UDS files are created by trans_listen_address() and given permissions 0660, so only root can connect to it. In this case, for the RDP client connection, it it fine for any user to connect so it should be given permissions 0666. Note that this is only relevant when the port in /etc/xrdp/xrdp.ini has been set to create a UDS instead of a TCP socket. When a TCP port is created any user (including remote users, unless the loopback interface is used) can connect so this is not less secure.
* Fix Xvnc backend disconnects when some data copied to clipboardKoichiro IWAO2017-07-061-1/+6
| | | | Should fix #755.
* int function should returnKoichiro IWAO2017-06-201-0/+2
|
* 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
|
* add Spanish keylayoutKoichiro IWAO2017-06-171-0/+3
|
* 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-061-1/+1
|
* Rename file_loc.h to xrdp_sockets.h, install itPavel Roskin2017-03-282-1/+1
| | | | Include xrdp_sockets.h directly, not through headers.
* Allocate space for tls_ciphers dynamicallyPavel Roskin2017-03-211-1/+1
|
* Make socket directory configurable, don't hardcode /tmp/.xrdpPavel Roskin2017-03-171-0/+1
| | | | | | | | | | 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.
* Propel xorgxrdp as default backend, give xorgxrdp the first placeKoichiro IWAO2017-03-171-7/+7
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-1417-425/+425
|
* Call log_end() on xrdp exitPavel Roskin2017-03-131-0/+1
|
* frame ack code cleanup, add comments for possible client acks, when pointer, ↵Jay Sorg2017-03-061-12/+18
| | | | use NULL, not 0
* add xrdp_mm_process_enc_done for processing encoder outputJay Sorg2017-03-061-66/+65
|
* checkup frame ack code, combine dup codeJay Sorg2017-03-061-25/+35
|
* frame ack fix change, cleanupJay Sorg2017-03-063-4/+8
|
* Don't include config_ac.h from any header filesPavel Roskin2017-03-041-3/+0
|
* Include config_ac.h from all source filesPavel Roskin2017-03-0414-0/+56
|
* TLS: switch ssl_protocols to a comma separated listKoichiro IWAO2017-02-271-2/+2
|
* docs: document maximum length of tls_ciphersKoichiro IWAO2017-02-271-1/+1
|
* TLS: new method to specify SSL/TLS versionKoichiro IWAO2017-02-271-2/+3
| | | | | | | SSL/TLS protocols only listed in ssl_protocols should be used. The name "ssl_protocols" comes from nginx. Resolves #428.
* encoder, remove check for UINT16_MAX, not really neededJay Sorg2017-02-221-2/+1
|
* changes and cleanup to process_enc_rfxJay Sorg2017-02-222-51/+67
|
* fix for frames in flight = 0Jay Sorg2017-02-221-1/+1
|
* frame ack change for slow client falling behindJay Sorg2017-02-221-2/+2
|
* rfx fixes for large tile sets, performance change, Xorg will start next ↵Jay Sorg2017-02-222-4/+18
| | | | frame earlier
* fix warning new since stdint.h changeJay Sorg2017-02-222-3/+5
|
* Workaround for a regression of JP keyboard detection #663Koichiro IWAO2017-02-161-0/+3
| | | | | | | | | | | | | 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.
* Remove trailing whitespacePavel Roskin2017-02-081-1/+1
|
* Don't use ACCESS macroPavel Roskin2017-02-022-20/+2
| | | | | 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.
* Fix several cases of discarding return valuesPavel Roskin2017-01-251-10/+40
|
* Merge pull request #636 from proski/painterIdan Freiberg2017-01-231-1/+1
|\ | | | | Fix incorrect argument to painter_line()
| * Fix incorrect argument to painter_line()Pavel Roskin2017-01-211-1/+1
| |
* | Merge pull request #625 from speidy/proxy_session_infoIdan Freiberg2017-01-233-1/+18
|\ \ | |/ |/| Pass session info in proxy mode
| * add session_infoJay Sorg2017-01-153-1/+18
| | | | | | | | | | Conflicts: libxrdp/libxrdp.h