Windows 10: WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials

Discus and support WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials in Windows 10 Gaming to solve the problem; Hi,I'm using WSL with distribution Ubuntu-20.04 and need RDP access to the ubuntu desktop from my windows 10 enterprise, Build 19043.$ sudo... Discussion in 'Windows 10 Gaming' started by Frank.Leverenz, Feb 11, 2022.

  1. WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials


    Hi,I'm using WSL with distribution Ubuntu-20.04 and need RDP access to the ubuntu desktop from my windows 10 enterprise, Build 19043.$ sudo /etc/init.d/xrdp status * xrdp-sesman is running * xrdp is running After establishing a RDP Connection from Windows 10 "Remote Desktop" to ubuntu, I can see the ubuntu desktop login screen: see screenshotBut if I enter the user credentials, the remote desktiop terminates without error messagethe problem happens with Ubuntu-20.04 under WSL 1 ans WSL 2I've tested it with kubuntu-desktop and xubuntu-desktopI'm using display manager "lightdm" but it

    :)
     
    Frank.Leverenz, Feb 11, 2022
    #1
  2. MaloK Win User

    Creating RDP connection with no passwords

    Hi,

    Sorry but that is not possibe, as soon as you enable Terminal service. Password policies are automatically enforced on the machine.

    But you can Save your credential in the RDP connection and have it send them for you automatically.

    Launch mstsc. Click on show options, Enter Machine name, Select the Allow me to save credentials checkbox. Click Connect.
     
    MaloK, Feb 11, 2022
    #2
  3. Ubuntu terminal not displaying git messages correctly

    Hi Patrick,



    Thank you for writing to Microsoft Community Forums.



    I understand that the output for Ubuntu terminal is not showing properly for GIT commands.



    I suggest you to try re-enabling Windows Subsystem for Linux and then uninstalling and re-installing Ubuntu from Microsoft Store. Follow the steps to disable Windows Subsystem for Linux and uninstall Ubuntu.



    Disable Windows Subsystem for Linux:



    1. Press Windows key + R. This will open
      Run. Alternatively, you can go to Start and search for Run.
    2. In Run dialog box, type
      appwiz.cpl
      and hit enter.
    3. Now on the left hand pane click on
      Turn Windows features on or off.
    4. Now on the Windows feature window scroll down and uncheck the box next to
      Windows Subsystem for Linux.
    5. Click on OK and Restart the PC.


    Uninstall the Ubuntu app:



    1. Go to Settings >
      Apps > Apps & features.
    2. Now search for Ubuntu app.
    3. Click on the app and click on
      Uninstall
      .
    4. Follow the onscreen instructions.


    To enable the Windows Subsystem for Linux you can refer the article

    Windows Subsystem for Linux Installation Guide for Windows 10
    .



    If the issue persists, I suggest you to post your query on

    TechNet forums
    as they have dedicated support for issues related to Windows Subsystem for Linux.



    Hope it helps.



    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Feb 11, 2022
    #3
  4. Brink Win User

    WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials

    Announcing Ubuntu on Windows Community Preview for WSL 2

    Source: Announcing Ubuntu on Windows Community Preview – WSL 2 | Ubuntu


     
    Brink, Feb 11, 2022
    #4
Thema:

WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials

Loading...
  1. WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials - Similar Threads - WSL Ubuntu RDP

  2. Install Ubuntu on WSL

    in Windows 10 Gaming
    Install Ubuntu on WSL: Hi, I am trying to install Unbuntu via WSL. I have installed Windows Subsytem for Linux. When I run "wsl --list --online" this i what I get: "The following is a list of valid distributions that can be installed. Install using 'wsl --install -d <Distro>'. NAME FRIENDLY NAME...
  3. Install Ubuntu on WSL

    in Windows 10 Software and Apps
    Install Ubuntu on WSL: Hi, I am trying to install Unbuntu via WSL. I have installed Windows Subsytem for Linux. When I run "wsl --list --online" this i what I get: "The following is a list of valid distributions that can be installed. Install using 'wsl --install -d <Distro>'. NAME FRIENDLY NAME...
  4. Wsl Not installing ubuntu

    in Windows 10 Gaming
    Wsl Not installing ubuntu: one year ago i installed ubuntu and deleted is now i needed to install ubuntu wsl is not installing I have tried all the methods and deleted and reinstalled it many time but nothing happen I have reinstalled windows in new partition and tried to get wsl files and ext4.vdhx...
  5. Wsl Not installing ubuntu

    in Windows 10 Software and Apps
    Wsl Not installing ubuntu: one year ago i installed ubuntu and deleted is now i needed to install ubuntu wsl is not installing I have tried all the methods and deleted and reinstalled it many time but nothing happen I have reinstalled windows in new partition and tried to get wsl files and ext4.vdhx...
  6. WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials

    in Windows 10 Software and Apps
    WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials: Hi,I'm using WSL with distribution Ubuntu-20.04 and need RDP access to the ubuntu desktop from my windows 10 enterprise, Build 19043.$ sudo /etc/init.d/xrdp status * xrdp-sesman is running * xrdp is running After establishing a RDP Connection from Windows 10 "Remote Desktop"...
  7. WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials

    in Windows 10 Customization
    WSL Ubuntu-20.04: RDP Connection terminates after entering user credentials: Hi,I'm using WSL with distribution Ubuntu-20.04 and need RDP access to the ubuntu desktop from my windows 10 enterprise, Build 19043.$ sudo /etc/init.d/xrdp status * xrdp-sesman is running * xrdp is running After establishing a RDP Connection from Windows 10 "Remote Desktop"...
  8. Installing a Package in WSL - Ubuntu 20

    in Windows 10 Software and Apps
    Installing a Package in WSL - Ubuntu 20: I am running WSL version 1. I am trying to install mingw-w64, but it says it is unable to locate the package. How can I install this? I am running 1909. 183850
  9. Installing a Package in WSL - Ubuntu 20

    in Windows 10 Support
    Installing a Package in WSL - Ubuntu 20: I am running WSL version 1. I am trying to install mingw-w64, but it says it is unable to locate the package. How can I install this? I am running 1909. 183850
  10. WSL 2 Ubuntu

    in Windows 10 Customization
    WSL 2 Ubuntu: Hello Sir/Ma'am, I'm using Windows Subsystem for linux version 2 to use Ubuntu and recently I've found out that my Ubuntu terminal is not giving any output when I type "Who" command. Can anybody help me? Thank you....