Running a CLI Application on Device Display

raspberrypi3

#1

Hello!

I’m currently working on moving a project that is using a CLI interface on Raspbian Lite to balenaCloud. The Dockerfile is currently working correctly and I can interact with the CLI using the Terminal on the balenaCloud Dashboard.

I need to configure the Raspberry Pi to use the connected display and keyboard for displaying and receiving input, however I’ve only been able to get the standard BalenaOS screen to be displayed. Are there any tutorials on how to display and receive input using a terminal on the device?

Thanks,
Duncan


#5

@lowderd yeah that might be an issue since getty is waiting on TTY1. You could run an Xorg session though and bring up a full screen Xterm?

I think we have someone putting together a blog post for starting Xorg from a container, so look out for that one.


#6

@lowderd yeah that might be an issue since getty is waiting on TTY1. You could run an Xorg session though and bring up a full screen Xterm?
I think we have someone putting together a blog post for starting Xorg from a container, so look out for that one.


#8

I’d also be interested in this blog post. I can definitely get xterm to start up but so far it just won’t respond to the keyboard despite a number of different approaches.

Is there any information your team could provide in advance of the blog post? Any idea when that might come out? Thanks!