Page 1 of 1

Heads up. Arch Bug #20264 & what to do

Posted: 12 Aug 2010, 05:22
by dedanna1029
This last kernel, nvidia, xorg upgrade has been the pits. The issue has been exactly the same with both Arch and Fedora, and I'm suspecting it's with other distros as well.

I am currently unable to get into gnome on either distro - Have just spent over an hour trying to get gdm to start with no go and a helluva lot of programming errors (why devels have to fix things 'til they're broke is beyond me). kde starts fine in Arch. Have not tried Fedora KDE yet, but the errors I'm getting are the exact same thing in both distros when I try to start gdm.

So, how did I get in did you ask? Install kdm? Oh hell no. I installed gnome-old from yaourt, told it kde for the session when I got to its login screen (it also flashed the same gdm errors btw, BUT IT LOADED). So, here I am in my ever-so-detested kde.

Edit: I found the full error from ~/.xsession-errors:

Code: Select all

/etc/gdm/Xsession: Beginning session setup...
/etc/bash_completion.d/git: line 123: syntax error near unexpected token `<'
/etc/bash_completion.d/git: line 123: `   done < <(git config -z --get-regexp '^(svn-remote\..*\.url|bash\.showupstream)$' 2>/dev/null | tr '\0\n' '\n ')'
gdm-binary: 13929 Could not acquire name: bailing out
And then everything times out on me, disables itself for 5 minutes, does it again.


What do you make of this? I'd love to be able to get back into gnome again SOMEDAY.

Edit: Here is the bug, and it is indeed an upstream bug. Also see 20288, a git error (which is what I'm seeing here, and others are too). The good thing is in Arch I could find the file to modify as per the second comment on bug #20264; however, Fedora throws the same error, and I can't find that git file anywhere in it to modify.

Thanks.

Re: Heads up.

Posted: 12 Aug 2010, 06:39
by dedanna1029
Workaround (for Arch only), uninstall gdm, and install gdm-old from AUR/yaourt. Works like a charm. :)

As for Fedora, with them not having a gdm-old, it's borked on Gnome for now (and probably everything else too; I can't get past "Starting atd" right now due to this crapola). I suppose if one can get to a prompt in tty, they could uninstall bash-completion. *shrug*

Re: Heads up. Arch Bug #20264 & what to do

Posted: 12 Aug 2010, 10:49
by viking60
This is not a problem here. But the gdm should be started in /etc/inittab and please make sure it is not in the deamons in rc.conf as well! Comment out kde too in those deamons with a "!" in front of it.
That should do it.
inittab:
:) cat /etc/inittab
#
# /etc/inittab
#

# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

Daemons rc.conf:

Code: Select all

DAEMONS=(syslog-ng !dbus hal @network @netfs @crond @sshd @samba @alsa @httpd @mysqld @cups !webmin @rpcbind @nfs-common @nfs-server @avahi-daemon !kdm)

Re: Heads up. Arch Bug #20264 & what to do

Posted: 12 Aug 2010, 14:31
by dedanna1029
It doesn't. It doesn't have anything to do with that. It has to do with the new gdm itself being borked. Nothing helps this 'til they fix that bug, other than to modify the git file and install gdm-old, uninstall the new gdm. All of that that you mention there was long ago done. Doesn't matter whatcha got right or wrong, gdm still will not load, and X will time out every several seconds, eventually disabling itself for 5 minutes. What version of gdm are you on btw? This affects 2.30.4xxx

Pls stay OT boss - this deals directly with the bug.

Re: Heads up. Arch Bug #20264 & what to do

Posted: 12 Aug 2010, 16:42
by dedanna1029
Update: Reinstalled gnome-session, which was orphaned by gdm-old, and I'm in Gnome now using gdm-old in Arch. :mrgreen:

Re: Heads up. Arch Bug #20264 & what to do

Posted: 13 Aug 2010, 11:11
by viking60
I am on:

Code: Select all

:) pacman -Q gdm
gdm 2.30.4-2

I should be affected then.
And as I stated above no problems/timeouts here now. I don't quite follow how those bugs are about gdm?
Anyway; since I do not have the bug (anymore) I would have thought that the above would help.

Re: Heads up. Arch Bug #20264 & what to do

Posted: 13 Aug 2010, 17:29
by dedanna1029
The new gdm doesn't start when one cops this bug. That's the problem. Then X keeps timing out in tty when it hasn't even started. All kinds of crappy things happen. So, I just installed gdm-old, and now it works fine in Arch LOL. Read the bug that it's referring to in the bottom comment. They've seriously hosed git, which is to do with /etc/profiles, so all this happens.

Re: Heads up. Arch Bug #20264 & what to do

Posted: 28 Sep 2010, 21:51
by dedanna1029
One can also try uninstalling bash-completion. It just worked for me with the new gdm.

Re: Heads up. Arch Bug #20264 & what to do

Posted: 02 Oct 2010, 23:14
by dedanna1029
Except for with this update that I just did.

Bash-completion remained uninstalled, git updated, and I can't get back in - exact same thing. Will post logs when I can get it sorted.

I'm beginning to think now that when they updated git, they didn't allot for this bug. Am in Fedora (without the damn nvidia driver, on nv) now - am going to go after a bit to run the debugging on Arch.