Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34132 - GDM crash caused by stop shipping unnneded XDG variable presettings

Attached to Project: Arch Linux
Opened by Ken Wright (penguinsaregood) - Sunday, 03 March 2013, 15:08 GMT
Last edited by Jan de Groot (JGC) - Thursday, 07 March 2013, 09:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
GDM will not start when "unnneded" XDG variable presettings; default values should be fine for all apps


Additional info:
* package version(s)
libx11-1.5.0-2
* config and/or log files etc.


Steps to reproduce:
upgrade to libx11-1.5.0-2
reboot

Added xorg.sh, xorg.csh back to PKGBUILD, makepkg, pacman -U and it worked again
   Bug? (3.4 KiB)
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 07 March 2013, 09:05 GMT
Reason for closing:  Not a bug
Comment by Jan de Groot (JGC) - Tuesday, 05 March 2013, 11:28 GMT
My guess is that you still have some old .sh script in /etc/profile.d that overrides the XDG variables, causing the default locations to get skipped.
Comment by Ken Wright (penguinsaregood) - Tuesday, 05 March 2013, 11:57 GMT
rm /etc/profile.d/xorg.*
rm /var/cache/pacman/pkg/libx11-1.5.0-2-i686.pkg.tar.xz
pacman -S libx11
reboot
problem still exists

sudo grep -r XDG /etc/
/etc/profile.d/locale.sh:if [ -n "$XDG_CONFIG_HOME" ] && [ -r "$XDG_CONFIG_HOME/locale.conf" ]; then
/etc/profile.d/locale.sh: . "$XDG_CONFIG_HOME/locale.conf"
/etc/profile.d/kde3.sh:if [ ! -z $XDG_DATA_DIRS ]; then
/etc/profile.d/kde3.sh: export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/kde/share
/etc/profile.d/kde3.sh: export XDG_DATA_DIRS=/opt/kde/share
/etc/gconf/gconf.xml.defaults/%gconf-tree.xml: <longdesc>The XDG sound theme to use for event sounds.</longdesc>
/etc/gconf/gconf.xml.defaults/%gconf-tree.xml~: <longdesc>The XDG sound theme to use for event sounds.</longdesc>
/etc/sudoers:# Defaults env_keep += "XDG_SESSION_COOKIE"
/etc/pkcs11/modules/gnome-keyring.module:x-trust-store: pkcs11:library-manufacturer=GNOME%20Keyring;serial=1:XDG:DEFAULT
/etc/X11/xinit/xinitrc.d/pulseaudio: gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
/etc/lxdm/Xsession: if ! [ -z "$XDG_SESSION_COOKIE" ]; then
/etc/lxdm/Xsession: if ! [ -z "$XDG_SESSION_COOKIE" ]; then
/etc/#sudoers.tmp#:# Defaults env_keep += "XDG_SESSION_COOKIE"
/etc/xdg/user-dirs.conf:# the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to override this

don't see anything in /etc/
Comment by Ken Wright (penguinsaregood) - Thursday, 07 March 2013, 02:40 GMT
Finally found it

echo $XDG_DATA_DIRS
/opt/kde/share

rm /etc/profile.d/kde3.sh

I am using Gnome not Kde so I didn't look at that.
Fixed it Thank You

Loading...