Air Player 4.1 on RPi4B fails to boot after installing VNC server

Support for Air Player desktop.

Moderators: russ, Ralph

Post Reply
Message
Author
User avatar
nnyerges
Posts: 65
Joined: Sat Jun 18, 2022 6:28 pm

Air Player 4.1 on RPi4B fails to boot after installing VNC server

#1 Post by nnyerges »

Hello,

Today i was working normally with Air Manager and two license of Air Player Desktop 4.1 running on two Raspberry Pi 4B.
I decide to try remote desktop using RealVNC. The AP on RPi(No.1) works perfect, but in the RPi(No.2) AP wont start at boot, and trying to manually start sudo ./Bootloader, it try to start, but the program aborts for a libEGL warning: DRI2: failed to create dri screen
image.png
The only difference between the two RPi's was the VNC instalation method on both Raspberry's. One was using desktop and the second using command lines:
RPi(No.1)
• Menu › Preferences › Recommend Software › Internet
• Install VNC viewer.
• Menu › Preferences › Raspberry Pi Configuration › Interfaces
• Enable VNC.
RPi(No.1) (with the issue)
• sudo apt update
• sudo apt install realvnc-vnc-server realvnc-vnc-viewer
• sudo raspi-config
• Interfacing Options › select VNC › Yes.

Any ideas?
----------------------------------

UPDATE:
- Rebooting the RPi(No.2), the Air Player auto start works perfect:
Image2.png
- Ending Air Player and restarting using sudo ./Bootloader fails:
Image3.png
Last edited by nnyerges on Thu Sep 01, 2022 7:16 pm, edited 1 time in total.
Chief Technology Officer (CTO) at 360ATC Aviation Training Center
Electronic Engineer. Control & Software Specialist

User avatar
jph
Posts: 2846
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Air Player 4.1 on RPi4B fails to boot after installing VNC server

#2 Post by jph »

Use a PC, you can get one cheaper than a single Pi and it will be far more capable :)
Joe
Joe. CISSP, MSc.

User avatar
nnyerges
Posts: 65
Joined: Sat Jun 18, 2022 6:28 pm

Re: Air Player 4.1 on RPi4B fails to boot after installing VNC server

#3 Post by nnyerges »

jph wrote: Thu Sep 01, 2022 7:00 pm Use a PC, you can get one cheaper than a single Pi and it will be far more capable :)
Joe
Yes jph, we use a Main PC with the flight simulator, 3 PC's for the video projectors, 1 Pc for instructor running Air Manager and 4 Raspberry Pi 4B (for now), running Air Player and it works great, so stop trying to make me cry, hahaha :D
Chief Technology Officer (CTO) at 360ATC Aviation Training Center
Electronic Engineer. Control & Software Specialist

User avatar
jph
Posts: 2846
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Air Player 4.1 on RPi4B fails to boot after installing VNC server

#4 Post by jph »

nnyerges wrote: Thu Sep 01, 2022 7:20 pm
jph wrote: Thu Sep 01, 2022 7:00 pm Use a PC, you can get one cheaper than a single Pi and it will be far more capable :)
Joe
Yes jph, we use a Main PC with the flight simulator, 3 PC's for the video projectors, 1 Pc for instructor running Air Manager and 4 Raspberry Pi 4B (for now), running Air Player and it works great, so stop trying to make me cry, hahaha :D
Lol :lol:
Yeah, that 1 extra single pc, a 3rd gen intel i5 at 3.4 GHz for example with a gtx 970 and 8 ghz of ram can be set up for less than 150 euro from an ex corporate pc.. Lenovo tower ITX preferred due to standard component usage and replacement. . You can hook up 4 monitors directly to that with one copy of air player or manager. The pi is grossly overated and grosly overpriced. Anything for an easy life. I have 4 edge 72s with 3470s and gtx 970s. They are as cheap as chips. :D
Joe
Joe. CISSP, MSc.

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Air Player 4.1 on RPi4B fails to boot after installing VNC server

#5 Post by Ralph »

Next week I'm back in the office with Jasper, I will ask him.

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Air Player 4.1 on RPi4B fails to boot after installing VNC server

#6 Post by Ralph »

Gonna try to translate his reply to English.
I think it is a VNC configuration issue. Maybe you can ask the user to compare the (display) configurations? Or a simple 'echo $DISPLAY'? And if this is different then ':0' : 'DISPLAY=:0 sudo ./Bootloader'.

But note that we cannot cater for all sorts of configurations and modifications. It is made to work with 'default settings', if you start modifying then this is at your own risk.

Post Reply