xRDP – xRDP version 0.9.18 has been released !!!

Hello World, 

We are happy to let you know that a new version of the xRDP software has been recently released by the software solution maintainer.  xRDP team tends to release new version every 3 to 4 months and make the release cycle predictable. 

Overview

As you probably know by now, xRDP software is basically the Linux implementation of the Remote desktop capabilities.   xRDP solution is based on basically 2 packages (i.e.xrdp and xorgxrdp) that have been recently updated and brings mainly bug fixing and some few new features. 

The bleeding edge version of xRDP packages are as of today the following 

    • xrdp version 0.9.18 has been released in January 10, 2022
    • xorgxrdp version 0.2.18 has been released in January 6, 2022

Your Linux Distribution will usually not ship with the latest version of the xRDP package.  So, if you want to use the latest version of xRDP, you will need to compile the software from sources.  You can also use our famous xrdp-installer script that simplifies and automate the installation.  (see https://www.c-nergy.be/products.html).  However, we think that we will need to update the script to accommodate certain changes made in this release  

You can find the releases notes for the xrdp, xorgxrdp and the pulseaudio-module-xrdp packages at the following location 

Point of interest in this release can be summarized as follow 

  • Running xrdp and xrdp-sesman on separate hosts is still supported by this release, but is now deprecated. 
  • Backgrounds and logos on the login screen can now be zoomed and scaled 
  • Remote drive redirection now works if printer redirection is also requested by the client
  • Some file names could not be copied from the client to the server over the clipboard. This is now fixed
  • A config value has been added which allows copy-pasting of files to work with Nautilus for GNOME 3 versions >= 3.29.92
  • Clipboard now works properly when files can’t be read 
  • pulseaudio-xrdp-modules installation process seems to have changed because of the fact that Pulseaudio 15 uses Meson compilation method

You can see that there is a number of bug fixes related to clipboard and drive redirection….. The fact that the pulseaudio xrdp module compilation process might have changed means that we will need to spend some time to assess, learn and adapt our xrdp-installer script… 

Final Notes

Since there is a new release of the xrdp package, xorgxrdp package and more importantly the change in the pulseaudio-xrdp-modules release,  we will need to review our current xrdp script and see if there is a need to adapt it in order to get the latest features and bug fixing available.  So, now you can imagine the amount of work in front of us….. A new release of Ubuntu will be soon available (i.e. 22.04),  xrdp software has released new packages and some are introducing important changes….. we will need time to integrate this in our next iteration of the script….This might not be an easy release (since we have so much work to do)  

Stay tuned…

Till Next time 

See ya

 

 

6 thoughts on “xRDP – xRDP version 0.9.18 has been released !!!

  1. Hello,

    Is there a new xRDP script under development for download that could be installed on Ubuntu 22.04? I am currently using Ubuntu 22.04 and sound re-direction is not working with xRDP session.

    Thank you for your great work.
    Regards,
    Tomk

  2. @Tomk,

    Thank you for visiting our blog and providing some feedback. Yes, indeed, we are working on the next iteration of the xrdp-installer script. The work is almost completed and we need to perform some more tests before releasing it in the wild. The script will be made available a few days after the release of Ubuntu 22.04

    The way to enable sound redirection has been slightly changed indeed. In two or three days, we will release a quick post explaining the changes introduced in the sound redirection process. Then after April 21, 2022, the new xrdp-installer script will be released and should fully support ubuntu 22.04 and ease sound redirection feature.

    if you really need to have sound redirection enabled right now, you can try this piece of code (We are assuming that you are running Ubuntu 22.04 Edition). This should enable sound redirection on your system
    use it at your own risk

    #---------------------------------------------------#
    # Function 12a - Enable Sound Redirection .... New way
    #---------------------------------------------------#
    enable_sound()
    {
    echo
    /bin/echo -e "\e[1;33m |-| Enabling Sound Redirection.... \e[0m"
    echo
    /bin/echo -e "\e[1;32m |-| Install additional packages.. \e[0m"
    sudo apt install build-essential dpkg-dev libpulse-dev git autoconf libtool -y
    echo
    /bin/echo -e "\e[1;32m |-| Compiling and building xRDP Sound modules... \e[0m"
    cd ~
    git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git
    cd pulseaudio-module-xrdp
    scripts/install_pulseaudio_sources_apt_wrapper.sh
    ./bootstrap && ./configure PULSE_DIR=~/pulseaudio.src
    make
    sudo make install
    ls $(pkg-config --variable=modlibexecdir libpulse) | grep xrdp

    }

    enable_sound

    Hope this help
    Till next time
    See ya

  3. Griffon ,

    Thank you for taking time to respond to my posting. I applied your code and the sound re-direction is working on Ubuntu 22.04 with xRDP session. How ever the sound quality is not very well and at times I have noticed very crackling sound. One thing I have to mention that I am trying something that most people don’t usually do. I am successfully running Ubuntu 22.04 with wsl 2 on Windows 11 with full Gnome 42 desktop. I have not expected miracle but most of the things are working well with xRDP session – only the biggest issue is the sound redirection. I tried Ubuntu 22.04 using vcxsrv and the sound quality is decent, how ever the ubuntu session crashes at times. In that regards xRDP session is much more stable.

    Thank you again. Your script is very promising and hopefully the crackling sound might be resolved with the final release of your script.

    Best regards from Canada.

    Tom King

  4. @Tom,

    Thank you for your feedback and to share your findings and experimentation. With Sound redirection, your mileage can vary. Indeed, on some installation we have really good sound quality (especially on Ubuntu 22.04 + pulseAudio 15.x and later) .. But indeed sometimes,we have a lot of crackling and stuttering sound quality. The fact that you are using WSL could explain the behavior (but not sure).. If you have time, give it a try with the coming xrdp-installer script and see if it’s better.
    Finally, there are some settings that can be used to tweak sound quality in xRDP (or PulseAudio config file) but we have also played a little bit with them but results are not making a real difference
    Keep us posted if you can do the test on WSL because we are kind of interested as well in this kind of scenario 🙂

    Till next time
    See ya

  5. Hello,
    We were wondering if you could help us use xRDP with Ldap accounts.
    ​
    The first login with PAM and remote account worked successfully, but the Second login with PAM (not working -Request never received on the authentication server. Same session number in PAM Logs which looks not correct.
    I can send you logs if you want…
    Regards,

  6. @Tarik,

    Thank you for visiting our blog and sharing your experience. We can try to help you but we never really looked into LDAP Accounts. We would need more information. Which LDAP software are you using (OpenLDAP, ActiveDirectory,…) Can you provide some logs..

    Waiting for your feedback
    Till next time
    See ya

Leave a Reply