From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix installed Emacs Date: Mon, 18 Apr 2016 22:29:03 +0300 Message-ID: <87a8kqk96o.fsf@gmail.com> References: <87potpj4w6.fsf@gmail.com> <877ffxixed.fsf@gmail.com> <20160416125924.GA11009@protected.rcdrun.com> <87shykd4lr.fsf@gmail.com> <8760vgtf1k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asEr7-00060T-1G for help-guix@gnu.org; Mon, 18 Apr 2016 15:29:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1asEr3-0003FB-NA for help-guix@gnu.org; Mon, 18 Apr 2016 15:29:08 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:33970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1asEr3-0003F3-Ea for help-guix@gnu.org; Mon, 18 Apr 2016 15:29:05 -0400 Received: by mail-lf0-x243.google.com with SMTP id e190so27797539lfe.1 for ; Mon, 18 Apr 2016 12:29:05 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Mon, 18 Apr 2016 14:39:47 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix@gnu.org Catonano (2016-04-18 15:39 +0300) wrote: > I have some news about this > > Suddenly I couldn't log in anymore as catonano. The login window > didn't let the desktopo come up, rather it popped up again and again > > I logged in as root and saw some gvfs and gsettings segfaults in the > dmesg output. > > The only new thing was the XDG_DATA_DIRS setting, so I commented it > and than I could log in again as catonano Ouch, I think this could happen just because Fedora doesn't set a default value of xdg variables. So when some program sees that XDG_DATA_DIRS is set, it doesn't use /usr/share anymore. So the problem you faced will probably be fixed if you also append /usr/share to XDG_DATA_DIRS. I would do it like this: # Set XDG variables to default values if needed. [ ! -v XDG_DATA_DIRS ] && [ -d /usr/share ] && export XDG_DATA_DIRS=/usr/share [ ! -v XDG_CONFIG_DIRS ] && [ -d /etc/xdg ] && export XDG_CONFIG_DIRS=/etc/xdg export XDG_DATA_DIRS="$HOME/.guix-profile/share:$XDG_DATA_DIRS" -- Alex