Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-24-2003, 01:15 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Posts: 24
Rep:
|
Can't exit X
I recently saw a thread on this, but can't find it again, and don't think the problem was ever answered so...
I just installed Mandrake 9.2 (first Linux install) and all went pretty smooth. However, I can't seem to shutdown X and get back to text prompts. Pressing ctrl-alt-backspace starts to work, X shuts down and I see the text login prompt, but it immediately then goes back to the graphical login. I played around with uncheking the Graphical login in the boot options of Mandrake Control Center and had mixed results. I'd like to be able to keep the graphical login at boot, and be able to drop out of X if that's possible.
|
|
|
11-24-2003, 02:04 PM
|
#2
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
There are probably more, but here's one:
http://www.linuxquestions.org/questi...highlight=init
If you ever want to make this permanent (goto runlevel 3 after every boot). Look for this entry in your /etc/inittab:
# The default runlevel is defined here
id:5:initdefault:
Chnge the 5 into a 3.
|
|
|
11-24-2003, 02:24 PM
|
#3
|
Member
Registered: Sep 2003
Location: New Hampshire USA
Distribution: Mandriva 2006 & 2007 Power Pack Club
Posts: 178
Rep:
|
In Mandrake's control center you can do what you want
In the mandrake control center you can under hardware you go to setup or configure you xserver then choose options and there is the option to have Mandrake boot into x when it starts.
|
|
|
11-24-2003, 03:07 PM
|
#4
|
LQ Newbie
Registered: Nov 2003
Posts: 24
Original Poster
Rep:
|
Ok, so a second spin on the question, is there a way to do both? Have it boot to X, but be able to Exit X on demand?
If not, one other question, when I boot to Graphical Logon, I get a dropdown to select which WM (I think?) to launch, KDE, GNOME, IceWM, WindowMaker, and several others. At this early stage in the game I kind of like switching around between them to see which I like most. Is there a switch to the startx command to specify which is launched?
|
|
|
11-24-2003, 05:22 PM
|
#5
|
Member
Registered: Sep 2003
Location: Utah, USA
Distribution: Mandrake 9.1
Posts: 66
Rep:
|
Quote:
Originally posted by Moebius01
Ok, so a second spin on the question, is there a way to do both? Have it boot to X, but be able to Exit X on demand?
If not, one other question, when I boot to Graphical Logon, I get a dropdown to select which WM (I think?) to launch, KDE, GNOME, IceWM, WindowMaker, and several others. At this early stage in the game I kind of like switching around between them to see which I like most. Is there a switch to the startx command to specify which is launched?
|
Yes, but you need an additional file. You need a file called .xinitrc in your home directory. In it, you can have whatever you want and just with a simple edit, have it start whatever you want. Here's a sample .xinitrc file:
Code:
#starticewm
#startwindowmaker
#startkde
#startgnome
startfluxbox
That code should start fluxbox when you type in startx from a console login. If you wanted to start another wm, you would edit that file after you logged in to the cli, add a # in front of the fluxbox command and uncomment one of the other ones to start that wm instead.
|
|
|
11-24-2003, 05:38 PM
|
#6
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Try control-alt-F<N> (use a number for N from 1 to 6) to access your virtual terminals.
In console, switch from one virtual terminal to another by alt-F1 through alt-F6.
To return to X press alt-F7
Last edited by fancypiper; 11-24-2003 at 05:40 PM.
|
|
|
11-24-2003, 05:44 PM
|
#7
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
Quote:
Originally posted by LiquidZoo
Yes, but you need an additional file. You need a file called .xinitrc in your home directory. In it, you can have whatever you want and just with a simple edit, have it start whatever you want. Here's a sample .xinitrc file:
Code:
#starticewm
#startwindowmaker
#startkde
#startgnome
startfluxbox
That code should start fluxbox when you type in startx from a console login. If you wanted to start another wm, you would edit that file after you logged in to the cli, add a # in front of the fluxbox command and uncomment one of the other ones to start that wm instead.
|
If you use any graphical login manager, it ignores the .xinitrc file, so that won't work.
You will have to read up on your login manager to find the file it reads.
Life is much simpler booting to command line and using startx. 
|
|
|
11-24-2003, 07:35 PM
|
#8
|
LQ Newbie
Registered: Nov 2003
Posts: 24
Original Poster
Rep:
|
Quote:
Originally posted by fancypiper
If you use any graphical login manager, it ignores the .xinitrc file, so that won't work.
You will have to read up on your login manager to find the file it reads.
Life is much simpler booting to command line and using startx.
|
I'm sure I'll eventually end up booting to command line, but at this early stage in the game, having the graphical login makes it nice and easy to try out the different WMs on here. Once I decide on one (KDE and GNOME are the front runners at present with GNOME edging it out) I'll configure the .xinitrc file and boot to command line.
|
|
|
11-24-2003, 07:47 PM
|
#9
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
As far as I know, simply typing in a console will enter the system to runlevel 3 (text mode).
Baldrick
|
|
|
All times are GMT -5. The time now is 01:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|