-1

I created a PyQt5 application for the Lichee Zero board and placed it in the /etc/init.d folder to run the application when the OS boots. The problem I have is that in this case, if the operating system logs, the LCD screen overlaps. What should I do so that the log is not displayed on the LCD?

I built Lichee Zero OS using buildroot.

UPDATE: The correct form should be as follows: enter image description here

But when the log comes, the program page changes as follows: enter image description here

But if I put the same program in /etc/profile.d. The application works without any problems and the logs do not overlap with the application page. The main problem with this mode is that I must log in to the operating system, but I want the application to run without logging in to the operating system and when the operating system is booted.

amirhossein
  • 390
  • 2
  • 15
  • Sorry but the information you're providing is completely insufficient to understand the problem. Please improve your question with more appropriate details, including a [mre] and, possibly, an image of the current result. – musicamante Aug 26 '23 at 13:47
  • @musicamante OK. I added more details – amirhossein Aug 26 '23 at 14:06
  • I think this question still needs more details: 1. Is the error shown on the terminal related to the pyqt5 app, or is it something else? We can't fully see the error, so can you provide a copy of the console message? 2. What are the file's contents you've placed inside etc/init.d to start the pyqt5 app on boot? 3. Did you try to create an executable with the python scripts (pyinstaller) and running the executable from etc/init.d, or were you running the app from .py files directly? 4. Did you try to [supress the console output](https://stackoverflow.com/a/46021320/14956120) already? – Carl HR Aug 26 '23 at 21:55

0 Answers0