On 02/25/2016 03:46 PM, stan wrote:
On Thu, 25 Feb 2016 14:15:02 -0800
CLOSE Dave <Dave.Close@xxxxxxxxxxxxxxxxxx> wrote:
# systemctl -a -t service | grep tty
getty@tty1.service
loaded inactive dead Getty on tty1
This is from my system:
getty@tty1.service
loaded active running Getty on tty1
getty@tty2.service
loaded active running Getty on tty2
getty@tty3.service
loaded active running Getty on tty3
getty@tty4.service
loaded active running Getty on tty4
getty@tty5.service
loaded active running Getty on tty5
getty@tty6.service
loaded active running Getty on tty6
All lines since the last boot... (journalctl -r --no-pager | grep tty)
Feb 17 11:08:43 pses23top polkitd[740]: Registered Authentication
Agent for unix-process:4254:7165877 (system bus name :1.5981
[/usr/bin/pkttyagent --notify-fd 5 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 16 15:14:27 pses23top kernel: 00:05: ttyS0 at I/O 0x3f8 (irq = 4,
base_baud = 115200) is a 16550A
Feb 16 15:14:27 pses23top kernel: 00:04: ttyS1 at I/O 0x2f8 (irq = 3,
base_baud = 115200) is a 16550A
Feb 16 15:14:27 pses23top kernel: console [tty0] enabled
Here is an example of what happens on my system:
Feb 25 14:29:13 localhost.localdomain systemd[1]: Started Getty on tty1.
Feb 25 14:29:13 localhost.localdomain systemd[1]: Starting Getty on tty1...
Feb 25 14:29:13 localhost.localdomain systemd[1]: Started Getty on tty6.
Feb 25 14:29:13 localhost.localdomain systemd[1]: Starting Getty on tty6...
It looks like systemd is not even being invoked to set up ttys. That
is what inactive dead means to me, anyway. Try, as root,
systemctl unmask getty@tty1.service
systemctl enable getty@tty1.service
systemctl start getty@tty1.service
The @ might need to be escaped. If this doesn't do it, I'm out of
ideas. Maybe someone else can point you in the right direction.
If this works for getty1, all the gettys should start at the next
reboot (I think).
The getty@tty1.service is dead probably because the X server was
started at some point, and that takes over tty1.
tty2-6 will not be started unless you try to use them (e.g. the getty
on tty2 will only start if you use ALT-F2 from a console screen or
CTRL-ALT-F2 from the desktop). Once they're started, however, they
continue to run.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- "You think that's tough? Try herding cats!" -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org