From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OKN2F//t8F/AewAA0tVLHw (envelope-from ) for ; Sat, 02 Jan 2021 22:04:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uOAmE//t8F+VKAAAbx9fmQ (envelope-from ) for ; Sat, 02 Jan 2021 22:04:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B932B940105 for ; Sat, 2 Jan 2021 22:04:46 +0000 (UTC) Received: from localhost ([::1]:54256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvp0v-0002mS-Gp for larch@yhetil.org; Sat, 02 Jan 2021 17:04:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvp0f-0002mI-UL for help-guix@gnu.org; Sat, 02 Jan 2021 17:04:30 -0500 Received: from forward102p.mail.yandex.net ([77.88.28.102]:45080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvp0d-0007Oi-6X for help-guix@gnu.org; Sat, 02 Jan 2021 17:04:29 -0500 Received: from iva3-22c7ad945a2f.qloud-c.yandex.net (iva3-22c7ad945a2f.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:4918:0:640:22c7:ad94]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 672AC1D40DAB; Sun, 3 Jan 2021 01:04:19 +0300 (MSK) Received: from iva8-174eb672ffa9.qloud-c.yandex.net (iva8-174eb672ffa9.qloud-c.yandex.net [2a02:6b8:c0c:b995:0:640:174e:b672]) by iva3-22c7ad945a2f.qloud-c.yandex.net (mxback/Yandex) with ESMTP id rZD1zLlsCe-4JHq8sia; Sun, 03 Jan 2021 01:04:19 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1609625059; bh=CM//wLE5k+HB6aSCEldNz6f5ULWKrZr+GEHktjw2u08=; h=In-reply-to:Subject:Cc:From:To:Date:References:Message-ID; b=CTmCTJIy58l1OPfSCWWgJJSZdjZD9/dBiT6s78T/zxA1JjlXJZYC4Z5Y/Vs/7VDyI YNyfBurbaFEKMFAhhT3TB0mxIwHrWam3xXlIJ32532g1FILBPEYJlsUW/28bo1EugZ mJmaG0SK/HT1j8yYz//I+ZMSEKk7dVCvok2QZyvc= Received: by iva8-174eb672ffa9.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id rZtspEeq92-4HIeFJCl; Sun, 03 Jan 2021 01:04:17 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) References: <48099c1e-63b9-d252-bb48-8c11f90a45ee@posteo.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Vladimir Sedach To: Olivier Rojon Subject: Re: EXWM: file or program not found, ls In-reply-to: <48099c1e-63b9-d252-bb48-8c11f90a45ee@posteo.net> Date: Sat, 02 Jan 2021 13:56:00 -0800 Message-ID: <878s9bdmvj.fsf@t43.orion.oneofus.la> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=77.88.28.102; envelope-from=vas@oneofus.la; helo=forward102p.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=oneofus.la header.s=mail header.b=CTmCTJIy; dmarc=pass (policy=none) header.from=oneofus.la; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: B932B940105 X-Spam-Score: -1.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: ABVRO0VO75X1 Olivier Rojon writes: > Any help or pointer is greatly appreciated. I hope I have provided > the necessary information, otherwise feel free to ask. The first thing to verify is that your login shell configuration (.bashrc or .profile) is set up with the proper PATH, etc. The defaults are. > Then I was told to "source /etc/profile" from a file such as .xinitrc > / .xsessions, which I tried but which also didnt work because gdm > stayed in place via the system configuration (there has been a > helpful HOWTO by Alex Kost, which I might try as well if nothing else > helps). It is a little suspicious that gdm does not load the defaults for a session. What happens if you create a new user and try to log in as that user? To configure the X login session, file is ~/.xsession and it should be set to be executable. Almost all X Window System distributions and session managers are set up to use this file (some of them require the file to be executable), and I assume gdm does as well (I run slim-service-type as my session manager on Guix System). Here is what my ~/.xession looks like: --8<---------------cut here---------------start------------->8--- . ~/.profile . ~/.xinitrc --8<---------------cut here---------------end--------------->8--- Instead of repeating the environment variable setup (sourcing /etc/profile, etc.) for X, you can source your shell configuration file. .xinitrc is there to load any X specific configuration (keyboard, etc) and to start the window manager. Note that this is not Guix or EXWM specific, it is an X configuration issue. I use the same .xsession on Debian and OpenBSD (which is one of the reasons why I use a custom one). -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la