LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-13-2010, 10:21 PM   #1
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Rep: Reputation: 21
GUI doesn't always start on startup (Kubuntu)


A lot of times when I start up my computer, instead of the graphical login screen I'm brought to a CLI login. If I log in and do "startx," it'll start KDE, but sound doesn't work and the shutdown/restart options disappear. (The logout option is still there.)

It's inconsistent; sometimes it'll start the GUI and sometimes it won't. I have yet to find out what causes it to work right and what causes it to bring me to the CLI.

When it doesn't work, if I run "shutdown -r now" or "shutdown -h now," it'll start the GUI as the computer is shutting down.

I've tried Ctrl+Alt+F7 when it's brought me to the CLI, but it didn't do anything.

Does anybody have any idea why it might be doing this?
 
Old 03-14-2010, 08:10 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
I would check /var/log/Xorg.0.log and /var/log/errors.log. Often, if the GUI fails to start, it's something to do with your graphics card or driver.

Instead of doing startx, try restarting kdm.
Code:
sudo service kdm restart
 
Old 03-27-2010, 09:20 PM   #3
adanedhel728
Member
 
Registered: Sep 2007
Distribution: Ubuntu Lucid
Posts: 122

Original Poster
Rep: Reputation: 21
There wasn't a file called /var/log/errors.log, and /var/log/Xorg.0.log didn't have any listings of errors. Also, sudo service kdm restart said "restart: Unknown instance."

Also, I'm finding that the GUI does start after a couple of minutes, but obviously it's a huge pain.
 
  


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
samba refuses to start on startup, but will start manually pepsimachine15 Linux - Software 8 04-20-2009 11:03 AM
kubuntu startup itsmillertime167 Linux - Newbie 2 01-14-2009 08:14 PM
Kubuntu 7.04 hangs on startup sydney-troz Ubuntu 1 05-30-2007 06:20 PM
Edit startup programs in GUI mode. (Kubuntu 7.04) caa1980 Ubuntu 2 05-28-2007 10:25 PM
Kubuntu startup question tokyo_ Ubuntu 2 06-16-2006 02:02 AM

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

All times are GMT -5. The time now is 09:28 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