1 |
Am 14.05.2011 16:09, schrieb Hartmut Figge: |
2 |
> Florian Philipp: |
3 |
>> Am 14.05.2011 07:39, schrieb Hartmut Figge: |
4 |
> |
5 |
>>> i am always booting to a console and switch later to X using startx. Now |
6 |
>>> i have noticed a message appearing after typing the password: |
7 |
>>> |
8 |
>>> i5 login: ******** |
9 |
>>> Password: |
10 |
>>> Last login: Sat May 14 06:58:55 CEST 2011 on tty1 |
11 |
>>> * WARNING: you are stopping a boot service |
12 |
>> |
13 |
>> I guess there is something odd either in |
14 |
>> - /etc/pam.d |
15 |
>> - /etc/profile* |
16 |
>> - /etc/bash/bashrc |
17 |
>> - ~/.bashrc |
18 |
> |
19 |
> :) |
20 |
> |
21 |
>> - ~/.bash_profile |
22 |
>> |
23 |
>>> Same thing happens after switching from X to a console with e.g. |
24 |
>>> ctrl-altl-F2. Hm? :) |
25 |
>> |
26 |
>> Do you mean, every time you switch? Even if you do not log in? |
27 |
> |
28 |
> Only after typing the password during login on a console. But that is |
29 |
> solved now thanks to your hint. :) |
30 |
> |
31 |
> In the past there must have been a reason why i had added these lines to |
32 |
> my ~/.bashrc which i have now commented out: |
33 |
> |
34 |
> ----- .bashrc ----- |
35 |
> #if [ $TERM = "linux" ] |
36 |
> #then |
37 |
> # sudo /etc/init.d/consolefont restart > /dev/null |
38 |
> #fi |
39 |
> --------------- |
40 |
> |
41 |
> Hartmut |
42 |
|
43 |
Glad I could help. It could have been worse, though. I once had a user |
44 |
who wrote `exit 0` at the end of his ~/.bashrc file in order to |
45 |
"properly finish that script". It took a while to figure out why he |
46 |
couldn't log in. ;-) |