# Can not Get the PI Screen to work on a PI 5 and the Browser Block

**URL:** <https://forums.balena.io/t/can-not-get-the-pi-screen-to-work-on-a-pi-5-and-the-browser-block/373868>\
**Category:** Project help\
**Created:** [March 15, 2025, 10:23pm UTC](https://forums.balena.io/t/can-not-get-the-pi-screen-to-work-on-a-pi-5-and-the-browser-block/373868 "2025-03-15T22:23:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreammtn](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dreammtn](https://forums.balena.io/u/dreammtn)\
**Post date:** [March 15, 2025, 10:23pm UTC](https://forums.balena.io/t/can-not-get-the-pi-screen-to-work-on-a-pi-5-and-the-browser-block/373868/1 "2025-03-15T22:23:42Z")

</div>

I’m trying to get the browser block to work with the PI 5 and the official screen. I have been able to get everything to work fine with Emtria running Android, but no luck with Balena.

I have tried all kinds of dtoverlay settings, display settings etc. I just keep getting this error. It seems that it is not recognizing that there is a display. See logs here:

```auto
browser xorg-server 2:21.1.7-3+deb12u7 (https://www.debian.org/support) 
 browser Current version of pixman: 0.42.2
 browser Before reporting problems, check http://wiki.x.org
 browser to make sure that you have the latest version.
 browser Markers: (--) probed, (**) from config file, (==) default setting,
 browser (++) from command line, (!!) notice, (II) informational,
 browser (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 browser (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 15 22:17:44 2025
 browser (==) Using config directory: "/etc/X11/xorg.conf.d"
 browser (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 browser (EE) 
 browser Fatal server error:
 browser (EE) no screens found(EE) 
 browser (EE) 
 browser Please consult the The X.Org Foundation support 
 browser at http://wiki.x.org
 browser for help. 
 browser (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
 browser (EE) 
 browser (EE) Server terminated with error (1). Closing log file.
 browser xinit: giving up
 browser xinit: unable to connect to X server: Connection refused
 browser xinit: server error
 browser xauth: (argv):1: bad display name "12ba7b5:0" in "remove" command
 browser Idling...

```

Anyone have any ideas or have any luck getting a PI 5 to work with the official display?

> **[GitHub - balena-io-experimental/browser: A drop-in web browser block](https://github.com/balena-io-experimental/browser)**
>
> A drop-in web browser block

My docker config:

```auto
browser:
    build: ./browser
    privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
    network_mode: host
    ports:
        - '5011' # management API (optional)
        - '35173' # Chromium debugging port (optional)
    volumes:
      - 'browser-settings:/data' # Only required if using PERSISTENT flag (see below)  

```

My DockerFile:

```auto
FROM bh.cr/balenalabs/browser-%%BALENA_ARCH%%

ENV PERSISTENT=1
ENV KIOSK=1
ENV WINDOW_SIZE=800x480
ENV LOCAL_HTTP_DELAY=30

```
