Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-19-2007, 04:57 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Kubuntu Freeze Up on Boot up

Hi, I'm sort of a newbie with linux. I have been running kubuntu for the past several months with little to no problems. Last month or so I decided to try Beryl, but then decided I didn't like/need it. When I went into adept to uninstall beryl I think I also uninstalled some important system files, the problem is I don't know how to get them back. The ones that got uninstalled where the xserver files which I mistook as being associated with Beryl, boy was I wrong.

So the problem that I have is when I boot up everything goes fine, the kubuntu "boot" screen appears and states that everything is ok then it clears the bottom and just stays at the screen with the black background and blue lettering of "Kubuntu."

I attempted un-installing the kde desktop many of times but to no avail. Anyone have any ideas, I have important files on computer so wiping out hard drive is going to be my last option.

Old 04-20-2007, 12:42 AM   #2
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
did you try fail-safe mode
Old 04-20-2007, 12:56 PM   #3
LQ Newbie
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Yea, let me explain in more detail what happens. I can boot in recovery mode. If I try to boot Ubuntu everything goes fine, the splash screen comes up and it runs through a checklist at the bottom. After that list is complete it goes black then freezes on the splash screen. I can hit Alt+f4 and I am able to login into ubuntu command line. So from command line I type in startkde and I get this printout:
xsetroot: unable to open display
xset: unable to open display
xsetroot: unable to open display
startkde: Starting up...
ksplash: cannot connect to X server
kdeinit: Aborting. $DISPLAY is not set
Warning: connect() failed: No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file of directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts....
startkde: Done.

I've reinstalled xserver, xorg, am I missing something here? Any thoughts?
Old 04-20-2007, 01:32 PM   #4
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
Get into a command line login and say
sudo apt-get -f install
That attempts to fix any missing or partially installed packages.
Old 04-20-2007, 02:19 PM   #5
LQ Newbie
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
when I try
sudo apt-get -f install

it says 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded

So I have all the packages? I'm wondering if it has to do with configuring the X server.
Old 04-21-2007, 09:54 PM   #6
LQ Newbie
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0

Just for any one else this is how I fixed it.

sudo dpkg-reconfigure xserver-xorg

It is very important to go through the steps slowly and ensure the right options are selected. In my case they weren't.

Last edited by duderock; 04-23-2007 at 10:29 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
first boot freeze wwpusa Slackware 3 01-19-2007 03:27 AM
Daily freeze-ups with kubuntu 5.10 pterandon Ubuntu 1 04-20-2006 11:18 PM
Re-Boot Freeze mikeCanada Mandriva 0 07-09-2004 05:52 PM
freeze during boot bobo94 Linux - Software 1 08-25-2003 08:50 AM
Linux boot freeze on dual boot CrushGruve Linux - Software 1 09-01-2002 10:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 PM.

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