Am 14.05.2011 16:09, schrieb Hartmut Figge: > Florian Philipp: >> Am 14.05.2011 07:39, schrieb Hartmut Figge: > >>> i am always booting to a console and switch later to X using startx. Now >>> i have noticed a message appearing after typing the password: >>> >>> i5 login: ******** >>> Password: >>> Last login: Sat May 14 06:58:55 CEST 2011 on tty1 >>> * WARNING: you are stopping a boot service >> >> I guess there is something odd either in >> - /etc/pam.d >> - /etc/profile* >> - /etc/bash/bashrc >> - ~/.bashrc > > :) > >> - ~/.bash_profile >> >>> Same thing happens after switching from X to a console with e.g. >>> ctrl-altl-F2. Hm? :) >> >> Do you mean, every time you switch? Even if you do not log in? > > Only after typing the password during login on a console. But that is > solved now thanks to your hint. :) > > In the past there must have been a reason why i had added these lines to > my ~/.bashrc which i have now commented out: > > ----- .bashrc ----- > #if [ $TERM = "linux" ] > #then > # sudo /etc/init.d/consolefont restart > /dev/null > #fi > --------------- > > Hartmut
Glad I could help. It could have been worse, though. I once had a user who wrote `exit 0` at the end of his ~/.bashrc file in order to "properly finish that script". It took a while to figure out why he couldn't log in. ;-)
signature.asc
Description: OpenPGP digital signature