# Fresh install DietPi v10.2.3 -\> X11 not strating with 7" TouchDisplay

**URL:** <https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071>\
**Category:** Troubleshooting\
**Created:** [26 March 2026 14:12 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071 "2026-03-26T14:12:41Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [26 March 2026 14:12 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/1 "2026-03-26T14:12:41Z")

</div>

### Creating a bug report/issue

I have searched the existing open and closed issues

#### Required Information

- DietPi version | G\_DIETPI\_VERSION\_CORE=10 / G\_DIETPI\_VERSION\_SUB=2 / G\_DIETPI\_VERSION\_SUB=2 / G\_GITBRANCH=‘master’ / G\_GITOWNER=‘MichaIng’
- Distro version | trixie 0
- Kernel version | Linux Control-Unit 6.12.75+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.75-1+rpt1 (2026-03-11) aarch64 GNU/Linux
- Architecture | arm64
- SBC model | RPi 4 Model B (aarch64)
- Power supply used | RPi-PoE-Hat
- SD card used | SanDisk ultra

#### Additional Information (if applicable)

- Software title | X11 - XFCE
- Was the software title installed freshly or updated/migrated? Fresh install
- Can this issue be replicated on a fresh installation of DietPi? Yes  
← If you sent a “dietpi-bugreport”, please paste the ID here →
- Bug report ID | d18a2b3d-186c-4aab-b5d9-7fee3d16653b

#### Steps to reproduce

1. Install Dietpi
2. Install X11 (XFCE)

#### Expected behaviour

- Automatic boot via lightdm in to x11

#### Actual behaviour

- Console Login and no X11

#### Extra details

- I discovered that lightdm has an error “Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files” so i installed the package “accountsservice” and this error was gone but still no x11.
- Then i discovered that it is not possible to “startx”. There was an error (can’t remember exactly what) that it can not connect to dbus. So i installed the package “dbus-x11”.
- Now i can run “startx” and X11 is starting, but it does not start automatically
- I also discovered that if “dtoverlay=vc4-kms-v3d” is set in “config.txt” the 7” Display only shows white stripes and no picture (also no cli login screen)
- Unfortunately, I don’t know how to investigate this further.
- And somehow I seem to remember that we’ve had this problem before, but I can’t remember the solution.

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [26 March 2026 16:40 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/2 "2026-03-26T16:40:55Z")

</div>

> [@The\_Raven](#):
>
> Now i can run “startx” and X11 is starting, but it does not start automatically

Did you set automatic login via [`dietpi-autostart`](https://dietpi.com/docs/dietpi_tools/system_configuration/#dietpi-autostart)?

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [26 March 2026 17:19 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/3 "2026-03-26T17:19:38Z")

</div>

Yes, option is now set to “2” login with user “dietpi”. I tried now with user “root” and it works!!! 🤩

So it looks like it is a permission problem. 🤔

Interesting:

If i enable “dtoverlay=vc4-kms-v3d” in “/boot/firmware/config.txt” i always only see this screen on the 7” Original RPI-Display over DSI (It doesn’t matter whether I choose cli or x11 to start.):

 ![display](https://dietpi.com/forum/uploads/default/original/2X/a/a332e1fc17dac00b7ce6890bca4f24bb18c574e2.jpeg)

So it looks like there are two problems:

1. Permission problem with user “dietpi” and login to x11
2. Problem with the option dtoverlay=vc4-kms-v3d in combination with 7” DSI-Display

I am not sure if packages “accountsservice” and “dbus-x11” are really needed. Maybe i need to start from scratch and test it.

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [26 March 2026 17:29 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/4 "2026-03-26T17:29:16Z")

</div>

Did you try to use “RPi Touchscreen” in `dietpi-config` → `Display Options` → `Display Resolution`

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [26 March 2026 17:34 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/5 "2026-03-26T17:34:52Z")

</div>

Yes, it is set to “RPi Touchscreen : 800x480” which should match i think.

It looks like it sets:  
framebuffer\_width=800  
framebuffer\_height=480  
dtoverlay=vc4-kms-v3d

The first two are not a problem, but as soon as “dtoverlay=vc4-kms-v3d” is set the screen has only white stripes.

Edit:  
Also tried “dtoverlay=vc4-kms-dsi-7inch” but to no avail.

Edit2:  
Ah, i think now i understand that thing. Looks like both options must be enabled!  
dtoverlay=vc4-kms-v3d  
dtoverlay=vc4-kms-dsi-7inch  
Now the display stripes are gone and it works! So one problem found and solved. 😎  
But i think it needs to be done by dietpi-config if “RPi Touchscreen” is set. I have Touchscreen v1 i think. Not sure if v2 is the same (needs the same options?).

Edit3:  
Ahm… Now also autologin with user “dietpi” to x11 is working! 🤨  
**ATM it looks like for 7” Display the only thing that it is needed are this two options in config.txt.**  
But i have now done a lot of “things” and i like to reflash and test fro scratch.

Edit4:  
I tested it again from scratch and yes, it “just” needs “dtoverlay=vc4-kms-v3d” **and** “dtoverlay=vc4-kms-dsi-7inch” and all works fine. 🤪  
Next, I’m going to try what I actually set out to do: Upgrading from Debian 12 to Debian 13. Since that didn’t work, I ended up reinstalling the whole system and ran into this bug.

Edit5:  
Update Debian 12 → 13 has worked and after add both dtoverlays all is fine. Unbelievable! 😎

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [26 March 2026 20:37 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/6 "2026-03-26T20:37:54Z")

</div>

The solution is simple:  
It “just” needs “dtoverlay=vc4-kms-v3d” **and** “dtoverlay=vc4-kms-dsi-7inch” for 7” RPi-Touch DSI-Display.

So i think on Debian 13 it is needed to add them both if “RPi Touchscreen” is selected from dietpi-config.  
If “dtoverlay=vc4-kms-v3d” is missing then x11 does not start with user dietpi. And if it is there the 7” Display does only show white stripes. Only if both options are there all is good and working.👍

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [27 March 2026 13:36 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/7 "2026-03-27T13:36:36Z")

</div>

So the option from `dietpi-config` did not work and you had to manually edit `config.txt`?

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [27 March 2026 17:18 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/8 "2026-03-27T17:18:34Z")

</div>

Correct

> [@Jappe](#):
>
> So the option from `dietpi-config` did not work and you had to manually edit `config.txt`?

Correct. 👍  
If you select “7” Touch Display” in dietpi-conf, it only sets “dtoverlay=vc4-kms-v3d” but it should also set “dtoverlay=vc4-kms-dsi-7inch”. Both entrys in config.txt are needed.

From the docs:

 ![vc4-kms-dsi-7inch](https://dietpi.com/forum/uploads/default/original/2X/6/65a8d904817030ecacdd59b5fde8beaf34e88d2b.png)

Source: [firmware/boot/overlays/README at 1248a22f2d6f80273d00ed88ba9713d6095b4ed3 · raspberrypi/firmware · GitHub](https://github.com/raspberrypi/firmware/blob/1248a22f2d6f80273d00ed88ba9713d6095b4ed3/boot/overlays/README)

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [27 March 2026 17:41 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/9 "2026-03-27T17:41:38Z")

</div>

@MichaIng can you have a look at this

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 March 2026 15:17 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/10 "2026-03-29T15:17:45Z")

</div>

> [@The\_Raven](#):
>
> framebuffer\_width=800  
> framebuffer\_height=480

These two have no effect, do they?

Basically `dietpi-config` requires a major rework to remove all legacy (non-DRM/KMS) graphics options, which means that almost all LCD options are removed as well. Instead, there is the generic `display_auto_detect=1` to enable supported overlays automatically based on detected hardware. Does this work as well instead of `vc4-kms-dsi-7inch`? _`vc4-kms-v3d` needs to remain, of course._

> [@The\_Raven](#):
>
> If you select “7” Touch Display” in dietpi-conf, it only sets “dtoverlay=vc4-kms-v3d” but it should also set “dtoverlay=vc4-kms-dsi-7inch”. Both entrys in config.txt are needed.

With which `dietpi.txt` setting or which `dietpi-config` option? A valid 7" DSI display option does not exist, and `vc4-kms-v3d` is only enabled when selecting the respective resolution entry (or when installing software which requires KMS/DRM).

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [29 March 2026 18:54 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/11 "2026-03-29T18:54:09Z")

</div>

> [@MichaIng](#):
>
> These two have no effect, do they?

I think they have no effect. After i comented it out i see no change (it is running as it should).

> [@MichaIng](#):
>
> Does this work as well instead of `vc4-kms-dsi-7inch`?

Yes it does! 👍 Also the display brightness is working. All looks good!

> [@MichaIng](#):
>
> With which `dietpi.txt` setting or which `dietpi-config` option?

dietpi-config → Display Options → Display Resolution → RPi Touchscreen : 800 x 480  
It sets this:

 ![settings](https://dietpi.com/forum/uploads/default/original/2X/1/170bddb2a6550846378a896aed882884eca54ea4.png)  
framebuffer (800/480) and vc4-kms-v3d or not? Am I missing something?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [29 March 2026 19:38 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/12 "2026-03-29T19:38:35Z")

</div>

> [@The\_Raven](#):
>
> dietpi-config → Display Options → Display Resolution → RPi Touchscreen : 800 x 480  
> It sets this:

It _removes_ `vc4-kms-v3d`, as this way of setting the resolution only works with legacy graphics. Also, this menu is/was really only supposed to set the resolution, not to enable DSI display support. With legacy framebuffer driver, there were overlaps, but the DSI displays (compared to HDMI) usually require some additional changes done via device tree overlay, or scripts/services.

This all needs to be removed from `dietpi-config`, in favor our `dietpi-display` to set the resolution with KMS/DRM, and a generic LCD support toggle which sets `display_auto_detect=1`.

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [30 March 2026 10:57 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/13 "2026-03-30T10:57:22Z")

</div>

OffTopic:  
It seems to be a bit of a mess, just like with libcamera and the GPIO pins (a lot of legacy stuff). It varies depending on the Debian version you’re using (legacy/new style). This “problem” here was first introduced in Debian 13.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [30 March 2026 11:28 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/14 "2026-03-30T11:28:48Z")

</div>

This has nothing to do with Debian, but is entirely RPi-only closed source Broadcom/vendor =\> mainline Linux driver and library transition:

- RPi legacy GPU driver =\> KMS/DRM
- RPi legacy camera driver =\> libcamera (sadly still pretty much RPi-only, instead of generic V4L2)
- RPi legacy GPIO interface =\> generic libgpiod, lgpio and other libraries

And also RPi OS Bookworm repositories retrospectively removed a lot of these library blobs for MMAL, DispmanX, and others, all which were previously located below `/opt/vc`.

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [30 March 2026 11:40 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/15 "2026-03-30T11:40:53Z")

</div>

Of course that’s true, but for me as an “end user,” it depends on which version of Debian is installed. If I have an old version 10, I have to do it one way; with version 12, another way; and with version 13, yet another way. That’s what I meant. 😉  
And that’s a bit annoying. 😂

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [30 March 2026 12:00 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/16 "2026-03-30T12:00:03Z")

</div>

You can use the new methods on Debian 10 as well. The old ones were mostly deprecated a long time ago, just the removal happened in preparation for RPi 5 Trixie (RPi OS) images and retrospectively for Bookworm.

And yes, it is totally annoying, also for us and other project maintainers. But when knowing how the Linux OSS ecosystem works, it was no surprise at all. I wrote a bit about it in the context of GPIO libraries on the Node-RED forum: [Rpi gpio library not work with dietpi trixie - #55 by MichaIng - General - Node-RED Forum](https://discourse.nodered.org/t/100595/55)

---

<div class="post-metadata">

**Author:** ![The\_Raven](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@The\_Raven](https://dietpi.com/forum/u/The_Raven)\
**Post date:** [31 March 2026 17:14 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/17 "2026-03-31T17:14:07Z")

</div>

Update with bad news:  
I’ve just realized that the display works with “display\_auto\_detect=1”, but the touchscreen isn’t responding!  
For the 7" RPi-TouchDisplay it needs:

```auto
dtoverlay=vc4-kms-dsi-7inch
dtoverlay=vc4-kms-v3d

```

That’s a very fitting and insightful article you’ve written. Changes are good, of course, but constantly changing things is bad. Especially because it consumes a lot of resources (especially for developers like you).  
BTW: There are still things that don’t work with libcamera or are very cumbersome. The same applies to libgpiod. Developers really don’t have it easy. 🙄

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [29 June 2026 17:14 UTC](https://dietpi.com/forum/t/fresh-install-dietpi-v10-2-3-x11-not-strating-with-7-touchdisplay/25071/18 "2026-06-29T17:14:39Z")

</div>

Closed on 29 June 2026 17:14 UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
