Alan McConnell on 17 May 2018 18:37:35 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Fwd: Gentoo Shut Down Stalls



----- Original Message -----
From: "Charlie Li" <ml+PLUG@vishwin.info>
To: plug@lists.phillylinux.org
Sent: Thursday, May 17, 2018 4:07:34 PM
Subject: Re: [PLUG] Fwd: Gentoo Shut Down Stalls

On 17/05/2018 15:31, Alan McConnell wrote:
>       I have a perhaps related issue with my Debian(jessipe)  In the evening
>       before going to bed I run    sudo shutdown -h now  .  After entering
>       my password, the screen goes immediately dark.  Except sometimes there
>       is a flickering in the upper left, and the light on the box itself still
>       glows.  It sometimes takes up to a couple of minutes before the machine
>       actually shuts down and turns itself off.   Other times it shuts down
>       immediately.
> 
> Of course this behavior is not a problem.  But maybe some clever Debianists
> here can explain what's going on, to gratify my idle curiosity<G>.
> 
Are you running shutdown(8) in an X session? Besides the video mode
possibly not switching back to tty, an excerpt from Debian's man page
(which uses sysvinit-core):
      I close all my tabs in Firefox and then shut down Firefox.  I usually
      have two terminals still open, and I shut down one of them.  With
      only one terminal open, but X of course still running, I then
      invoke    sudo shutdown -h now   .


> Init can only capture CTRL-ALT-DEL and start shutdown in console mode. If the system is running the X window System, the X server processes all key strokes. Some X11 environments make it possible to capture CTRL-ALT-DEL, but what exactly is done with that event depends on that environment.
     <G>  I know about CTRl-ALT-DEL !  but I was under the impression that
     'shutdown' was a replacement, to be used in an X environment.  Am I
     wrong?

Thanks for your message!  I'm still not quite clear, but as I said originally
it is a question almost completely lacking in significance<G>.

Best wishes,

Alan
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug