docker-webtop icon indicating copy to clipboard operation
docker-webtop copied to clipboard

[BUG] Black Screen with GPU + KDE

Open Ashkaan opened this issue 1 year ago • 15 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

I just get a black screen when accessing the webtop when I use any distro with KDE. I can't control anything or make anything happen on screen.

Expected Behavior

I should see a desktop.

Steps To Reproduce

docker compose up

Environment

- OS: TrueNAS 24.10
- How docker service was installed: built-in

CPU architecture

x86-64

Docker creation

name: webtop
services:
  webtop:
    container_name: webtop
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities:
                - compute
                - video
                - graphics
                - utility
    environment:
      - PUID=3000
      - PGID=3000
      - TZ=America/Los_Angeles
      - TITLE=Ashkaan's Fedora
    image: lscr.io/linuxserver/webtop:ubuntu-kde
    network_mode: bridge
    ports:
      - 3000:3000
    restart: unless-stopped
    security_opt:
      - seccomp:unconfined
    shm_size: 1gb
    volumes:
      - /mnt/pool/docker/webtop:/config
      - /etc/resolv.conf:/etc/resolv.conf:ro
networks:
  bridge: {}


### Container logs

```bash
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Ashkaan avatar Nov 16 '24 07:11 Ashkaan

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

github-actions[bot] avatar Nov 16 '24 07:11 github-actions[bot]

I have the same issue. After cancel nvidia setup, this issue disappear.

Or downgrade webtop to ubuntu-jammy (before 22.04.24)

I guess my host is ubuntu-jammy(instead of noble), so maybe run high-version ubuntu will cause this?

dfldylan avatar Nov 21 '24 08:11 dfldylan

#243 same here

dfldylan avatar Nov 23 '24 02:11 dfldylan

Does debian-kde work with the same settings?

thelamer avatar Nov 23 '24 03:11 thelamer

No, it doesn't. In fact, neither does ubuntu-xfce anymore, which did work on a previous version.

Ashkaan avatar Dec 06 '24 18:12 Ashkaan

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Jan 06 '25 11:01 LinuxServer-CI

Hey team, this container is still not working for me. What can we do to fix the issue?

Ashkaan avatar Jan 06 '25 15:01 Ashkaan

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Feb 07 '25 11:02 LinuxServer-CI

I was able to work around this issue by doing a podman exec -it <container_name> bash and manually executing the startwm.sh script inside /defaults

Another way I was able to work around this issue was by starting the desktop wm manually as well.

real-limitless avatar Mar 06 '25 18:03 real-limitless

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Apr 07 '25 11:04 LinuxServer-CI

I'm new to webtop and having the same issue. It worked flawlessly and worked instantly without much configuration on pretty much all hosts but not so on a machine running Kubuntu KDE.

While writing this, suddenly the desktop just appeard and seems to be working. I did an test by restarting the container - turns out it just takes really really long (about 5 minutes) to come up while on all other hosts (even ones with less performance) it's nearly instant.

Xitee1 avatar May 01 '25 12:05 Xitee1

The black screen is not a bug, it is a normal behavior implement by kasmvnc to indicate the GPU driver is not correct. Often this is because, when using KDE, the host for nvidia card, don't use the open source driver.

mg-dev25 avatar May 01 '25 12:05 mg-dev25

Oh I think I'm not having the exact same issue, this here is related to GPU. I do not even try to use a GPU. It just takes really long to start displaying a picture on this specific host and I can't figure out what is wrong. There's nothing in the logs that differs from the other hosts. Super annoying having to wait 5+ minutes after doing a restart of the container.

Xitee1 avatar May 02 '25 19:05 Xitee1

@Xitee1 You need to share the yml docker compose file, for us to help you.

mg-dev25 avatar May 03 '25 07:05 mg-dev25

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar Jun 02 '25 11:06 LinuxServer-CI

Images have been completely overhauled, if you still have an issue open a new one.

thelamer avatar Jun 17 '25 21:06 thelamer

This issue is locked due to inactivity

LinuxServer-CI avatar Jul 18 '25 11:07 LinuxServer-CI