View previous topic :: View next topic |
Author |
Message |
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Tue Jan 02, 2007 12:55 pm Post subject: Suddenly X doesn't work correctly [solved] |
|
|
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 |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Tue Jan 02, 2007 1:24 pm Post subject: Re: Suddenly X doesn't work correctly |
|
|
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
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 |
|
|
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Tue Jan 02, 2007 3:08 pm Post subject: |
|
|
Yes, I can switch to the text console, I'll check things out and post the results. |
|
Back to top |
|
|
harrisonmetz Tux's lil' helper
Joined: 24 Apr 2006 Posts: 93 Location: Chicago, IL
|
Posted: Tue Jan 02, 2007 4:47 pm Post subject: |
|
|
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)
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 |
|
|
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Tue Jan 02, 2007 5:34 pm Post subject: |
|
|
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 |
|
|
harrisonmetz Tux's lil' helper
Joined: 24 Apr 2006 Posts: 93 Location: Chicago, IL
|
Posted: Tue Jan 02, 2007 7:07 pm Post subject: |
|
|
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 |
|
|
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Tue Jan 02, 2007 8:12 pm Post subject: |
|
|
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 |
|
|
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Tue Jan 02, 2007 9:29 pm Post subject: |
|
|
Yay! Suddenly it's working again!
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 |
|
|
harrisonmetz Tux's lil' helper
Joined: 24 Apr 2006 Posts: 93 Location: Chicago, IL
|
Posted: Tue Jan 02, 2007 10:29 pm Post subject: |
|
|
Alright thats good! how do you add a [solved] to the top? |
|
Back to top |
|
|
linga Tux's lil' helper
Joined: 11 Dec 2006 Posts: 131
|
Posted: Thu Jan 04, 2007 9:29 am Post subject: |
|
|
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 |
|
|
|