LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ubuntu gnome and startx wouldnt load (http://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-gnome-and-startx-wouldnt-load-828136/)

Explor 08-24-2010 02:36 AM

ubuntu gnome and startx wouldnt load
 
I am a newbie to Ubuntu and I am having problem with loading Gnome and startx. I have ubuntu 9.1 installed on my Dell Inspiron E1505 system. The problem started when gnome-power-manager started giving error regarding configuration settings not installed properly. I tried to google it and after lot of searching I figured out that my root directory is almost full. Moving some folders helped me solve the problem. But in the meantime I think I have screwed up some where. Now my Gnome or startx wouldnt load. Ubuntu logins my user profile and after that just sits that with the cursor revolving. When I press ctrl+Alt+F1 it gives no errors. Then I stop gdm by
"sudo service gdm stop"
and start startx by
"startx"
seems like Startx also doesnt start. checking again by Ctrl+Alt+F1 shows that its still running giving message like

setting master
stopping master..

Can you please help me solve the problem?

Thanks

evo2 08-24-2010 02:42 AM

You need to check the log files. The ones that I would look at are:
Code:

/var/log/Xorg.0.log
~/.xsession-errors

Evo2.

Explor 08-24-2010 03:18 AM

2 Attachment(s)
Thanks for your reply!!

I have attached the files

Also while rebooting in the recover mode the systems keeps running and doesnt give a prompt. Only while rebooting in normal mode and pressing Ctrl+Alt+F1 am I am able to get command line.

evo2 08-24-2010 03:47 AM

There seem to be a number of problems in xsession-errrors. For one thing it seem that you moved directories around you may not have put them back in the right place.

For example:
Quote:

gnome-session[11995]: WARNING: Could not launch application 'gnome-volume-manager.desktop': Unable to start application
: Failed to execute child process "/usr/lib/gnome-volume-manager/gnome-volume-manager" (No such file or directory)
You system is in a bit of a mess. I guess you could start by trying to reinstall the packages that have broken files. For example to fix the above problem you could try:

Code:

sudo apt-get install --reinstall gnome-volume-manager
Please read through your .xsession-errors log file and try to reinstall packages that correspond to the error messages (there seems to be one related to evolution).

However since I don't know what you actually did it may be difficult (but not impossible) to get your machine running correctly again. It may be worthwhile to reinstall every package. Let me know if you need more help.

Evo2.

Explor 08-24-2010 04:37 AM

2 Attachment(s)
I try to reinstall gnome-volume-manager and evolution. I also tried to reinstall blueetooth. Still I guess I am unable to log in.

I also tried to remove ubuntu-desktop and install it again using the command

sudo apt-get remove ubuntu-desktop.

Quote:

Originally Posted by evo2 (Post 4075878)

However since I don't know what you actually did it may be difficult (but not impossible) to get your machine running correctly again. It may be worthwhile to reinstall every package. Let me know if you need more help.

Evo2.

I do remember to have removed the saved_state file from ~/.gconfd.

Apart from that I did

chmod 0777 /tmp

sudo dpkg --configure -a

mkdir /var/lib/gconf/default

sudo apt-get --reinstall install ubuntu-desktop

Would there be anyway to change everything to default settings? Would that help?

Thanks

evo2 08-24-2010 05:30 PM

I suspect the "ubuntu-desktop" would just be a meta package (ie depends on other packages) so reinstalling it probably won't do anything.

To check if this is just a problem with your account you can try logging in as a different user.

Did you read your .xsession-errors? Have you tried to fix any of the errors?

Evo2.

fbobraga 08-24-2010 08:14 PM

my suggestion to OP: backup your /home folder (if it's not in a separate partition) and reinstall the entire system (this time, make a separate partition for /home) - fix the system in state it is now is not impossible, but will cost too much time/work

* doing that you don't loose any configuration for applications: it's all in '/home'!

Explor 08-25-2010 01:15 AM

Thanks all of you for your replies,

I finally was able to get GNOME working by using this commands

sudo apt-get install --reinstall gnome-session
Sudo gconf-schemas --register gnome-session.schemas

Yes as you said my GNOME was messed up. So upgraded my system to Lucid.


All times are GMT -5. The time now is 09:23 AM.