Hi Dennis Lee and William Hermans,
Thank You for the quick reply. Based on information, provided by You, instead of getting text command console on HDMI display, I explored the possibility of Auto login. The link https://unix.stackexchange.com/questions/297252/how-do-you-configure-autologin-in-debian-jessie helped me to make the auto login possible for debian jessie 8 which is there in BBB. My requirement was only that. After the bootup startx should run automatically and my application screen should be visible to the user. Thank You for the guidance. Thanks & Regards, Sajeevan.K On Saturday, May 6, 2017 at 9:17:25 PM UTC+5:30, Dennis Lee Bieber wrote: > > On Sat, 6 May 2017 05:06:06 -0700 (PDT), sajeevan k > <[email protected] <javascript:>> declaimed the > following: > > > >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 > >should run. > > > > 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 > > > https://docs.fedoraproject.org/en-US/Fedora//html/Installation_Guide/sect-trouble-after-graphical-login.html > > > 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 > prompt. > -- > Wulfraed Dennis Lee Bieber AF6VN > [email protected] <javascript:> HTTP://wlfraed.home.netcom.com/ > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d1649efc-1388-4b66-8620-8042a92bcbfa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
