My DSI 7.9-inch screen driver and resolution are normal at boot, but the Chromium-browse does not display normally

I installed Chromium-browser under DIETPI, and now my DSI 7.9-inch screen driver and resolution are normal when I boot up, but the Chromium-browser interface is not normal. How can I set him to follow the same resolution and direction after boot up, please help me thank you


Hmm I found similar threads on the web, e.g. https://forums.raspberrypi.com//viewtopic.php?t=248498
Can you try xrandr -o left

I’ll try to report back

Tried, no, in LINUX, the prompt "can’t open display.

After I use xrandr -o right on the LXDE desktop, I can flip over normally. May I ask how can this command be executed upon startup? Because LXDE desktop is not installed on my other TF card, I want to test this TF system with LXDE desktop first, and then perform the corresponding Settings

It should be said that I installed Chromium-browser FOR DESKTOP when I boot it up without LXDE desktop. How can I make him execute the XRANDR -O RIGHT command when he boots it up? Please tell me, thank you

Probably you have to specify which display:
DISPLAY=:0 xrandr -o left

In dietpi-config you can set up an autostart script, just put your commands In there.

I don’t have a desktop under DIETPI, I input the XRANDR -O LEFT command and it tells me that I can’t open the display, and now I want to say is there any way to use this command to control the Chromium-browser to turn on the screen by itself, can you help me, I have been trying to use for many hours and still can’t figure it out

I don’t have a desktop under DIETPI, I input the XRANDR -O LEFT command and it tells me that I can’t open the display, and now I want to say is there any way to use this command to control the Chromium-browser to turn on the screen by itself, can you help me, I have been trying to use for many hours and still can’t figure it out…

As I said earlier, you have to specify which display. The default is maybe hdmi-0 or something like that.

error message might be misleading. It’s not physical display, it’s the xserver.

@qzvincent how do you start chromium browser? I guess you like to run in kiosk mode and not from desktop?

Yes, I mean I don’t want to run the browser under the desktop version and load it when I start the system