Commit Graph

37 Commits

Author SHA1 Message Date
Marc-André Lureau
86a3e45904 rdp: default to server-cert/key.pem
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-12-17 16:15:31 +04:00
Marc-André Lureau
93770b989f rdp: check the display queue can be flushed too
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-12-10 18:36:41 +04:00
Marc-André Lureau
c3829847f0 rdp: update bus names
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-12-07 14:30:15 +04:00
Marc-André Lureau
6445ee03b8 rdp: add .ListenAddress property
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-12-03 16:01:55 +04:00
Marc-André Lureau
1927fffb21 rdp: lookup cert/key from .config by default
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-11-19 16:33:41 +04:00
Marc-André Lureau
3eabfc8e4b rdp: add "serve" subcommand, remotefx && --print-capabilities
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-11-05 18:26:30 +04:00
Marc-André Lureau
2432ee97f3 rdp: disconnect update listener when the client is gone
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-30 16:43:35 +04:00
Marc-André Lureau
3b282c440a rdp: use hybrid + credentials support
Credentials must be set with dbus, ex:

busctl --user call org.QemuDisplay /org/qemu_display/rdp org.QemuDisplay.RDP SetCredentials sss user pass ''

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-29 23:29:02 +04:00
Marc-André Lureau
62b6fb8d0a display/rdp: implement Unix.Map
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-25 17:46:59 +04:00
Marc-André Lureau
dd7a0d3f60 chore: update to zbus 5
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-25 17:44:44 +04:00
Marc-André Lureau
7740f2ffc6 rdp: make Listener cloneable
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-01 15:48:09 +04:00
Marc-André Lureau
0916e4de76 rdp: use tracing::debug 2024-10-01 15:48:09 +04:00
Marc-André Lureau
6c9acc27d1 rdp: make DisplayQueue cloneable
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-10-01 15:48:09 +04:00
Marc-André Lureau
fe1742d142 rdp: fix compile against current git 2024-09-09 17:50:14 +04:00
Marc-André Lureau
d6056111d9 rdp: update comments
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-28 13:50:48 +04:00
Marc-André Lureau
d328389ef7 rdp: fix cargo test 2024-08-28 13:43:16 +04:00
Marc-André Lureau
30184f9e6f rdp: fix Infaillible cast
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-28 12:20:40 +04:00
Marc-André Lureau
7b3d8f4baa rdp: don't attemt to reregister clipboard
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
6709f7392a rdp: use display queue
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
8d267d73fd rdp: add smart/filtering display queue
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
33925f23cf rdp: forward display resize event
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
6ad37b1f61 rdp: quit when dbus service is gone
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
b66058aefb Bump deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-08-20 11:16:53 +04:00
Marc-André Lureau
ccfef172f0 rdp: misc improvements
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 22:00:13 +04:00
Marc-André Lureau
5ee2b02221 chore: bump deps 2024-07-24 13:44:39 +04:00
Marc-André Lureau
1e7e3b921f qemu-rdp: add sound
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-24 12:53:48 +04:00
Marc-André Lureau
9def4f259c qemu-rdp: actually register dbus clipboard handler
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-23 12:44:33 +04:00
Marc-André Lureau
dc080909fe rdp: update to newer ironrdp
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-23 12:44:27 +04:00
Marc-André Lureau
7e78eee0e8 cargo fmt
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-07-23 10:27:39 +04:00
Marc-André Lureau
9bb790584e Bump Cargo.lock 2024-06-11 11:45:43 +04:00
Marc-André Lureau
9cd1267c55 qemu-rdp: add cursor shape support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:44:15 +04:00
Marc-André Lureau
1e0aa2b772 qemu-rdp: add basic clipboard
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:44:15 +04:00
Marc-André Lureau
192ed89593 qemu-rdp: add SSLKEYLOGFILE support
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:26:56 +04:00
Marc-André Lureau
0a68e1e08d qemu-rdp: some ConsoleListner improvements
- use pixman-sys
- reuse self.update() for scanout
- save a RDP DesktopSize for future resize usage
- add some tracing

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 14:03:08 +04:00
Marc-André Lureau
187f680599 qemu-rdp: simplify logging
Drop the --log-file argument, simply log to std.

Adjust environment name to follow IRONRDP_LOG style.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 13:01:37 +04:00
Marc-André Lureau
e03f2d80a6 qemu-rdp: fix compilation with current IronRDP
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2024-04-10 12:14:51 +04:00
mihneabuz
8c3b5e7cba qemu-rdp: initial rdp server 2024-04-09 19:02:25 +04:00