Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shutdown from Gnome Shell displays the Gentoo Prompt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wichtounet
n00b
n00b


Joined: 17 Mar 2012
Posts: 42

PostPosted: Tue Apr 03, 2012 4:20 pm    Post subject: Shutdown from Gnome Shell displays the Gentoo Prompt Reply with quote

Hi,

I've a little issue with my installation of Gnome Shell. When I do a shutdown or a reboot, the gentoo prompt (the one that is on Gentoo when installed with no window manager) is displayed during some seconds. (This prompt is not displayed during boot).

I'm pretty sure this has something to do with runlevel and/or rc-update but I didn't found what to change to avoid this behavior.

Here is my rc-update config:

Quote:
rc-update
NetworkManager | default
acpid | default
bootmisc | boot
dbus | default
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | default
keymaps | boot
killprocs | shutdown
laptop_mode | default
localmount | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.lo | boot
procfs | boot
savecache | shutdown
sysctl | boot
syslog-ng | default
termencoding | boot
udev | sysinit
udev-postmount | default
urandom | boot
xdm | default


Is there a way to not display the prompt at shutdown ?

Thanks
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 2998
Location: USA

PostPosted: Tue Apr 03, 2012 5:00 pm    Post subject: Reply with quote

If you mean the "login" prompt

login:

This is always displayed but simply never shown because X11 is started. During boot, login is started behind the scenes and actually does try to show up, but X11 starts as it switches over to virtual terminal 7/8 and you never see it. You can ctrl-alt-f1 from X11 to see the prompt.

When you quit X11 for shutdown, it will switch back to virtual terminal 1 which once again exposes the login prompt. You may also be able to see it if you logout of your Gnome session.

I don't really see the problem showing this? If this is actually a "bash" prompt then this is a security hole but I don't think it's that easy to do that in a Gentoo install.

If something changed, likely X11/Gnome now switches back to the console it was started from upon exit... There may be a patch to X11/Gnome to stay on the dummy virtual terminal 7/8 upon exit... I don't know though... not enough of a problem for me to investigate and likely needs code changes.
_________________
Core-i7-2700K@4.1GHz/8GB RAM/180GB SSD/Intel HD3000 graphics
What the heck am I advocating?
Back to top
View user's profile Send private message
wichtounet
n00b
n00b


Joined: 17 Mar 2012
Posts: 42

PostPosted: Tue Apr 03, 2012 5:17 pm    Post subject: Reply with quote

Thank you for your answer.

There are no other problems than visual problems. I find that ugly to switch back to a terminal visible only 2-3 seconds before really shutting down from Gnome. But I can live with that.
Back to top
View user's profile Send private message
Arkhelion
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2010
Posts: 127
Location: France

PostPosted: Tue Apr 03, 2012 7:19 pm    Post subject: Reply with quote

You could try a splash, so that you wouldn't see the shutdown shell, nor the loading shell lines.
_________________
Arkhelion
Back to top
View user's profile Send private message
wichtounet
n00b
n00b


Joined: 17 Mar 2012
Posts: 42

PostPosted: Thu Apr 12, 2012 1:47 pm    Post subject: Reply with quote

Where can I find a good installation tutorial of a boot splash ?

I tried this: http://ronnybull.com/2011/08/11/gentoo-framebuffer-splash-image/

But it didn't worked on my case. I see a black screen during kernel bootup and then I see OpenRC logs as usual.
Back to top
View user's profile Send private message
Apheus
Apprentice
Apprentice


Joined: 12 Jul 2008
Posts: 182

PostPosted: Thu Apr 12, 2012 2:59 pm    Post subject: Reply with quote

I use this:

http://en.gentoo-wiki.com/wiki/Fbsplash

A little old and rusty, but works for me. You will have to recompile some packages with USE=static-libs, but emerge will tell you that.

Plymouth is a newer boot splash manager.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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