Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
camrossi opened this issue Dec 23, 2024 · 1 comment
Open
1 task done

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

camrossi opened this issue Dec 23, 2024 · 1 comment

Comments

@camrossi
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant