Skip to content

xvnc failed to start #157

@PeterTerpe

Description

@PeterTerpe

Describe the bug

Process keeps restarting due to xvnc timeout:

sdvd-server       | [xvnc          ] Args:  "-nolisten" "tcp" "-nolisten" "local" "-listen" "unix" "-geometry" "1280x800" "-depth" "24" "-rfbport=5900" "-UseIPv6=yes" "-rfbunixpath=/tmp/vnc.sock" "-rfbunixmode=0660" "-SecurityTypes=None" "-desktop=Stardew Dedicated Server" ":0"
sdvd-server       | [xvnc          ] Xvnc TigerVNC 1.11.0 - built 2022-01-26 17:59
sdvd-server       | [xvnc          ] Copyright (C) 1999-2020 TigerVNC Team and many others (see README.rst)
sdvd-server       | [xvnc          ] See https://www.tigervnc.org for information on TigerVNC.
sdvd-server       | [xvnc          ] Underlying X server release 12011000, The X.Org Foundation
sdvd-server       | [xvnc          ] Sat Jan 31 02:41:40 2026
sdvd-server       | [xvnc          ]  vncext:      VNC extension running!
sdvd-server       | [xvnc          ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
sdvd-server       | [xvnc          ]  vncext:      created VNC server for screen 0
sdvd-server       | [supervisor    ] service 'xvnc' failed to be started: not ready after 10000 msec, giving up.
sdvd-server       | [supervisor    ] stopping service 'xvnc'...
sdvd-server       | [xvnc          ] Sat Jan 31 02:41:50 2026
sdvd-server       | [xvnc          ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
sdvd-server       | [xvnc          ]  ComparingUpdateTracker: (1:-nan ratio)
sdvd-server       | [supervisor    ] service 'xvnc' exited (with status 0).
sdvd-server       | [supervisor    ] stopping service 'dbus'...
sdvd-server       | [supervisor    ] service 'dbus' exited (with status 0).
sdvd-server       | [finish      ] executing container finish scripts...
sdvd-server       | [finish      ] all container finish scripts executed.
sdvd-server exited with code 1 (restarting)

Steps to reproduce

  1. Download docker-compose.yml and .env from github
  2. In docker-compose.yml, change the tag of images in docker-compose.yml to preview due to the lack of latest tag
  3. In docker-compose.yml, change the network from sdvd-net to host. Because my server is in China, I need to use proxy to connect with steam, and on my setup the proxy cannot proxy bridge network.
  4. Start the server with docker compose up -d

Expected behavior

Start without xvnc timeout.

Additional context

No response

Final checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions