View previous topic :: View next topic |
Author |
Message |
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Mon Dec 14, 2009 3:28 am Post subject: Upgrade to xorg-server-1.6.5 won't start Gnome, exit crashes |
|
|
I did an update world on two different boxes, one x86 and the other amd64. Both were working fine with xorg-server-1.6.3 and Gnome 2.26. Upon completion of the upgrade, neither would start gnome. I've been working on the x86 box. When I run startx, it brings up X with what I believe is twm; I have XSESSION="Gnome" in /etc/rc.conf. By searching, I got Gnome to start by putting "exec gnome-session" in ~/.xinitrc. Next, the Applications menu was empty. I found a fix for that in this forum message: https://forums.gentoo.org/viewtopic-t-793799-highlight-.html.
The last issue I have is that X is crashing when I exit. Here is the segfault from Xorg.0.log when I ran with twm:
Code: |
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8122d3b]
1: /usr/bin/X(xf86SigHandler+0x4d) [0x80ca1e0]
2: [0xb7f47400]
3: /usr/bin/X [0x81299c2]
4: /usr/bin/X(_XSERVTransWritev+0x1f) [0x8128620]
5: /usr/bin/X(FlushClient+0x119) [0x81249b1]
6: /usr/bin/X(FlushAllOutput+0x12a) [0x812523e]
7: /usr/bin/X(Dispatch+0x1fd) [0x8088880]
8: /usr/bin/X(main+0x3c2) [0x806f82d]
9: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7b446fc]
10: /usr/bin/X [0x806ed11]
|
And here is the segfault after I stuck gnome-session in .xinitrc:
Code: |
Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8122d3b]
1: /usr/bin/X(xf86SigHandler+0x4d) [0x80ca1e0]
2: [0xb7fad400]
3: /usr/bin/X(Dispatch+0x8e) [0x8088711]
4: /usr/bin/X(main+0x3c2) [0x806f82d]
5: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7baa6fc]
6: /usr/bin/X [0x806ed11]
|
I'm back up and running, but I'd like to understand what caused all these problems. I'll undoubtedly forget to undo all these changes.
Thanks. _________________ Guy Rouillier |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Dec 14, 2009 9:51 am Post subject: |
|
|
Don't know about the crashes, but do read xinit post-install message. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Dec 14, 2009 1:34 pm Post subject: |
|
|
I have the same bug. If I find the problem, I will post the solution here. |
|
Back to top |
|
|
lexming Tux's lil' helper
Joined: 04 Jan 2007 Posts: 123 Location: Barcelona
|
Posted: Mon Dec 14, 2009 4:04 pm Post subject: |
|
|
I had asimilar problem after the update. I just edited as root the file /etc/conf.d/xdm and changed the DISPLAYMANAGER="xdm" to DISPLAYMANAGER="gdm".
In my case this config file was updated on the update and this setting was changed automatically.
But having on /etc/rc.conf the setting SESSION="Gnome" should work because this file has precedence over conf.d/xdm I think. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Mon Dec 14, 2009 10:11 pm Post subject: |
|
|
My bug was from GDM itself. When you first logon, you need to manually set WM with the left radio button. |
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Tue Dec 15, 2009 12:00 am Post subject: |
|
|
Setting the DISPLAYMANAGER="gdm" unfortunately didn't do anything for me. I start up in console mode and then startx to get into Gnome, so I don't use a graphical logon manager.
Where would I find the xinit post-install message?
Thanks. _________________ Guy Rouillier |
|
Back to top |
|
|
rlodwig n00b
Joined: 23 Sep 2009 Posts: 12
|
Posted: Tue Dec 15, 2009 2:56 pm Post subject: |
|
|
eread (needs gentoolkit) will display, or you could take a look at "/var/log/portage/elog/summary.log" (for me at least).
Code: | >>> Messages generated by process 3845 on 2009-12-14 13:52:23 EST for package x11-apps/xinit-1.2.0-r3:
WARN: postinst
If you use startx to start X instead of a login manager like gdm/kdm,
you can set the XSESSION variable to anything in /etc/X11/Sessions/ or
any executable. When you run startx, it will run this as the login session.
You can set this in a file in /etc/env.d/ for the entire system,
or set it per-user in ~/.bash_profile (or similar for other shells).
Here's an example of setting it for the whole system:
echo XSESSION="Gnome" > /etc/env.d/90xsession
env-update && source /etc/profile
|
|
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Tue Dec 15, 2009 6:13 pm Post subject: |
|
|
rlodwig, thanks. Following those instructions allowed me to remove .xinitrc and now Gnome is starting up for all users again.
Does this mean that /etc/rc.conf is no longer used? _________________ Guy Rouillier |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Dec 15, 2009 10:51 pm Post subject: |
|
|
No, GDM has the ability to start your WM, but sometimes, you can't and the 90xsession will do the job or /etc/rc.conf is you use baselayout 1.x. |
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Wed Dec 16, 2009 5:51 pm Post subject: |
|
|
Well, I'm using baselayout 1.12.13, and rc.conf was not doing the job. _________________ Guy Rouillier |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Dec 16, 2009 10:19 pm Post subject: |
|
|
In fact, the first time that you run GDM, you need to tell it what to launch. |
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Wed Dec 16, 2009 10:43 pm Post subject: |
|
|
which video card/driver are you using?
I had similar problem with the latest libdrm-2.4.16 (actually keyworded) and my Intel i915, gdm starts but logging in with gnome causes Xorg to crash... downgrading to stable libdrm-2.4.15 and then xorg, mesa and intel-driver rebuild worked for me _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
razvanz n00b
Joined: 13 Aug 2007 Posts: 16
|
Posted: Thu Dec 17, 2009 7:21 pm Post subject: |
|
|
I have the same problem but with KDE. I updated Xorg and now when using startx only Xorg starts.
I don't have kdm and I can only start kde from the X server (after Xorg started).
Any ideas? |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Thu Dec 17, 2009 9:06 pm Post subject: |
|
|
Same problem with KDE.
I updated KDE from 4.3.1 to 4.3.4 and now Xorg don't start; if i use the interactive boot, i can start kde with startx, but mouse and keyboard don't works... |
|
Back to top |
|
|
razvanz n00b
Joined: 13 Aug 2007 Posts: 16
|
Posted: Thu Dec 17, 2009 9:12 pm Post subject: |
|
|
Try to re-emerge these 2 packages: xf86-input-mouse and xf86-input-keyboard and see if u can use the keyboard and mouse again. |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Thu Dec 17, 2009 9:54 pm Post subject: |
|
|
The same problem: mouse and keyboard don't works.
I use Xorg 1.6.5, kde 4.3.4 on kernel-2.6.31-gentoo-r6 with a Nvidia GT240 video card. |
|
Back to top |
|
|
razvanz n00b
Joined: 13 Aug 2007 Posts: 16
|
Posted: Thu Dec 17, 2009 10:04 pm Post subject: |
|
|
Have u tried revdep-rebuild?
I've managed to solve my problem by deleting my user and creating it again, it must have been an permission issue as I was able to start kde as root. |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Thu Dec 17, 2009 10:07 pm Post subject: |
|
|
My kde start only manually with startx as root or user, but mouse and keyboard don't works. |
|
Back to top |
|
|
razvanz n00b
Joined: 13 Aug 2007 Posts: 16
|
Posted: Thu Dec 17, 2009 10:20 pm Post subject: |
|
|
Post your Xorg.0.log file. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Dec 18, 2009 9:37 am Post subject: |
|
|
@mrl4n: hal/evdev sticky. |
|
Back to top |
|
|
198728 l33t
Joined: 08 Apr 2009 Posts: 693
|
Posted: Fri Dec 18, 2009 9:29 pm Post subject: |
|
|
In the xorg.0.log I read Code: |
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "xtrap" (module does not exist, 0)
(EE) config/hal: couldn't initialize context: unknow error (null) |
|
|
Back to top |
|
|
|