Commit Graph

128 Commits

Author SHA1 Message Date
matt335672 8fb5bd9096 Add keyring support for Debian and Arch
Adds optional calls to GNOME and KDE keyrings for Debian and Arch.

Also upstreams a current Debian patch to call pam_env.so
2023-08-30 12:37:44 +01:00
Daniel Richard G 9bf78e4a80 Add syscall filtering to xrdp systemd unit 2023-06-09 03:33:52 -04:00
Daniel Richard G e199dba32f Simplify interaction with systemd 2023-05-15 11:05:35 -04:00
Yifan J 8be6bc137e Make pam.d directory configurable 2023-02-21 09:50:46 +08:00
matt335672 ee8c4ddc2f Add xrdp-sesman.system to distributed files
Distributed file list also now sorted for ease of checking
2022-12-12 19:41:39 +00:00
matt335672 3a0a932472 Add --reload option to sesman
Adds a --reload switch to sesman and plumbs this in
to systemctl reload xrdp-sesman.service
2022-11-09 09:46:36 +00:00
Mosakuji Hokuto 4ff968bc98
Update pamdir_suse to accommodate with TW pam.d move (#2413)
On newer builds of openSUSE tumbleweed the path of pam.d has moved from
/usr/etc/pam.d to /usr/lib/pam.d, which prevents install script to
correctly guess pam rules. Updating path in mkpamrules solves the
problem.
2022-11-08 10:05:55 +00:00
a1346054 59f8d9fe07
fix some shellcheck warnings 2022-09-03 02:05:08 +00:00
a1346054 7fe18cc1c0
fix typos 2022-09-03 02:01:48 +00:00
Roland Kaufmann a9eb5a17d2 Detect and setup Programmer Dvorak keyboard layout
This patch will add the keyboard layout identifier for the Programmer
Dvorak keyboard layout, so that if a Windows client has that layout
active, it will be mapped to the corresponding xkeyboard-config layout
in the X server.

An XFreeRDP client knows about this layout too, and will correspondingly
map it to the identifier given here, making the layout propagate
correctly through X-to-X connections as well.

To replicate the full Windows keyboard layout several options have to
be set as well as the main layout. To avoid having these options spill
over to other layouts that are dumped, the old settings are stored
before the dump and then restored afterwards.
2020-08-26 17:55:25 +02:00
matt335672 2ec9720612 mkpamrules now supports Slackware 2020-04-26 17:27:19 +01:00
Koichiro IWAO a20f99d3d1
Remove xrdp.sh from Makefile and document as well 2019-12-11 17:09:08 +09:00
Koichiro IWAO 5fc804c67d
remove unmaintained xrdp.sh
It is not maintained since it is added and outdated now.
2019-12-11 09:46:18 +09:00
Yifan J 732d663c70 mkpamrules: Support openSUSE's usage of /usr/etc/pam.d
to contain the pam configuration files:

https://lists.opensuse.org/opensuse-factory/2019-08/msg00113.html
2019-11-13 11:13:07 +08:00
netromnetrom ee1c24dd47
Update Makefile.am 2019-02-05 16:54:38 +01:00
netromnetrom 09dc942d3e
Create km-00000406.ini 2019-02-05 16:53:35 +01:00
Koichiro IWAO 258a7a12ac
add Spanish (Latin Amarican) keyboard
Closes #1237.
2018-11-01 09:24:51 +09:00
Koichiro IWAO 72b5088449
FreeBSD: separate rc script into xrdp and xrdp-sesman
to improve fscd(8)[1] compatibility. fscd(8) monitors daemons and
restarts after daemons crashed. We usually want to start, stop, and
restart xrdp and xrdp-sesman separately because restarting xrdp-sesman
means losing existing sessions. This change will enable fscd(8) not to
restart xrdp-sesman together when only xrdp daemon crashes.

Now rc.d/xrdp mainly has following commands:

* start      - starts xrdp
* stop       - stops xrdp
* restart    - stops xrdp, then starts it again
* allstart   - starts both xrdp and xrdp-sesman
* allstop    - stops both
* allrestart - stops both, then start them again
* status     - returns status of xrdp

rc.d/xrdp-sesman doesn't have all- prefixed commands.

[1] https://www.freshports.org/sysutils/fsc/
2018-05-30 01:27:23 +09:00
Boris Bopp e875cd2af5 instfiles: Add pam.d config for arch linux. 2018-03-27 12:42:51 +09:00
Vraiment 09712d70ad Added PAM support for MacOS 2018-02-07 21:21:59 +09:00
Soedarsono 3c3eb9ed73 Add dvorak keyboard layout 2017-11-01 10:24:54 -07:00
Koichiro IWAO 22dc148802 instfiles: don't include generated *.services files in distribution
Solves #848.
Pointed out by: Fuminobu TAKEYAMA (@ftake)
2017-08-16 13:50:52 +09:00
Koichiro IWAO 9f8a902476 Add a pam file for FreeBSD
as existing xrdp-sesman.unix doesn't suit FreeBSD.
2017-07-21 14:04:50 +09:00
Koichiro IWAO e879cf5fce add TODO comments 2017-05-31 16:27:23 +09:00
Koichiro IWAO bedf04cd9f instfiles: substitute directories in systemd service files
Do not expect prefix is always /usr. /usr/local is often used when users
compile xrdp manually.
2017-05-31 16:27:23 +09:00
Pavel Roskin 8a1de8dbc4 Remove trailing whitespace 2017-02-08 13:30:56 +09:00
Dominik George 5b2364196c Some fixes/improvements to service files. (#646)
* Add Documentation field so the systemctl help command works.
 * Remove syslog.target as syslog is normally socket-activated now.
2017-01-30 20:15:43 -02:00
Pavel Roskin 409623a65f Change BindTo to BindsTo, it was renamed in systemd long time ago
BindTo was left for compatibility.

https://lists.freedesktop.org/archives/systemd-commits/2012-July/002272.html
2017-01-20 09:05:00 -08:00
Pavel Roskin 8799bbac42 Allow PAM file selection in configure, improve autodetection, add SUSE
Use easy to understand names for config files (debian, redhat, suse,
unix). Move all autodetection to a separate script.
2017-01-15 00:57:59 -08:00
speidy 93c55e58a8 Merge branch 'devel' of https://github.com/neutrinolabs/xrdp
Conflicts:
	xorgxrdp
2016-12-22 12:04:29 -05:00
Pavel Roskin c21b9a78f4 Distribute all files except git and github specific data
It is better to distribute a few useless file than not to distribute
needed files.
2016-12-18 00:00:11 -08:00
Westporch be58f2d547 Sort alphabetically 2016-12-14 15:27:03 +09:00
Westporch 2bac73eba3 Add Korean keymap 2016-12-14 14:41:11 +09:00
Westporch 4681a06f6a Add Korean keymap 2016-12-14 14:33:00 +09:00
Koichiro IWAO d1dc5b7814 instfiles: unify km-*0411.ini into km-00000411.ini
as they're identical and no longer need to duplicate them after
commit 5725200.
2016-11-30 18:38:41 +09:00
Koichiro IWAO cab8955ea4 add Finnish keyboard
Closes #70
2016-11-02 14:49:47 +09:00
Koichiro IWAO f62b55c547 switch newly added keymaps to 8 hex digit 2016-10-24 15:21:14 +09:00
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.
2016-10-24 15:19:23 +09:00
Itamar Reis Peixoto d4f350758b add km-040a.ini keyboard 2016-10-21 16:33:57 -02:00
Itamar Reis Peixoto b70f372a87 add keymap-names.txt 2016-10-21 16:30:06 -02:00
Pavel Roskin 7e8863b0f2 Add UK English keyboard and code to generate it 2016-09-05 22:12:17 -07:00
Pavel Roskin b63575cebc Create and install rsakeys.ini
Use install-data-hook to ensure restrictive permissions on rsakeys.ini.

Don't create rsakeys.ini in init scripts. This makes xrdp functional upon
"make install" without relying on the init scripts.

Packagers should not package rsakeys.ini, it should be created when the
package is installed.
2016-02-23 22:33:28 -08:00
Pavel Roskin 22e6f3e2f7 Use SCRIPTS for executable scripts, don't use "chmod 755" 2016-02-22 23:13:16 -08:00
Pavel Roskin 7642675ddf Use "dist_" prefix to minimize use of EXTRA_DIST
"dist" is ignored in presense of "noinst", so keep noinst_man_MANS.
2016-02-22 22:11:57 -08:00
Pavel Roskin afa6ec97cc Install the most appropriate PAM settings file
Installing a file referring to common-auth is of no use if that file
doesn't exit.

Don't use "password" entry, xrdp doesn't ever change user password.
2016-02-13 18:44:28 -08:00
Pavel Roskin 9a1dea8e50 Fix sloppy formatting in instfiles/Makefile.am
Use spaces around = and +=, indent by 2 spaces.
2016-02-12 23:52:45 -08:00
Itamar Reis Peixoto 94ca3516b1 Merge pull request #310 from noldor/devel
update japanese keyboard "Henkan_Mode" key and "Muhenkan" key
2016-02-08 22:45:22 -02:00
Pavel Roskin 02c981e796 More spelling fixes found by codespell and aspell 2016-01-30 17:39:25 -08:00
noldor 1fb706c0fc update japanese keyboard "Henkan_Mode" key and "Muhenkan" key 2016-01-30 21:35:20 +09:00
Pavel Roskin dac8bf728a PIDDIR should be /var/run, not /var/run/xrdp
There are no references to /var/run/xrdp anywhere else in the code.
2016-01-14 16:32:09 +00:00