Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Problems when restarting Xorg
View unanswered posts
View posts from last 24 hours

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


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Sun Sep 28, 2008 7:08 pm    Post subject: [SOLVED]Problems when restarting Xorg Reply with quote

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
View user's profile Send private message
notHerbert
Veteran
Veteran


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 2:13 am    Post subject: Reply with quote

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. :wink:
Back to top
View user's profile Send private message
Goundy
n00b
n00b


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Mon Sep 29, 2008 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
notHerbert
Veteran
Veteran


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 2:02 pm    Post subject: Reply with quote

Ok, well which *dm login manager are you using - if any?
Back to top
View user's profile Send private message
Goundy
n00b
n00b


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Mon Sep 29, 2008 2:10 pm    Post subject: Reply with quote

I'm using gdm :-)
_________________
TUXoholic
Back to top
View user's profile Send private message
notHerbert
Veteran
Veteran


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Goundy
n00b
n00b


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Mon Sep 29, 2008 2:34 pm    Post subject: Reply with quote

hmm ok notHerbet thank you
I'll try to find out how should I do that trick with gdm.

Thanks!
_________________
TUXoholic
Back to top
View user's profile Send private message
notHerbert
Veteran
Veteran


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 2:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Goundy
n00b
n00b


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Mon Sep 29, 2008 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
notHerbert
Veteran
Veteran


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Mon Sep 29, 2008 9:35 pm    Post subject: Reply with quote

Ok glad to help. :wink:

PS: Maybe you have your essid set to "any" or "dhcp" so it's not hardwired?
There is stuff here about that. http://dev.gentoo.org/~swift/linux_sea/ch10.html#id2792146
Back to top
View user's profile Send private message
Goundy
n00b
n00b


Joined: 16 Mar 2008
Posts: 33
Location: Brussels

PostPosted: Tue Sep 30, 2008 10:29 am    Post subject: Reply with quote

I get it.
Thank you very very much baby :-)
_________________
TUXoholic
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 - 5 Hours
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