Re: Linux is so cool!

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It would appear that on Mar 18, Paul Almquist did say:

> 
> On Thursday 17 March 2005 14:13, Joe(theWordy)Philbrook wrote:
> 
> > (since I use startx to fire up x from run level three),
> > get me out of the gui. I get a smiler effect (only faster
> > {no confirmation pop-up) with "ctrl+alt+backspace"

> ctrl+alt+backspace only kills the X server which will be automatically 
> restarted.  see:  /etc/inittab line for run level 5--usually the last line 

NOT if you start with run level 3 and use startx {as I said I do} it
doesn't... When you start with run level 5 and kill the x server it will be
automatically restarted. But when you start with run level 3 and issue a
shell command {"startx"} the X server runs as a child process to the shell.
Thus in that case when the child process {"X server"} is killed with
ctl+alt+backspace, execution returns to the parent process {"the shell"}...

> What I usually do is alter this line in /etc/inittab:
> ca::ctrlaltdel:/sbin/shutdown -t3 -r now
> 
> replacing the -r (for reboot)  with -h (for halt)
> 
> after making the change run "init q" to tell init to reread /etc/inittab so it 
> will know about your configuration change.
> 
> Then for a quick shut down press ctrl+alt+F1  (or f2-f6) to get to a text 
> console, then press ctrl+alt+del to shut down the system in an orderly way.

That would work. Though I happen to like having a quick reboot option
available so I'm not replacing "-r" with "-h"... 

Still, (if I remember right) I think the text console doesn't even
require a user to be logged in to it for the ctrl+alt+del to work, so
if I want a fast shutdown, and don't happen to already be in a konsole
window, then "ctrl+alt+F1, ctrl+alt+del" then waiting with my finger on
the power button for the initial bios screen to appear might be faster
than switching to an open konsole window and typing powerdown...

Thanks for the tip.

I guess with linux, there are often so many ways to skin the proverbial
cat that sometimes it can get confusing. But then for me linux is all
about having choices, and being able to choose the method that works
best for me is why I chose linux in the 1st place...   ;) ;) ;)

   #############################################################
   # gpg sig for: Joe (theWordy) Philbrook DSA key ID 6C2163DE #
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #############################################################
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCSI5NRZ/61mwhY94RAv+aAKC8J0gCsm6jQqxqqaPHIe7MVzmisQCfVFsx
Gc+PNSO2/e+trbRix0GwEj0=
=1FsP
-----END PGP SIGNATURE-----
-- 
|   ---   ___
|   <0>   <->	   Joe (theWordy) Philbrook
|	^		J(tWdy)P
|    ~\___/~	     <<jtwdyp@xxxxxxxx>>

But if I actually knew everything, then I'd know I was an idiot...


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux