Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNOME refuses to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gratewhitesmurf
n00b
n00b


Joined: 29 Jul 2011
Posts: 4
Location: State College, PA

PostPosted: Mon Aug 01, 2011 10:42 pm    Post subject: GNOME refuses to start Reply with quote

I've seen a few threads that say GNOME lets a user login, but then it freezes. That is not my problem, GNOME refuses to start before the login screen.
I recently got a new SSD to use as my boot disc/swap space. When I got it I reinstalled Gentoo onto it. I don't think I messed up the installation; I've done it a few times before and know my way around the installation process.

So anyway here's the problem: I installed Gentoo, X and GNOME and all seemed well. I started up GNOME the first time and it started up just fine, but a few minutes in it froze. So I reboot and the same thing happens, so I reboot. This time after I start X the monitor turns off, more accurately the monitor stops receiving a signal and shuts itself down. I think maybe I screwed up the installation, so I reinstall. Same thing. I think maybe it's the disk, so I try one of my HDDs, same thing. I also try a different distribution, I don't have the problem with Mint, but I don't want Mint.

Here's where it get's weird, after all this I try to reboot into Gentoo and it works on the firs try, just like it should. Later that day I reboot and it starts up right away. Now I had to do a hard reboot and it's back to not starting GNOME properly.

I've used ssh to login to my computer both when just the screen froze while I was doing stuff and when it froze before I could login and in both cases the computer still functions. I have no idea where I would even start to look to solve this problem. Any help anyone could give me would be wonderful.
Back to top
View user's profile Send private message
devNERD
n00b
n00b


Joined: 31 Jul 2011
Posts: 18
Location: South Carolina, USA

PostPosted: Mon Aug 01, 2011 11:36 pm    Post subject: Reply with quote

post the results of:
Code:

cat ~/.xinitrc

Could also be a driver problem with X.
_________________
devNERDS Forum
Back to top
View user's profile Send private message
_brian_
n00b
n00b


Joined: 02 Aug 2011
Posts: 16

PostPosted: Tue Aug 02, 2011 3:50 am    Post subject: Reply with quote

Have you looked in /var/log/Xorg.log or ~/.xsession-errors ?
Back to top
View user's profile Send private message
gratewhitesmurf
n00b
n00b


Joined: 29 Jul 2011
Posts: 4
Location: State College, PA

PostPosted: Wed Aug 03, 2011 12:37 am    Post subject: Reply with quote

Thanks for the response y'all.

I have no file by the name ~/.xinitrc, I was able to find a /etc/X11/xinit/xinitrc
Code:
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/Xresources
sysmodmap=/etc/X11/xinit/Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then

    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs


if [ -n "`/etc/X11/chooser.sh`" ]; then
   command="`/etc/X11/chooser.sh`"
else
   failsafe="yes"
fi

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
   for f in /etc/X11/xinit/xinitrc.d/* ; do
      [ -x "$f" ] && . "$f"
   done
   unset f
fi

if [ -n "$failsafe" ]; then
   twm &
   xclock -geometry 50x50-1+1 &
   xterm -geometry 80x50+494+51 &
   xterm -geometry 80x20+494-0 &
   exec xterm -geometry 80x66+0+0 -name login
else
   exec $command
fi


_brian_

/var/log/Xorg.log is showing now errors.

~/.xsession-errors however is showing something that I don't understand.

(gdu-notification-daemon:17315): libgdu-WARNING **: unhandled property 'DeviceAutomountHint

This message is repeated several times and then followed by

Gtk-Message: Failed to load module "gnomesegvhandler"


As it stands I think this is a hardware problem. Gnome boots fine if I leave the computer off for a while after it crashes, so I think my GPU may be overheating. I'll install a few extra fans sometime this weekend and see if that helps any. However this doesn't make a whole lot of sense to me as it only seems to crash when I use flash, but I can play minecraft for long periods of time. I feel minecraft should more of a strain on my graphics card than flash.
Back to top
View user's profile Send private message
devNERD
n00b
n00b


Joined: 31 Jul 2011
Posts: 18
Location: South Carolina, USA

PostPosted: Wed Aug 03, 2011 2:22 am    Post subject: Reply with quote

First of all get your ~/.xinitrc working right by doing this:
Code:

echo "exec gnome-session" > ~/.xinitrc
sed -i '1i\export XDG_MENU_PREFIX=gnome-' ~/.xinitrc

Do those commands logged in as the user that you will be using daily. NOT THE ROOT ACCOUNT!
If that doesn't fix it let me know. =)

PS: that is a one (1) at the beginning of quotes in that sed command.
_________________
devNERDS Forum
Back to top
View user's profile Send private message
tetromino
Retired Dev
Retired Dev


Joined: 02 Dec 2003
Posts: 215

PostPosted: Wed Aug 03, 2011 11:37 pm    Post subject: Reply with quote

gratewhitesmurf wrote:
As it stands I think this is a hardware problem.

That would be my guess too. You might have bad memory (run memtest86+ overnight to check); your CPU might have shifted in its socket when you were installing the new hard drive and now it's getting occasional read errors (AMD processors with an integrated memory controller are prone to this); might be a failing power supply; a SATA cable might be loose in its socket; etc, etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum