UbuntuThis forum is for the discussion of Ubuntu 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 run hardy heron on my laptop. I wished to remove the graphical login so I removed gdm. Now I can boot without graphics, and run startx when I wish to start x. I like this behavior. However it takes a very long time, I believe longer than using graphical login, to start gnome. It takes 45 seconds between running startx and getting a fully logged-in desktop.
1. how can I figure out what is taking so long and fix it
2. what if I want to boot KDE instead, which I have installed but almost never use(I don't know how to make startx boot kde instead)
1. how can I figure out what is taking so long and fix it
You can get a rough idea by logging in and running the top command in a terminal. Then switch to an alternate console, log in, and startx. Switch back to the first console immediately and watch top to see where startx is spening most of its time.
Quote:
Originally Posted by Daravon
2. what if I want to boot KDE instead, which I have installed but almost never use(I don't know how to make startx boot kde instead)
It's odd, but I when I tried to do that I never succesfully logged in. Like for some reason, switching back to the terminal running top, or pressing ctrl+alt+F1 messed it up. Because when I went to switch back after watching top, it wasn't actually logged in, it was in some text screen, which I didn't understand.
Possibly you have your alternate consoles mixed up. The original screen that you booted into is <Ctrl> <Alt> <F7>. The alternate consoles are <Ctrl> <Alt> <F1> through <Ctrl> <Alt> <F6>. If you go to an alternate console which you have not previously logged into then you get a screen like you describe.
Indeed, I thought the graphics were launched on whatever terminal you launch startx from.
I didn't find anything interesting with top, just scim, gconf, gnome-panel, nautilus, stuff like that takes turns at the top with high cpu usage. It doesn't seem weird other than taking forever. I removed nautilus and didn't measure a difference in startup time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.