Solved

Displaying a staic screen (console) either image or text rather that prompting login

Posted on 2004-08-12
2
195 Views
Last Modified: 2013-12-15
I am building a Linux server that I do not want the end user to mess with. I would rather that when the computer first boots up, it displays a splash screen rather than everything it is doing (that would be nice but not necessary) and then at the end when the server is running, to just display either a splash screen, or a formated text display rather than a login prompt. (I know, and most heavy user know they can Alt-f2, 3, 4, 5, 6 to another console for the login, but for console 1, I would like just to display the screen. (I have seen packaged products that do this such as eSoft instagate software). We are maintaining the server remotely (telnet, rsh, ftp etc...) so I do not want to mess up those features, just the initial boot for console 1.

Thanks in advance.
0
Comment
Question by:dwanders
2 Comments
 
LVL 3

Accepted Solution

by:
dufduf earned 250 total points
ID: 11788517
http://www.bootsplash.org/ helps with the splash screen. I know practically nothing about it, but I guess their website tells something. I only know, that it involves a kernel patch and some userspace stuff. If you don't feel like that, you could edit your init scripts and redirect all output >/dev/null.

If you don't want to allow console access, you can do it by editing /etc/inittab. Mine has lines like these, and yours should include something similar:

id:2:initdefault:
[lots of lines cut]
1:23:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2

These tell that /sbin/getty is run on vc's 1 and 2, if runlevel is 2 or 3, and that normal boot defaults to runlevel 2 (initdefault). Now change the default runlevel to eg. 4, and after next reboot you won't get login screens at all. If you need to get console access, you have to boot the machine into single-user mode. What users will see is the output of the last init script and init telling that there are no more processes.

man init
man inittab
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11799111
or simply disable getty (mingetty, vboxgetty, whatever) in /etc/inittab
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
windows 7 starter missing password 21 89
bash file 10 49
Linux Desktop suggestion for Dell Inspiron 3043 13 53
linux SFTP 8 59
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question