LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-06-2009, 12:28 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Rep: Reputation: 15
X starts slowly after removing gdm


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)
 
Old 01-06-2009, 03:43 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by Daravon View Post
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 View Post

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)

Try startkde

--------------------------
Steve Stites
 
Old 01-06-2009, 05:06 PM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
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.
 
Old 01-06-2009, 05:19 PM   #4
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
double post
 
Old 01-06-2009, 09:05 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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.

---------------------
Steve Stites
 
Old 01-06-2009, 11:43 PM   #6
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



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
X starts really slowly & limited functionality after trying to install NVidia driver kevkilroy Linux - Hardware 5 08-10-2006 07:15 AM
Openoffice Starts Slowly mesh2005 Linux - General 11 05-22-2006 02:07 AM
GDM only starts failsafe sessions danns Ubuntu 3 04-20-2006 04:05 PM
Printer starts print with black, but then slowly turns to red Mistreated Linux - Hardware 2 12-25-2004 12:56 AM
RH 8.0 on Dell Optiplex starts services slowly. treimers Linux - General 3 01-19-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:03 PM.

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