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

xrdp has stopped working inside Docker #13216

Open
3 tasks done
danchitnis opened this issue Feb 3, 2023 · 4 comments
Open
3 tasks done

xrdp has stopped working inside Docker #13216

danchitnis opened this issue Feb 3, 2023 · 4 comments

Comments

@danchitnis
Copy link

danchitnis commented Feb 3, 2023

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: 69CC8BF4-D5F1-4A5F-97B9-6C659C62E500/20230203130908

Actual behavior

Hello, I just updated to the latest version of docker, and my container-xrdp has stopped working. The same goes for urdxp. These containers have been working for some years now. The error seems that xrdp cannot open or listen to the port inside docker. I was initially unsure where the error was originating from, so I created an issue in here since I thought it might be related to AF_VSOCK. The error seems to be a port binding failure.

Expected behavior

Port 33890 should be open and accessible via RDP.

Information

  • Windows Version: 11 (22623.1245)
  • Docker Desktop Version: 4.16.3 (96739)
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Steps to reproduce the behaviour

docker run -it -p 33890:3389 danchitnis/xrdp:ubuntu-xfce foo bar yes

@hainghia
Copy link

hainghia commented Mar 2, 2023

I got the same error for PostgresQL on Docker: 4.17.0

@lngr
Copy link

lngr commented Apr 20, 2023

The problem persists with 4.18.0 and Postgres, ad mentioned in #13229

@estebandlp
Copy link

I had the same issue with Postgres.

The problem in my case was I had the Postgres Server running on Windows.

Go to Service Management, and stop that service!

I hope that helps.

@lngr
Copy link

lngr commented Apr 24, 2023

Port bindings on the host should not interfere with port bindings of containers.

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

5 participants