LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 08-24-2010, 02:36 AM   #1
Explor
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
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
 
Old 08-24-2010, 02:42 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,443

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
You need to check the log files. The ones that I would look at are:
Code:
/var/log/Xorg.0.log
~/.xsession-errors
Evo2.
 
Old 08-24-2010, 03:18 AM   #3
Explor
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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.
Attached Files
File Type: txt Xorg.0.log.txt (24.1 KB, 6 views)
File Type: txt xsession-errors.txt (8.5 KB, 5 views)
 
Old 08-24-2010, 03:47 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,443

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
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.
 
Old 08-24-2010, 04:37 AM   #5
Explor
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
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 View Post

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
Attached Files
File Type: txt Xorg.0.log.txt (21.4 KB, 1 views)
File Type: txt xsession-errors.txt (3.5 KB, 1 views)

Last edited by Explor; 08-24-2010 at 04:40 AM.
 
Old 08-24-2010, 05:30 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,443

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
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.
 
Old 08-24-2010, 08:14 PM   #7
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
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'!
 
0 members found this post helpful.
Old 08-25-2010, 01:15 AM   #8
Explor
LQ Newbie
 
Registered: Aug 2010
Posts: 4

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


Reply

Tags
gnome, load, startx, ubuntu


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
Why wouldnt this javascript run ? newbie_0404 Linux - Software 2 06-29-2010 08:35 AM
Ubuntu 10.04,it takes time to load gnome menu cola Ubuntu 1 06-05-2010 04:15 PM
cant start gnome? startx (gnome) doesn't work? beam2008 Linux - General 4 11-13-2008 09:27 AM
cant load startx eddy98 Suse/Novell 7 03-01-2005 10:15 PM
KDE 3.3 won't load when using startx Alinuxnoob Slackware 1 09-11-2004 09:03 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration