Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2002, 08:30 AM   #1
Registered: Dec 2001
Location: China
Distribution: Mandrake 7.2 and 8.1
Posts: 51

Rep: Reputation: 15
How to exit Window Manager

While installing, I elected to start my windows manager on boot. Once it is started, if I want to exit it and get back to text mode, how can I do that? If I logout, my options are to restart X Window, to shutdown or restart. None of these gets me out of my windows manager.

Incidentally, does is ok to edit configuration files in a graphical environment, or should that only be done in a text environment?
Old 01-16-2002, 08:49 AM   #2
LQ Newbie
Registered: Jan 2002
Location: the Netherlands
Distribution: Mandrake 8.1, Fedora Core 1
Posts: 9

Rep: Reputation: 0
I'm a newbie too, but this is what I found out.

To kill the X-server press ALT+BackSpace (I believe), but that's not really neccesary.

You can open shells in X, but if you prefer you can also access a terminal with CTRL+ALT+F1 (or F2, etc). To get back to X, press CTRL+ALT+F7 . This is true for Mandrake anyway, but I think it's the same on every distribution.
Old 01-16-2002, 08:56 AM   #3
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
As far as editing config files is concerned, the same rule applies in both Linux and Windows. Do not edit config files of a program that is currently running. For example, you shouldn't edit the config files for X whilst you are running X. This is actually a bit of a bad example since it doesn't make much difference, but it's always a good idea to make sure that the program is not running.

If you want a good text-mode editor, and like me you really don't like either vi, vim or emacs, then get jed. It should be on the 2nd cd of your Mandrake 8.1 install cd set.
Old 01-16-2002, 05:37 PM   #4
Registered: Dec 2001
Location: China
Distribution: Mandrake 7.2 and 8.1
Posts: 51

Original Poster
Rep: Reputation: 15
So, if I want to make configuration changes to X Window without being in X Window, how do I exit it? I tried alt-backspace, but that does not work for me.

I know how to use anothe console (ctrl alt fx), but that still leave X Window running.
Old 01-16-2002, 11:03 PM   #5
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 210
Blog Entries: 1

Rep: Reputation: 38
Control-alt-backspace does it for me. That should shut down the X server itself, which then shuts down the virtual console it's running on, and that should take you back to an initial login prompt.

However it may take you back to an X login; I'm running in text mode and going to X via startx. In that case, open a terminal window in X as root (in Mdk 8.1 you can select a terminal as super user from the menu), and issue the command "init 3" without the quotes. That will take you to run level 3, dropping X entirely in the process and acting very much like a reboot. From there you can log in using text mode, and edit the inittab file to change the default runlevel from 5 to 3 for future operation.

Hope this helps! While I've only been running Linux for a couple of months I'm picking it up fairly fast, thanks to lots of experience with some of its ancestors back 25 years ago and more...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 11:10 PM
does exiting window managers exit your processes? DJOtaku Linux - General 2 08-16-2005 01:21 PM
Exit X Window System session Azzath Linux - Software 4 01-04-2005 03:38 AM
How do I exit Gnome desktop manager? BliZZrdLiZZrd Linux - Newbie 4 03-13-2004 09:30 AM
on 9.2, exit window manager - no video sick-o-windoze Mandriva 4 01-06-2004 03:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration