| View previous topic :: View next topic |
| Author |
Message |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Sun Sep 28, 2008 7:08 pm Post subject: [SOLVED]Problems when restarting Xorg |
|
|
Hi guys,
weird problem !
When I boot up my system everything is okay ! no problems
But If I plan to restart X later it crash :/, I'm unable to figure out the exact reason.
Here's some informations:
emerge --info: http://rafb.net/p/zZYNhR57.html
xorg log: http://rafb.net/p/r8qy0M16.html
xorg.conf: http://rafb.net/p/MoqcPT38.html
Thanks in advance _________________ TUXoholic
Last edited by Goundy on Tue Sep 30, 2008 10:29 am; edited 1 time in total |
|
| Back to top |
|
 |
notHerbert Veteran


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 2:13 am Post subject: |
|
|
Your xorg is configured to run ati drivers which you probably don't have installed.
Try this | as root: | cd
/etc/init.d/xdm stop
X -configure
X -config /root/xorg.conf.new |
You should have a grey screen with an X cursor. Use ctrl+alt+bkspc to exit.
If this worked, copy file /root/xorg.conf.new to /etc/X11/xorg.conf and you're good to go.  |
|
| Back to top |
|
 |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Mon Sep 29, 2008 1:28 pm Post subject: |
|
|
| Quote: | | Your xorg is configured to run ati drivers which you probably don't have installed. |
Of course I do have ati-drivers installed
Well, if I use the generated /root/xorg.conf.new it will not use my ati-drivers (already tried that) _________________ TUXoholic |
|
| Back to top |
|
 |
notHerbert Veteran


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 2:02 pm Post subject: |
|
|
| Ok, well which *dm login manager are you using - if any? |
|
| Back to top |
|
 |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Mon Sep 29, 2008 2:10 pm Post subject: |
|
|
I'm using gdm  _________________ TUXoholic |
|
| Back to top |
|
 |
notHerbert Veteran


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 2:28 pm Post subject: |
|
|
Ok,I haven't used gdm in a while, sometimes I use kdm and recently I noticed problems when I restarted X through /etc/init.d/xdm. It looked like kdm was not using xorg.conf - at least on restarts - weird.
So I added -config /etc/X11/xorg.conf to the X start command in kdmrc which fixed the problem.
| /usr/kde/3.5/share/config/kdm/kdmrc: | | ServerCmd=/usr/bin/X -br -config /etc/X11/xorg.conf |
I realise it's not gdm, but it may or may not be a similar situation. |
|
| Back to top |
|
 |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Mon Sep 29, 2008 2:34 pm Post subject: |
|
|
hmm ok notHerbet thank you
I'll try to find out how should I do that trick with gdm.
Thanks! _________________ TUXoholic |
|
| Back to top |
|
 |
notHerbert Veteran


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Mon Sep 29, 2008 2:40 pm Post subject: |
|
|
This ought to do it. Hope it works.
| cat /etc/X11/gdm/custom.conf: | [servers]
[server-Standard]
name=Standard server
command=/usr/bin/X -br -audit 0 -config /etc/X11/xorg.conf |
|
|
| Back to top |
|
 |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Mon Sep 29, 2008 3:44 pm Post subject: |
|
|
Man thank you very much. You always give me my required solution !
Now I've a last question related to X.
Well, I figured out why I'm getting this:
| Code: | Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified |
That's because when I change my connection essid it changes my hostname to some "new-host". I'm looking for a way to prevent that and always keep my default hostname "localhost"
Thanks _________________ TUXoholic |
|
| Back to top |
|
 |
notHerbert Veteran


Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
|
| Back to top |
|
 |
Goundy n00b

Joined: 16 Mar 2008 Posts: 33 Location: Brussels
|
Posted: Tue Sep 30, 2008 10:29 am Post subject: |
|
|
I get it.
Thank you very very much baby  _________________ TUXoholic |
|
| Back to top |
|
 |
|