View previous topic :: View next topic |
Author |
Message |
t0c Tux's lil' helper
Joined: 28 Jan 2004 Posts: 76
|
Posted: Wed May 20, 2009 8:22 pm Post subject: Xorg Crashing on startx |
|
|
Hi,
I've just gotten a new install on my computer and X has been acting up.
X.log
http://pastebin.com/m48787c30
xorg.conf
http://pastebin.com/m200eda76
emerge --info
http://pastebin.com/m242b9db
rc-update show
http://pastebin.com/m664c5134
Any help would be greatly appreciated.
Also, so I don't make another post. Seems my /usr/bin/xdm has gone missing through some miracle (sarcasm) and X can't find the freetype module either *boggle* so I've commented it out till I get the bigger issue of X starting out of the way.
/etc/init.d/xdm restart
* Stopping xdm ...
/sbin/start-stop-daemon: stat /usr/bin/xdm: No such file or directory (No such file or directory) [ ok ]
* Setting up xdm ...
start-stop-daemon: stat /usr/bin/xdm: No such file or directory (No such file or directory)
* ERROR: could not start the Display Manager |
|
Back to top |
|
|
Malvineous Apprentice
Joined: 20 Oct 2006 Posts: 281 Location: Brisbane, Australia
|
Posted: Thu May 21, 2009 3:10 am Post subject: |
|
|
Crashing like this can often be caused by libraries compiled against an old version of some other library. When you upgrade one library, the other library breaks, and if it was an important one, the application using it will crash.
The solution in this case is to recompile all affected programs and libraries. revdep-rebuild should help, but failing that re-emerging X11 should fix the problem (just remember to use --deep to recompile everything used by X11 too!) |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu May 21, 2009 4:44 am Post subject: |
|
|
Actually, crashes like that happen when you haven't set up X properly. Start by emerge -av xorg-x11. That should install all the fonts you need. Once you get your fonts installed, retry and we'll go from there.
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
Malvineous Apprentice
Joined: 20 Oct 2006 Posts: 281 Location: Brisbane, Australia
|
Posted: Thu May 21, 2009 5:10 am Post subject: |
|
|
How do you misconfigure X11 so that it segfaults? Sure I've seen it fail to load with a misconfiguration, but never segfault. At any rate, given that the OP reported X as "acting up" that implies it was working, but now it's not. So presumably it was set up correctly at some point in the past. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu May 21, 2009 5:46 am Post subject: |
|
|
If it hasn't been set up properly, the wrong USE flags were used, hal/dbus not set up properly, kernel misconfiguration, etc. I've seen quite a few failures caused by improperly configured X.
As per the issue in this thread, considering that X requires basic fonts to work, and no fonts were loaded, I'd say that's a misconfiguration...at the very least a sloppy setup. And yes, X will segfault without fonts.
Next question...
Blessed be!
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu May 21, 2009 11:27 am Post subject: |
|
|
Hi, you should do this :
1. Enable the use hal and dbus inside your /etc/make.conf
2. Code: | # emerge -auDNv world |
3 . Code: | # rc-update add hald default |
4. Use this /etc/X11/xorg.conf
Code: |
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0"
EndSection
Section "Monitor"
Identifier "Acer AL2216W"
HorizSync 30.0 - 82.0
VertRefresh 56.0 - 76.0
ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
Option "DPMS"
EndSection
Section "Device"
Identifier "Vcard"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Vcard"
Monitor "Acer AL2216W"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1680x1050" "1440x1440" "1360x850" "1280x1024" "1280x960"
EndSubSection
EndSection
|
|
|
Back to top |
|
|
|