Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Virtual Desktop Infrastructure by xrdp

metalefty
October 22, 2017

Virtual Desktop Infrastructure by xrdp

at openSUSE.Asia Summit 2017 Tokyo

metalefty

October 22, 2017
Tweet

More Decks by metalefty

Other Decks in Technology

Transcript

  1. What we will learn today • About me • What

    is xrdp? • Why xrdp? • Architecture of xrdp • How is xrdp working? • Audio redirection • RemoteFX • Commercial support & sponsoring
  2. Who am I? • The “xrdp” User's Group of Japan

    Founder • xrdp user since 2009 (0.4.0 was my first xrdp) • xrdp contributor since 2013 • xrdp developer since 2016 • FreeNX user looooong ago
  3. What do I do? • improve FreeBSD compatibility • improve

    stability • improve security (fail2ban support WIP) • fix CJK or non-ASCII related bugs • xrdp release management – nothing special, when time comes, just release :)
  4. Why become an xrdp developer? • I am a user

    of both FreeBSD and xrdp • xrdp couldn't be compiled on FreeBSD before • No more FreeBSD local patches to unbreak builds • “Upstream First” policy – submit lots of PRs, bugfixes • Motivation of making xrdp FreeBSD compatible, because I'm a xrdp user on FreeBSD!
  5. What is xrdp? An open source server implementation of Microsoft

    Remote Desktop Protocol for Linux or other UNIX-like systems
  6. Using Linux Desktop on Laptop able to use Wi-Fi/Bluetooth? can

    suspend/hibernate? fingerprint reader? touchpad? spend time what you really want to do
  7. Linux Desktop on Laptop is a struggle • I don't

    want to manage: – Wi-Fi chip is Broadcom BCM****, the driver is found at… – compatibility with new hardware – everytime when I renew my laptop! • Linux Laptop is a struggle, BSD is a bigger struggle! • Relieve from such struggles! I know it almost works fine, though...
  8. Using Linux Desktop via VDI outsoursing computing power longer battery

    life can be connected anywhere, any client requires a little bit wider network bandwidth
  9. xrdp • the main service of xrdp • accepts TCP

    connection from clients • speaks Remote Desktop Protocol
  10. This set of drivers/modules is called “xorgxrdp” xorgxrdp A set

    of drivers enabling pre- existing X.Org install to communicate with xrdp
  11. How is xrdp working? xrdp 3389/tcp Alice Bob Tom sesman

    Alice's session Bob's session Tom's session xorgxrdp sesman manages which instance of xorgxrdp is who's session Firefox LibreOffice
  12. Wayland? • Nothing's being done so far • Maybe some

    xorgxrdp parts are reusable • Someday in the future
  13. Audio redirection • Supported, but needs additional pulseaudio modules –

    built in SUSE? if not, let's add it • xrdp v0.9.4 supports following codecs – LPCM, Opus, MP3, AAC (still experimental) • Requires client support – Windows client supports MP3 and AAC – FreeRDP supports LPCM only so far
  14. Graphics remoting • xrdp supports several graphics codecs – classic

    – NSCodec – RemoteFX – Adaptive RemoteFX is not supported yet • RemoteFX is the best in most usecases – smooth scrolling, smooth video playback
  15. Commercial support for xrdp HAW International Inc. provides commercial support

    in Japan MIRACLE LINUX is one of customers (MIRACLE LINUX is known as Cybertrust Japan since Oct. 2017)
  16. Achievement #1 GitHub Issue #399 copy/paste not working if content

    is not english text or filename Typical multibyte character/locale bug The path part of full path wasn't percent decoded
  17. Achievement #2 GitHub Issue xorgxrdp#60 Implement disconnected timeout Kill disconnected

    session after timeout This feature had been implemented to x11rdp but not to xorgxrdp Both bugs are fixed with cooperation of HAW International and MIRACLE LINUX.
  18. Sponsoring • Any kind of contributions/donations are welcomed • Each

    developer have different specialty – bugs related to Asian locales, ask me – I am the only developer from Asia
  19. Offering paid work on xrdp or need commercial support, find

    me on LinkedIn! linkedin.com/in/kiwao
  20. Questions? • To be in time for flight, I must

    leave here 5 pm • If any questions, ask me before 5 pm • Typhoon is coming from south west • My flight towards west :(