Koichiro IWAO
08f847d74b
sesman: refactor, change variable names
...
session_variables1 -> env_names
session_variables2 -> env_values
Use the name used in callee function env_set_user(). The former names
are not clear.
2018-01-11 10:57:47 +09:00
Koichiro IWAO
dcf64e43ca
remove trailing space
2018-01-11 10:57:43 +09:00
Koichiro IWAO
f2db57afb0
fix indent
2018-01-09 14:09:13 +09:00
matt335672
3f2a017c97
Make listen check before daemon fork
2017-12-27 15:00:18 +00:00
Koichiro IWAO
256fa11951
update submodules to the latest release
2017-12-27 23:40:24 +09:00
Koichiro IWAO
060e04313b
Bump version to v0.9.5
2017-12-27 23:29:21 +09:00
Koichiro IWAO
8fee3c0f3f
Update NEWS for v0.9.5
2017-12-27 23:26:57 +09:00
Dominik George
53eccc93a2
Simplify pulseaudio module build instructions
2017-12-26 19:06:36 +09:00
Koichiro IWAO
001cb3e2c6
README: add a link to wiki, how to set up audio redirection
2017-12-26 09:26:51 +09:00
Koichiro IWAO
93481365d1
pulse: replace old pulse notes with bran-new README
2017-12-26 09:26:51 +09:00
Dominik George
3244cb59d5
Fix memory corruption introduced by CVE-2017-16927 fix.
2017-12-21 14:07:51 +09:00
cocoon
84c160725a
workaround for corrupted display with W2K8
...
workaround for corrupted display like black bars left of cmd with W2K8
2017-12-18 10:39:42 +09:00
Koichiro IWAO
d8bb32541a
sesman: bring Xorg at the top in sesman.ini
...
as Xorg prefered recommended backend now. Add more comments.
2017-12-16 00:27:06 +09:00
Koichiro IWAO
942bb6316a
add comment on sessions xrdp.ini
2017-12-16 00:27:06 +09:00
Koichiro IWAO
64a0deb9cf
sesman: comment on non-suid Xorg in sesman.ini
...
Pointed out by: #923
2017-12-16 00:27:06 +09:00
rkantos
cdba988f52
Update xrdp_keyboard.ini
...
Add the missing? Finnish rdp_layout_ definitions. Makes my install now work with Finnish keyboard layout. (same as Swedish)
2017-12-14 14:43:04 +09:00
Koichiro IWAO
a20d5c29e8
xrdp_caps: remove unneeded comment on case statement
2017-12-01 11:20:42 +09:00
Koichiro IWAO
64f15d6553
xrdp_caps: constify and sort capability set
2017-12-01 11:20:42 +09:00
Koichiro IWAO
577bd8214f
common: add more capset constants
...
defined at MS-RDPBCGR 2.2.1.13.1.1.1 [1] and sort
[1] https://msdn.microsoft.com/en-us/library/cc240486.aspx
2017-12-01 11:20:42 +09:00
Koichiro IWAO
77a34e0a7b
common: express capability set constants in hex
...
as same as done in MS-RDPBCGR 2.2.1.13.1.1.1 [1].
[1] https://msdn.microsoft.com/en-us/library/cc240486.aspx
2017-12-01 11:20:42 +09:00
Koichiro IWAO
788ae1467a
xrdp_sec: constify color depth value
2017-12-01 11:20:42 +09:00
Koichiro IWAO
8d951ab02e
xrdp_listen: suppress log when TRANS_STATUS_DOWN
...
The log is always logged when clients are disconnecting even though
nothing unusual is happening. This scares users too much. Actually,
some users created a issue on GitHub with the following log. It will
lose focus from the real error.
> [ERROR] Listening socket is in wrong state, terminating listener
2017-11-30 15:13:18 +09:00
Koichiro IWAO
fb8f0adcc4
remove useless braces
2017-11-30 15:13:18 +09:00
Koichiro IWAO
d0c27a2904
common: suppress log when closing log files
...
because if xrdp is running 'fork=yes' mode, the log message
'shutting down log subsystem...' is logged everytime when the child
process is exitting. In other words, everytime when clients are
disconnecting. This is a little bit too vebose.
2017-11-30 15:13:18 +09:00
speidy
d958d1f018
sesman: scpv0, accept variable length data fields
2017-11-28 09:04:25 +09:00
Koichiro IWAO
3de3a4fab5
common: add more references to constants' origin
...
classify constants into these 5 types
* constants for xrdp
* constants come from ITU-T Recommendations
* constants come from Remote Desktop Protocol
* constants come from other MS products
* unclassified yet
2017-11-24 21:45:48 +09:00
Koichiro IWAO
799c230998
common: add references to constants' origin
2017-11-24 21:45:48 +09:00
Jay Sorg
a9eb21e6d7
common: avoid 100% cpu on ssl accept, can be fake client
2017-11-22 16:17:34 -08:00
Justin Terry (VM)
d7d14d7462
Implements the accept/close logic for vsock
2017-11-17 20:23:20 -08:00
Koichiro IWAO
929a7c359d
chansrv: add LOG_LEVEL_TRACE here, too
2017-11-12 22:27:46 +09:00
Koichiro IWAO
4885a071b4
travis: add build test on FDK AAC, Opus
2017-11-12 10:22:36 +09:00
Jay Sorg
bc48578a90
remove crc16.h from common/Makefile.am
2017-11-09 21:13:53 -08:00
Jay Sorg
54285d26dd
remove empty crc16.h file
2017-11-09 21:13:53 -08:00
Jay Sorg
285465a1f5
common, return -1 for bad socket
2017-11-07 18:20:45 -08:00
Jay Sorg
c6c513b23c
use g_memcpy, braces
2017-11-07 18:20:45 -08:00
Jay Sorg
26507644e3
vsock, move some defines
2017-11-07 18:20:45 -08:00
Justin Terry (VM)
50bd624cc4
Implements XRDP over vsock
...
1. Implements the ability to use AV_VSOCK for the transport rather than TCP.
2. Updates the ini file to be able to conditionally turn this feature on.
2017-11-07 18:20:45 -08:00
Koichiro IWAO
3d29b6ec76
sound: g_bbuf_size should be determined after codec is determined
...
Fixes #910 , if both client and server support more than one codecs,
g_bbuf_size might be set to wrong value.
2017-11-08 08:57:52 +09:00
Koichiro IWAO
a6fd518a48
fix typo s/Roration/Rotation/
2017-11-06 16:18:42 +09:00
Koichiro IWAO
2475893402
Constify extended mouse events
2017-11-06 16:18:42 +09:00
Koichiro IWAO
27aef96e81
Constify mouse event flags, use the MS name for constants
2017-11-06 16:18:42 +09:00
Koichiro IWAO
8e7e54e49f
xrdp_wm: handle horizontal mouse wheel events
2017-11-06 16:18:42 +09:00
Koichiro IWAO
903a2bf83a
xrdp_wm: make mouse button 6 and 7 act like button 4 and 5
...
because 6 and 7 are horizontal scroll. They should acts as same as
vertical scroll.
2017-11-06 16:18:42 +09:00
Koichiro IWAO
391c69731c
libxrdp: advertise horizontal mouse wheel capability
2017-11-06 16:18:42 +09:00
Koichiro IWAO
4a2818e183
Add some more Input Capability Set constants
2017-11-06 16:18:42 +09:00
Soedarsono
3c3eb9ed73
Add dvorak keyboard layout
2017-11-01 10:24:54 -07:00
Ben Cohen
b9ff75e50e
xrdp-ssh-agent: Remove vim modeline
2017-10-17 14:34:25 +09:00
Ben Cohen
a2b008f63e
xrdp-ssh-agent.c: Fix braces for coding style
2017-10-17 14:34:25 +09:00
Ben Cohen
6fb3fcfc66
Handle EINTR for send() in handle_connection()
2017-10-17 14:34:25 +09:00
Ben Cohen
1d5aa8cc97
Forward ssh-agent data between ssh clients and RDP
...
Add xrdp-ssh-agent.c which forwards ssh-agent protocol over an RDP
dynamic virtual channel, just as the normal ssh-agent forwards it over
an SSH channel.
Usage:
Run an RDP client with the corresponding plugin enabled; for example
"xfreerdp /ssh-agent ...".
In the remote desktop session run xrdp-ssh-agent and evaluate the output
in the shell as for ssh-agent to set the required environment variables
(specifically $SSH_AUTH_SOCK):
eval "$(xrdp-ssh-agent -s)"
This is the same as for the normal ssh-agent. You would typically do
this in your Xsession or /etc/xrdp/startwm.sh.
Limitations:
1. Error checking and handling could be improved.
2. This stays running when the xrdp session closes. This should be
fixed using a command line argument as for the real ssh-agent.
3. This is only tested on Linux and will only work on systems where
clients talk to the ssh-agent via Unix domain sockets. It won't
currently work on Windows but it could be ported.
2017-10-17 14:34:25 +09:00