Windows 10: Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...

Discus and support Use of Remote Desktop causes WSL using ubuntu to close and all processes background and... in Windows 10 Software and Apps to solve the problem; HiI have a computer with a decent processor and I am using WSL2 with Ubuntu to run the WRF model which works well. I want to be able to log into this... Discussion in 'Windows 10 Software and Apps' started by Iain Cowan, Jul 18, 2024.

  1. Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...


    HiI have a computer with a decent processor and I am using WSL2 with Ubuntu to run the WRF model which works well. I want to be able to log into this computer using remote desktop from my laptop, so that I can log in and check model runs wherever I am. What I have found is that if I set the WRF model running with background and foreground processes and then close the remote desktop window the process and the WSL2 keeps running. If I open the remote desktop connection again immediately everything is there. If I wait a period of time before connecting using remote desktop again say half hou

    :)
     
    Iain Cowan, Jul 18, 2024
    #1

  2. Is Service on wsl running on background ?

    Hello I am new on wsl / wsl2 here, currently I am using win 11, if I'm using wsl2 on my windows, let say using ubuntu distro, and I'm running service on my wsl ubuntu like postgre, mongo, mysql, docker, rabbit-mq, will these services run in the background? even if I don't open wsl ubuntu ? I'm just worried that services running are eating up my resources, but I'd be happy if they weren't running in the background.
     
    Rizlan Nawfal Tamima, Jul 18, 2024
    #2
  3. wsl installation nightmare

    Hey guys,

    Haven't been able to install wsl on windows. Here's a summary of my pain:

    PS C:\Users\[me]> wsl -d Ubuntu-22.04

    There is no distribution with the supplied name. Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND

    PS C:\Users\[me]> wsl --install -d Ubuntu-22.04

    Ubuntu 22.04 LTS is already installed.

    Launching Ubuntu 22.04 LTS...

    The operation completed successfully.

    PS C:\Users\[me]> wsl -l -v

    Windows Subsystem for Linux has no installed distributions.

    Use 'wsl.exe --list --online' to list available distributions and 'wsl.exe --install ' to install.

    Distributions can also be installed by visiting the Microsoft Store: https://aka.ms/wslstore

    Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

    Whenever it does "successfully" launch, it just flashes a terminal on the screen for half a second and immediately closes. Then some background process called WSL lives on in the task manager, though it uses no resources.

    The only way I could download it originally was through the command

    wsl --install -d Ubuntu-22.04 --web-download

    Trying to install through windows store or the above command without web-download just timed out.

    This is a new Win11 pc, fully updated. I have restarted it multiple times and re-enabled the optional features for vm / wsl / hypervisor.

    I also can't seem to download anything from the windows store. I thought this may be a firewall issue, but it has permissions in the firewall settings and disabling the firewall seems to have no impact.

    If I remove both installations (WSL & Ubuntu 22.04), I can try this:

    PS C:\Users\tyler> wsl --install -d Ubuntu-22.04

    Installing: Ubuntu 22.04 LTS
    An error occurred during installation. Distribution Name: 'Ubuntu 22.04 LTS' Error Code: 0x80072ee2

    Happens regardless of DNS status to 8.8.8.8 (google) or firewall enabled/disabled (fixes recommended elsewhere).
     
    Tyler Nuanes, Jul 18, 2024
    #3
  4. Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...

    Cannot connect to XRDP running in WSL via Remote Desktop

    Hi there!

    I have WSL 2 with Ubuntu running with an XRDP server, and Remote Desktop Connection allows me to connect just fine. Unfortunately Remote Desktop Connection has a known bug where it does not relay Ctrl+Alt+Arrow which is a key combination I would like to
    use, so I installed Remote Desktop from the Windows Store. But when connecting to localhost:3390, I get the following error after a couple seconds:

    Disconnect code: ReplacedByOtherConnection, legacy code: 0x204, legacy extended code: 0x0, activityId: {8ffb7434-9c76-4c1c-a8cc-d23dc8920000}

    As mentioned, connecting to the same address via Remote Desktop Connection works just fine.

    First I thought maybe this has to do with trying both at the same time, but even after closing Remote Desktop Connection and restarting the PC, I get the same problem.

    What can I do?

    Best,

    Daniel
     
    DanielBartholomae, Jul 18, 2024
    #4
Thema:

Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...

Loading...
  1. Use of Remote Desktop causes WSL using ubuntu to close and all processes background and... - Similar Threads - Remote Desktop causes

  2. Remote desktop closes

    in Windows 10 Software and Apps
    Remote desktop closes: OS Windows 11 Pro 24H2 on Domain.Was working before today.Now it closes right after login https://answers.microsoft.com/en-us/windows/forum/all/remote-desktop-closes/bd9ad99f-2754-41a8-9434-00422e28d2d0
  3. Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...

    in Windows 10 Gaming
    Use of Remote Desktop causes WSL using ubuntu to close and all processes background and...: HiI have a computer with a decent processor and I am using WSL2 with Ubuntu to run the WRF model which works well. I want to be able to log into this computer using remote desktop from my laptop, so that I can log in and check model runs wherever I am. What I have found is...
  4. WSL 2 - Can't install Ubuntu 22.04 - Can't use any Ubuntu with WSL 2

    in Windows 10 Software and Apps
    WSL 2 - Can't install Ubuntu 22.04 - Can't use any Ubuntu with WSL 2: Hi! I did a clean install of Win 11 Pro yesterday. I did Windows update and I'm current.I tried to use WSL and install Ubuntu 22.04 with the new GUI. I'm a developer and this is the reason I went to Windows 11!When I install from the store it dies while unpacking with a...
  5. WSL 2 - Can't install Ubuntu 22.04 - Can't use any Ubuntu with WSL 2

    in Windows 10 Gaming
    WSL 2 - Can't install Ubuntu 22.04 - Can't use any Ubuntu with WSL 2: Hi! I did a clean install of Win 11 Pro yesterday. I did Windows update and I'm current.I tried to use WSL and install Ubuntu 22.04 with the new GUI. I'm a developer and this is the reason I went to Windows 11!When I install from the store it dies while unpacking with a...
  6. Booting Remote PC using Remote Desktop?

    in Windows 10 Network and Sharing
    Booting Remote PC using Remote Desktop?: I have a remote PC (W10 Pro) and it is connected to my local house network by WiFi. It controls some equipment in a remote shed, and normally does not have a monitor/keyboard or mouse connected to it. I would like to switch it on in the shed (possibly using an internet mains...
  7. Remote Desktop recurring use

    in Windows 10 Network and Sharing
    Remote Desktop recurring use: Hi all. I am currently using TeamViewer to help my family with their semi-regular computer needs. Regular enough, I suppose, that TeamViewer detected 'commercial use' (even though mostly what I do is install drivers and updates on my family members' computers. I cannot...
  8. WSL - Ubuntu - How do you use it?

    in Windows 10 Software and Apps
    WSL - Ubuntu - How do you use it?: Hello, I've installed WSL Ubuntu on Windows 10. How on earth do you use it? I've got a Laravel project that I was running using Laragon and running NPM on Windows is not the best, npm run watch takes forever - I have Elementary OS installed as a partition and use Laravel...
  9. WSL - Ubuntu - How do you use it?

    in Windows 10 Support
    WSL - Ubuntu - How do you use it?: Hello, I've installed WSL Ubuntu on Windows 10. How on earth do you use it? I've got a Laravel project that I was running using Laragon and running NPM on Windows is not the best, npm run watch takes forever - I have Elementary OS installed as a partition and use Laravel...
  10. Using Remote Desktop

    in Windows 10 Network and Sharing
    Using Remote Desktop: I have Windows 10 home on my desktop and absolutely need to remote into it from my laptop. Apparently you can't do this with windows 10 unless you upgrade to pro which isn't free of charge. Do I need to go back to windows 8 in order to do this?...