# RDP Connection to Ubuntu 24.04 fails with disconnect reason = 2

**URL:** https://community.royalapps.com/t/rdp-connection-to-ubuntu-24-04-fails-with-disconnect-reason-2/158
**Category:** Royal TS (for Windows)
**Tags:** documentation
**Created:** [June 3, 2024, 7:01am UTC](https://community.royalapps.com/t/rdp-connection-to-ubuntu-24-04-fails-with-disconnect-reason-2/158 "2024-06-03T07:01:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://community.royalapps.com/user_avatar/community.royalapps.com/system/32/244_2.png) [@system](https://community.royalapps.com/u/system)
#### Post date: [June 3, 2024, 7:01am UTC](https://community.royalapps.com/t/rdp-connection-to-ubuntu-24-04-fails-with-disconnect-reason-2/158/1 "2024-06-03T07:01:07Z")

</div>

In case you are trying to connect to an Ubuntu 24.04 and the connection fails with “disconnect reason = 2”, please activate the “Use Redirection Server Name” setting, found in the “Remote Desktop \> Advanced \> Connection” section as shown here:

 ![](https://community.royalapps.com/uploads/default/original/1X/52b60e76d7df15ff8a820dd6bacf1abf06fc26c2.png)

Thank you to our user Jose for bringing this to our attention.
