Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to fedoraremix using remote desktop #170

Open
MrErr opened this issue Sep 3, 2022 · 4 comments
Open

Cannot connect to fedoraremix using remote desktop #170

MrErr opened this issue Sep 3, 2022 · 4 comments

Comments

@MrErr
Copy link

MrErr commented Sep 3, 2022

Describe the bug
Cannot connect to fedoraremix running in WSL using remote desktop.

To Reproduce
Steps to reproduce the behavior:

  1. Start "Fedora remix on WSL (SystemD)"
  2. start remote desktop.
  3. Connect to WSL ip address.
  4. remote desktop opens window and presents with log in screen.
  5. Enter username and password and it begins to login, then error happens.

Expected behavior
Gnome desktopis expected to run.

Screenshots
image

Additional context
Running in Windows 11 with all updates.

WLinux Version

wsl --status
Default Distribution: fedoraremix
Default Version: 2

Windows Subsystem for Linux was last updated on 8/28/2022
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.

Kernel version: 5.10.102.1

Windows Build

systeminfo | findstr /C:"OS^C
systeminfo | findstr /C:"OS"
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: American Megatrends International, LLC. 5.19, 10/11/2021

@crramirez
Copy link
Contributor

Hello @MrErr,

We will need more information on how you installed Gnome and xrdp. I suppose that you are following the guide on: https://www.whitewaterfoundry.com/blog/2022/4/16/announcing-built-in-systemd-support-in-fedora-remix-for-wsl

So, please check if you did every step mentioned there. Another cause is that the distributions in WSL2 share the network stack. Be sure you don't have another distro listening to the VNC port.

Regards,
Carlos

@MrErr
Copy link
Author

MrErr commented Jan 3, 2023

Sorry for the delayed reply.
I did follow the steps in the link provided.
There are no other distributions installed.

PS C:\Users\Sam Irlapati> wsl --list
Windows Subsystem for Linux Distributions:
fedoraremix (Default)
PS C:\Users\Sam Irlapati>

I noticed that a VNC windows is trying to open on display 10. How does it come up with that display?

@crramirez
Copy link
Contributor

Hello @MrErr

Display 10 is the one started by XRDP; it should be fine. Could you send me a screenshot of this VNC Window? Also run the command wsl --list --verbose and send me the result as well

Regards,

@MrErr
Copy link
Author

MrErr commented Jan 4, 2023

PS C:\Users\Sam Irlapati> wsl --list --verbose
NAME STATE VERSION

  • fedoraremix Running 2
    PS C:\Users\Sam Irlapati>

image

From the above image, it looks like it is using display 12.

Do you know if there are any log files created?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants