![]() |
Connecting Monitor to netPi - Printable Version +- Hilscher Community Forum (https://forum.hilscher.com) +-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html) +--- Forum: Software (https://forum.hilscher.com/forum-5.html) +--- Thread: Connecting Monitor to netPi (/thread-551.html) |
Connecting Monitor to netPi - paulj19 - January-30th-2020 Hello, For the project i need to connect a monitor to the netPI and get a console screen on the Monitor. Currently as I understand from the entrypoint.sh the Monitor just outputs the output the boot process and hangs. Is there a way to get the console screen in the Monitor connected to netPI via HDMI Best Regards, Paul RE: Connecting Monitor to netPi - Armin@netPI - January-30th-2020 Hello Paul, this is only possible if netPI provides a graphical Desktop environment as you have propably done it at home using a Linux based PC controlled by mouse and keyboard. There is a ready-to-use containerized HDMI application already developed. Just pull and run this container https://registry.hub.docker.com/r/hilschernetpi/netpi-desktop-hdmi/ on your netPI, connect HDMI(before power on), mouse, keyboard to it and you have a basic desktop system up and running in 5 minutes. Thx Armin RE: Connecting Monitor to netPi - paulj19 - January-30th-2020 Hello Armin, Thanks for the reply! Yes I came across it earlier and tried it out and it worked. BUT I was told just to stick to the console screen and no Desktop environment is necessary so I had to work back on to getting just a console screen in the Monitor. So from your answer, since it mentions the "only" way to get the console is to install and start X Window System, and that is not the case with Debian, is it because the root process is "waiting forever" in the entrypoint.sh?! Best, Paul RE: Connecting Monitor to netPi - Armin@netPI - January-30th-2020 Well Paul, if netPI is loaded with netPI's OS by default the only possibility we provide is using a full featured desktop to move from outputting the default log file to a graphical user interface. But if you analyse the github repository https://github.com/HilscherAutomation/netPI-teamviewer I have shown a different way using the HDMI. Instead of using xserver I used a tool named agetty that just outputs a console on HDMI. (So forget about the teamviewer thing that is shown in this example too.) Here is the command that entrypoint.sh of this repo starts instead of xserver: Code: setsid agetty -a root tty1 linux & Thx Armin RE: Connecting Monitor to netPi - paulj19 - January-30th-2020 It did worked after additionaly enabling the TTY in command and logging when adding the container Thanks a lot for your help! Best, Paul |