Skip to content

[BUG] DBus hostname1 permission error #37

Description

@neo2l33t

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The Selkies web UI loads successfully and the remote desktop stream starts, but Bambu Studio itself does not remain open. On container start, the Bambu Studio window appears briefly, then disappears/exits.

The logs show the container launching Bambu Studio as:

/opt/bambustudio/bin/bambu-studio

but DBus reports:

dbus-daemon[432]: [system] Activating service name='org.freedesktop.hostname1' requested by ':1.12' (uid=99 pid=562 comm="/opt/bambustudio/bin/bambu-studio") (using servicehelper)
dbus-daemon[432]: [system] Activated service 'org.freedesktop.hostname1' failed: Failed to execute program org.freedesktop.hostname1: Permission denied

The container also logs:

No desktop processes found to terminate.

Selkies continues running, but Bambu Studio is not usable in the browser.

Expected Behavior

No response

Steps To Reproduce

Deploy lscr.io/linuxserver/bambustudio on Unraid.
Use PUID=99, PGID=100, PIXELFLUX_WAYLAND=true, AUTO_GPU=true, DRI_NODE=/dev/dri/renderD128, DRINODE=/dev/dri/renderD128.
Start the container.
Open the WebUI on HTTPS port 3001.
Observe Selkies loads, but Bambu Studio flashes briefly and exits.

Environment

Host OS: Unraid
Container image: lscr.io/linuxserver/bambustudio
Linuxserver.io version: v02.07.01.57-ls149
Build-date: 2026-06-06T08:12:37+00:00
PUID: 99
PGID: 100
GPU: NVIDIA GeForce GTX 1080
NVIDIA driver: 580.159.04
CUDA version shown by nvidia-smi: 13.0

CPU architecture

x86-64

Docker creation

docker run -d \
  --name='bambustudio' \
  --net='bridge' \
  --pids-limit 2048 \
  -e TZ="Europe/Warsaw" \
  -e HOST_OS="Unraid" \
  -e HOST_HOSTNAME="box" \
  -e HOST_CONTAINERNAME="bambustudio" \
  -e DARK_MODE="true" \
  -e AUTO_GPU="true" \
  -e DRI_NODE="/dev/dri/renderD128" \
  -e PIXELFLUX_WAYLAND="true" \
  -e DRINODE="/dev/dri/renderD128" \
  -e PUID="99" \
  -e PGID="100" \
  -e UMASK="002" \
  -p '3002:3000/tcp' \
  -p '3001:3001/tcp' \
  -v '/mnt/user/appdata/bambustudio':'/config':'rw' \
  --shm-size=1gb \
  lscr.io/linuxserver/bambustudio

Container logs

Linuxserver.io version: v02.07.01.57-ls149
Build-date: 2026-06-06T08:12:37+00:00
...
**** NVIDIA GPU detected ****
**** Setting up OpenCL ICD for NVIDIA ****
**** Setting up EGL vendor file for NVIDIA ****
**** Fixing GBM library linkage ****
...
No desktop processes found to terminate.
...
dbus-daemon[432]: [system] Activating service name='org.freedesktop.hostname1' requested by ':1.12' (uid=99 pid=562 comm="/opt/bambustudio/bin/bambu-studio") (using servicehelper)
dbus-daemon[432]: [system] Activated service 'org.freedesktop.hostname1' failed: Failed to execute program org.freedesktop.hostname1: Permission denied



[Wayland] AUTO_GPU enabled. Selected: /dev/dri/renderD128
[Wayland] Initializing GL Renderer using device: /dev/dri/renderD128
[Wayland] GPU Initialization failed: Failed to create EGL display. Falling back to Software Renderer (Pixman).
[Wayland] CPU encoding selected (use_cpu=true or vaapi_node=-1).
[Wayland] Decision: No GPU Encoder available -> Using CPU Software Encoding.
Mode: H264 (CPU) FullFrame

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions