Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] clear screen on initial login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sat Sep 03, 2011 12:11 am    Post subject: [solved] clear screen on initial login Reply with quote

After an emerge -uDN world the initial login behaviour has changed and I can't identify the culprit. Before, the kernel and init script messages stayed on the screen: this, obviously, was a good thing as it meant they could be read as intended.

Now, they're briefly visible, but then when the login prompt comes up, the screen clears. Sysvinit was among the updates so I guess that could be the problem but I can't see where exactly it's happening, and I've grepped for clear and reset in /etc and can't see anything suspicious in there. It's possible this happened a few days ago with a pam update and I've just noticed it now. It's not just the initial login either (basically bash is acting as though I had "clear" in .bash_logout all the time, whether I do or not), but it's only at the initial login that I don't want the screen cleared.

Does anyone know what's clearing the screen, and how to stop it?


Last edited by psycho on Wed Sep 07, 2011 1:22 am; edited 1 time in total
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Sat Sep 03, 2011 6:40 am    Post subject: Reply with quote

Same here, would love to get the old behaviour back.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Sep 03, 2011 10:09 am    Post subject: Reply with quote

I'm suspecting it's util-linux-2.20, or specifically agetty. But I haven't played around yet to confirm it. Ok, I had a quick look at agetty's help, this one looks interesting:
Code:
--noclear              do not clear the screen before prompt

So adding --noclear to each agetty line in /etc/inittab could do the trick.
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 534
Location: New Zealand

PostPosted: Sat Sep 03, 2011 12:35 pm    Post subject: Reply with quote

Thank you Gusar, that fixed it.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Thu Oct 13, 2011 5:32 am    Post subject: Thanks from me as well Reply with quote

I'm sure there must be a really good reason for the change, but thanks for the information on undoing it.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum