| View previous topic :: View next topic |
| Author |
Message |
wichtounet n00b

Joined: 17 Mar 2012 Posts: 42
|
Posted: Tue Apr 03, 2012 4:20 pm Post subject: Shutdown from Gnome Shell displays the Gentoo Prompt |
|
|
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 |
|
 |
eccerr0r Advocate

Joined: 01 Jul 2004 Posts: 2998 Location: USA
|
Posted: Tue Apr 03, 2012 5:00 pm Post subject: |
|
|
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 |
|
 |
wichtounet n00b

Joined: 17 Mar 2012 Posts: 42
|
Posted: Tue Apr 03, 2012 5:17 pm Post subject: |
|
|
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 |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Tue Apr 03, 2012 7:19 pm Post subject: |
|
|
You could try a splash, so that you wouldn't see the shutdown shell, nor the loading shell lines. _________________ Arkhelion |
|
| Back to top |
|
 |
wichtounet n00b

Joined: 17 Mar 2012 Posts: 42
|
|
| Back to top |
|
 |
Apheus Apprentice

Joined: 12 Jul 2008 Posts: 182
|
Posted: Thu Apr 12, 2012 2:59 pm Post subject: |
|
|
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 |
|
 |
|