container-xrdp icon indicating copy to clipboard operation
container-xrdp copied to clipboard

ubuntu latest showing blank screen

Open vkovelkar opened this issue 2 years ago • 10 comments

I updated just ubuntu latest image and run the docker command/ it showing blank screen while longing into the remote desktop

vkovelkar avatar Jan 05 '23 12:01 vkovelkar

while building image in local .. i am getting below error.

W: Download is performed unsandboxed as root as file 'pulseaudio_15.99.1+dfsg1-1ubuntu2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) Fetched 1540 kB in 0s (4070 kB/s) Removing intermediate container 0546ed47407d ---> fab7a13620e7 Step 9/18 : RUN cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure ---> Running in a9ac73ee988c /bin/sh: 1: cd: can't cd to /pulseaudio-15.99.1 The command '/bin/sh -c cd /pulseaudio-$(pulseaudio --version | awk '{print $2}') && ./configure' returned a non-zero code: 2

vkovelkar avatar Jan 05 '23 14:01 vkovelkar

@vkovelkar I just built and tested ubuntu-xfce with no problem. What are the commands that you are using to build the image?

danchitnis avatar Jan 05 '23 23:01 danchitnis

@danchitnis I download whole master branch and I try to build the image but am getting above error. command : " docker build -t ubuntu:xdp ."

vkovelkar avatar Jan 09 '23 08:01 vkovelkar

This is not the correct command. Are you following this? It is best to build it in Linux. If you still have errors during the build, then you have to upload the docker build logs here. Another option is to pull the image, and then update it inside the virtual environment like normal ubuntu.

danchitnis avatar Jan 09 '23 18:01 danchitnis

I see the same issue with the Ubuntu version on dockerhub. After login there is a black screen and mouse pointer, but nothing else.

toastie89 avatar Feb 02 '23 13:02 toastie89

@toastie89 can you run fedora or amazon? or is it only ubuntu?

danchitnis avatar Feb 02 '23 18:02 danchitnis

Same with the Fedora image. On the same host with the same RDP client the image from danielguerra69/ubuntu-xrdp runs fine. I'll try tomorrow with another host.

toastie89 avatar Feb 02 '23 18:02 toastie89

Not sure what is going on. On my machine with the new Docker doesn't work at all. On my other machine with old Docker runs but has your blank screen problem which generally means a bug has appeared among xrdp and its related packages. I should have kept the old images. I will update whenever I get it working again.

danchitnis avatar Feb 02 '23 21:02 danchitnis

issue reported here and here with Docker v4.16.3. You need to change the RDP port on Windows using the instruction here until the bug is fixed. Other than your Docker or WSL version might be too old. The containers run without problems other than the mentioned bug.

danchitnis avatar Feb 12 '23 21:02 danchitnis

I've verified with a more recent docker host and the issue doesn't exist there.

toastie89 avatar Feb 27 '23 15:02 toastie89