Skip to content

[BUG] Error: cannot open display: :1.0 - proot apps not starting  #283

@camrossi

Description

@camrossi

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Since I upgraded to the latest version (Apline) the proot apps are not starting anymore.

Firefox will display "Error: cannot open display: :1.0"
Chrome: Doesn't start no message
Audacity: Doesn't start no message

However installing the apps via APK makes them all work perfectly fine. I tested with these ones only but I have the feeling is a proot-app wide issue.

Expected Behavior

The proot apps should start.

Steps To Reproduce

Install the last version of webtop

Environment

- OS: Kubernetes on ARM64

CPU architecture

arm64

Docker creation

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: webtop
  labels:
    app: webtop
spec:
  replicas: 1
  strategy:
    type: Recreate
  selector:
    matchLabels:
      app: webtop
  template:
    metadata:
      labels:
        app: webtop
        name: webtop
    spec:
      nodeSelector:
        kubernetes.io/hostname: "rk1-4"
      #affinity:
      #  nodeAffinity:
      #    requiredDuringSchedulingIgnoredDuringExecution:
      #      nodeSelectorTerms:
      #      - matchExpressions:
      #        - key: kubernetes.io/hostname
      #          operator: NotIn
      #          values:
      #          - rpi4-1
      containers:
      - name: webtop
        image: lscr.io/linuxserver/webtop:latest
        imagePullPolicy: Always
        securityContext:
          privileged: true
          runAsGroup: 0
          runAsUser: 0
        env:
        - name: TZ
          value: "Australia/Sydney"
        - name: DRINODE
          value: "/dev/dri/renderD128"
        volumeMounts:
        - name: config
          mountPath: "/config"
        - name: dri
          mountPath: /dev/dri
      volumes:
      - name: config
        persistentVolumeClaim:
          claimName: config
      - name: dri
        hostPath:
          path: /dev/dri

Container logs

~ klf webtop-847766c4bf-z8llx
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    911
User GID:    911
───────────────────────────────────────
...+.....+++++++++++++++++++++++++++++++++++++++*..+.+..+...+....+...+...+.....+......+...+...+...+.........+...+.......+......+...........+..........+...+..+...+..........+.....+......+.+..............+++++++++++++++++++++++++++++++++++++++*.+.+..............+....+..+..........+.....+.........+...+.+.....+.........+...+...+.+...+........+.......+........+.......+...+..+.+......+........+.......+.........+..+....+......+...+...........+.+.........+......+..+.......+.........+..+........................+..........+.........+.........+..+...+...............+.+..+...+......+......++++++
.+....+++++++++++++++++++++++++++++++++++++++*...+.+.........+.....+..........+.....+.............+..+.+.....+.......+........+.+...........+.......+...+..+.+..+.........+...+......+....+.....+++++++++++++++++++++++++++++++++++++++*...+......+...+.......+.....+..................+.......+...+...........+.........+...+.......++++++
-----
**** adding /dev/dri/renderD128 to video group root with id 0 ****
**** permissions for /dev/dri/card0 are good ****
**** permissions for /dev/dri/card1 are good ****
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[ls.io-init] done.

Xvnc KasmVNC 1.3.3 - built Dec 15 2024 19:06:42
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12101014

[mi] mieq: warning: overriding existing handler 0 with 0xaaaaca794008 for event 2
[mi] mieq: warning: overriding existing handler 0 with 0xaaaaca794008 for event 3
19


time="2024-12-24T09:33:47.426295520+11:00" level=error msg="failed to mount overlay: invalid argument" storage-driver=overlay2
 2024-12-24 09:34:09,523 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-12-24 09:34:09,544 [PRIO] Connections: accepted: @108.162.249.31_1734993249.523570::websocket
xvnc_get_formats
xvnc_get_formats
xvnc_get_formats

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions