Shutting X gracefully

Shutting X gracefully

Post by Kurt Neufe » Fri, 27 Feb 1998 04:00:00



Besides CTRL+ALT+BACKSPACE is there a nice way to go back to text only?

--
             /---------------  T. Kurt Neufeld  -------------\

                        PGP:http://pgpkeys.mit.edu:11371
                    http://home.cc.umanitoba.ca/~umneuf22/
             \-----------------------------------------------/

 
 
 

Shutting X gracefully

Post by Devin Wo » Sat, 28 Feb 1998 04:00:00


:
: Besides CTRL+ALT+BACKSPACE is there a nice way to go back to text only?

Exit the last running program indicated in ~/.xinitrc to finish running
X.  This is usually a window manager or xterm.  If you just want to
switch to console mode without stopping X, control-alt-Functionkey1-6.
Return back to X with control-alt-f7 if it was started from console#1.

Devin

--

http://www.engr.csulb.edu/~dbwong

 
 
 

Shutting X gracefully

Post by Richard Stein » Sat, 28 Feb 1998 04:00:00



spake unto us, saying:

Quote:>Besides CTRL+ALT+BACKSPACE is there a nice way to go back to text only?

Most window managers provide a graceful way to shut the X server down.

In addition, you can usually use Control-ALT-Fn (where n is the number
of the fullscreen console you want to go to) to flip to fullscreen
consoles while leaving X still running.  I do this constantly.  :-)

Which particular setup (Linux distribution, version, window manager)
are you using?

--

           OS/2 Warp 4 + Linux + Executor = PC Hobbyist Heaven!
                   The Theorem Theorem: If If, Then Then.

 
 
 

Shutting X gracefully

Post by jxfau.. » Sat, 28 Feb 1998 04:00:00



> Besides CTRL+ALT+BACKSPACE is there a nice way to go back to text only?

Your xinitrc file should 'exec' some task at the end. Typically this will
be the window manager or an xconsole etc.. When this process completes,
the server will close down.

In my case, I exec fvwm and fvwm came with an 'Exit fvwm' item on a pulldown
menu which does this.

YMMV

--
Jason.

 
 
 

Shutting X gracefully

Post by Brett W. McC » Sun, 01 Mar 1998 04:00:00



Quote:>Besides CTRL+ALT+BACKSPACE is there a nice way to go back to text only?

If your system is hung up, that's the easiest way.  If you can switch to a
virtual terminal and login as root and kill the X server, that's another
way.

If your system isn't hung up and you want to leave X, use the root menu
(click in the root window) and use the exit (or leave, depending
on your window manager) selection at the bottom.  You should never use
Ctl-ALT-BKSPC except as a last resort, as it kills the X server right out
from under the window manager, rather than gracefully shutting it down.

Brett W. McCoy          
                                        http://www.lan2wan.com/~bmccoy/
-----------------------------------------------------------------------
"The number of UNIX installations has grown to 10, with more expected."
   -- The UNIX Programmer's Manual, 2nd Edition, June, 1972

 
 
 

1. Solaris 2.4 init (1|S|s) KILLS Ingres, !SHUT DOWN GRACEFULLY

This is a re-post of a previous Q. that wasn't as clear as it might've been, so
here goes again:

When a Solaris system is shut down for maintenance via init (1|S|s), Sun's
documentation suggests that scripts in /etc/rc?.d run, so processes such
as Ingres can be taken down gracefully. THIS DOES NOT SEEM TO HAPPEN. Instead,
shutdown does a killall (kill -15 followed by kill -9 of active processes not
directly related to the shutdown process). This may have repercussions for
Ingres installations.

Does anyone know of a simple means of making sure that Ingres and other
processes are stopped gracefully via /etc/rc?.d scripts rather than shot when
init is used to stop a system, instead of having to shutdown Ingres
before the init?

Richard.
~~~~~~~~

2. soft raid 1 (mirrioring) on OpenBSD

3. How to shut-off on a shut-down?

4. LILO installed on both /dev/hda AND /dev/hda1?

5. How can I kill SLIP gracefully????

6. scrambled Console

7. Want an apache module to handle timeouts gracefully.

8. Systems administration utilities

9. Handling segmentation faults gracefully...

10. How to close unix program gracefully?

11. break out of loop gracefully

12. exiting an ncurses program "gracefully"

13. Apache won't gracefully restart