Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Suddenly X doesn't work correctly [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Tue Jan 02, 2007 12:55 pm    Post subject: Suddenly X doesn't work correctly [solved] Reply with quote

All I did was to unemerge mysql-5.0.30 and then emerge it again, and now X doesnt startup correctly, or there might be som other problem as well. All I get is the usual boot ending with "setting up gdm", but then I'm greeted with the default X background and cursor for a few seconds, then X is restarted, after the sixth restart of X it waites for two minutes and then everything starts over.
I'm not very familiar with linux and I have absolutely no idea what might be wrong. :( Please help!


Last edited by linga on Thu Jan 04, 2007 9:25 am; edited 1 time in total
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Tue Jan 02, 2007 1:24 pm    Post subject: Re: Suddenly X doesn't work correctly Reply with quote

linga wrote:
after the sixth restart of X it waites for two minutes and then everything starts over.
I'm not very familiar with linux and I have absolutely no idea what might be wrong. :( Please help!

In these two minutes, can you switch to the text console with <Ctrl>-<Alt>-<F1> or <Alt>-<F1>? Then stop gdm with "/etc/init.d/xdm stop", and start repairing in text mode 8)

Look at the log files for error messages. The files should be in /var/log, their exact names depend on the installed logger. Candidates on my box are /var/log/messages, /var/log/Xorg.0.log, and /var/log/kdm.log . Please post your error messages for further help.

You might try revdep-rebuild, though this kind of error doesn't sound like it would help.

FF,

Daniel
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Tue Jan 02, 2007 3:08 pm    Post subject: Reply with quote

Yes, I can switch to the text console, I'll check things out and post the results.
Back to top
View user's profile Send private message
harrisonmetz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2006
Posts: 93
Location: Chicago, IL

PostPosted: Tue Jan 02, 2007 4:47 pm    Post subject: Reply with quote

Can you start x with no problem of restarts. By that I mean shutdown xdm and start it:
As root:
Code:

/etc/init.d/xdm stop
X &

Switch back to your real terminal ctrl+alt+1 (or whatever num)
Code:

DISPLAY=:0 xterm

switch back to X ctrl+alt+7
Then see if you can use that with no problem. Perhaps is the display manager or a program, not the x server.
Back to top
View user's profile Send private message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Tue Jan 02, 2007 5:34 pm    Post subject: Reply with quote

Harrisonmetz:
Yes, i can start X as you said (except I used Ctrl+Alt+F1 and Ctrl+Alt+F7)
I can also run startx wich starts X and xfce

tuam:
I looked in the logs and Xorg.0.log revealed nothing except some warnings about font directories.
Then I looked in the gdm logs and it seems like four the last logs report:
Quote:

Unable to get keyboard.
xnest warning: unhadled event

Or, two of the logs report the xnest warning and two don't. There's also a line about freefonts, but thats just a notification and not an error.
Back to top
View user's profile Send private message
harrisonmetz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2006
Posts: 93
Location: Chicago, IL

PostPosted: Tue Jan 02, 2007 7:07 pm    Post subject: Reply with quote

So GDM seems like the problem then. Did you keyboard work when you started X the other way? could you type in the xterm? You should try to unmerge gdm and emerge it again. Have you done any custom modification to your gdm conf file? Also, have you synced emerge and updated the world recently.
Code:

emerge --unmerge gdm
emerge --sync
emerge --update --newuse --deep world -p #Lets see what it will emerge
emerge --update --newuse --deep world
emerge gdm #if world did not already install it


Also are you ia32 or amd64?
Back to top
View user's profile Send private message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Tue Jan 02, 2007 8:12 pm    Post subject: Reply with quote

Ok, I'll try the revdep-rebuild first just in case, but if that don't work I'll reemerge gdm. My computer is an ooold AMD K6 3D so I don't think there is a platform-problem. Besides, it worked yesterday.
Back to top
View user's profile Send private message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Tue Jan 02, 2007 9:29 pm    Post subject: Reply with quote

Yay! Suddenly it's working again! :D
I did the emerge --update --newuse --deep world and then it just worked!
My guess is that it was libtng that did it, it was one of the three packages that were updated, the second was ccache and third one was some tiny package that I don't remember.
Quite strange that it didn't work though, I updated the entire system maybe four or five days ago.
Back to top
View user's profile Send private message
harrisonmetz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2006
Posts: 93
Location: Chicago, IL

PostPosted: Tue Jan 02, 2007 10:29 pm    Post subject: Reply with quote

Alright thats good! how do you add a [solved] to the top?
Back to top
View user's profile Send private message
linga
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 131

PostPosted: Thu Jan 04, 2007 9:29 am    Post subject: Reply with quote

harrisonmetz wrote:
Alright thats good! how do you add a [solved] to the top?

I wasn't shure actually, and you kind of remembered me that I should do that.. :)
All you need to do is to go too the topmost message and klick edit, then you change the heading or title or whatever the topmost field is called to say "[solved]" at the end of it.
Thanks for all the help!
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