openDsh / dash

Join us on Slack! https://join.slack.com/t/opendsh/shared_invite/zt-la398uly-a6eMH5ttEQhbtE6asVKx4Q
GNU General Public License v3.0
276 stars 82 forks source link

qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display. #102

Closed vedranius closed 3 years ago

vedranius commented 3 years ago

Issue

Make sure you are running the latest version before reporting an issue.

Hardware

Device Connection Method Screen Mobile Device Android Auto Version
Raspberry Pi 4 4GB USB Cable Pi-top Display and Pi-top case Samsung Galaxy S9 latest

Installation Method: Install.sh

Description of problem:

I'm running Pi-Top OS (Raspbian) When I run the ./dash I get the error: qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.

Expected Result:

Run Dash and see it on the touchscreen

vedranius commented 3 years ago

Was running it through SSH. Now did it on RPi directly and it's fine. But I get the white screen (dark mode) or MTP device error with two Samsung Galaxy phones (S9 and A8)

vedranius commented 3 years ago

This solved it:

"sudo apt install --no-install-recommends xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils git"

But not sure how to change resolution of AndroidAuto?

robert5974 commented 3 years ago

To change the dpi of Openauto, use the settings icon (gear in the top right corner of the first tab). You will have to do it before connecting the phone since you won't be able to see it after connecting it.

Robert Crowley

On Wed, Oct 6, 2021, 12:05 PM vedranius @.***> wrote:

This solved it:

"sudo apt install --no-install-recommends xserver-xorg-video-all xserver-xorg-input-all xserver-xorg-core xinit x11-xserver-utils git"

But not sure how to change resolution of AndroidAuto?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openDsh/dash/issues/102#issuecomment-936572750, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLUDVAS3DU5JVHJPFBWNHDUFRXV7ANCNFSM5FO6MBLQ .

icecube45 commented 3 years ago

Looks like this was resolved, let us know if you still hit issues.