On Sat, 6 May 2017 05:06:06 -0700 (PDT), sajeevan k
<email@example.com> declaimed the
When I boot the system, the FTDI serial terminal asking for login id and
password, when I entered it correctly, my Qt application and other
application will be run as specified in .xinitrc.
But what is my requirement is, a serial terminal should appear in HDMI
display itself. When User ID and password is entered there, my application
First confusion: Do you mean a text command shell/console when you say
"serial terminal" -- to my understanding, no actual serial port/device is
involved in what you describe (and I don't think you mean to have this
"terminal" only talking over the debug serial port).
But I am not able to run a serial terminal on HDMI display.
Since I run the command
systemctl set-default multi-user.target
I've not dug into the various start-up options (especially not the
change-over to systemd from the older init system -- and that was on a
Mandrake (later Mandriva later Mageia) 7 or 8 system...
the HDMI Display shows a blank display, with the cursor blinking
Taking my BBB upstairs (where I have the HDMI capable TV but no network
access) along with keyboard/mouse... Running the 2017-03-19 Debian image...
The BBB comes up with black screen and pointer -- ie; X already running
(although it took a while for the screen background and directory icons to
show) and is already logged into the default debian user account. A right
mouse click gave the choice for a web browser or an xterm console.
I'll admit, I'd prefer it if the default were not auto-login, and
instead an X login dialog were presented, as found on most "big machine"
Linux/X systems. If that were the norm, your problem would be rather
simple, as starting your application would be something done via your
account profile during login (somehow determine the login was into X, start
application -- otherwise [serial port console/SSH] ignore the application.
Given that (my) BBB boots into a logged in X system (LXQT I believe is
current), I don't know if
is meaningful... https://wiki.archlinux.org/index.php/systemd#Targets seems
to imply that your choice requires a text console somewhere (serial port or
network). Again, I've not dug into my BBB deep enough to find out how it
does the auto-login of the graphical system rather than presenting a login
dialog -- which is implied by the graphical.target description linked.
Since the boot console uses the debug serial, I don't think there is
anything that can display on the HDMI until X is enabled. This is unlike
the RaspberryPi, which does spew boot messages onto a text console on HDMI
-- before it starts X (<heh> and it seems my current RPi card is giving a
library error on the startx, so it is doing a log-on to the HDMI text
console; time to reimage the SD card, the back-up card is doing auto log-in
to the X display).
How can I enable a serial terminal on HDMI display?
Given the above -- I suspect you don't... You set the start up to start
X first... And somehow need to turn off the auto log-in to get a log-in