MandrivaThis 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.
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.
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.
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.
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?
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:
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.
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.