LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kubuntu Freeze Up on Boot up (https://www.linuxquestions.org/questions/linux-newbie-8/kubuntu-freeze-up-on-boot-up-547261/)

duderock 04-19-2007 03:57 AM

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.

Thanks
dude

AceofSpades19 04-19-2007 11:42 PM

did you try fail-safe mode

duderock 04-20-2007 11:56 AM

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?

Lordandmaker 04-20-2007 12:32 PM

Get into a command line login and say
Code:

sudo apt-get -f install
That attempts to fix any missing or partially installed packages.

duderock 04-20-2007 01:19 PM

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.

duderock 04-21-2007 08:54 PM

SUCCESS!

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.


All times are GMT -5. The time now is 12:04 AM.