From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CJEQBto2RWRnVQAASxT56A (envelope-from ) for ; Sun, 23 Apr 2023 15:47:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +NDqBdo2RWTxPwAA9RJhRA (envelope-from ) for ; Sun, 23 Apr 2023 15:47:06 +0200 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 A954935704 for ; Sun, 23 Apr 2023 15:47:05 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=K+6XJ41H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682257626; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MOWNJLhkXNI3HhNy2C2DjFvJKSqbiu25NahiGgxMLog=; b=QNP5ipsIsI8di/5V/M2JMylG1rtQQtzvisuaMGF4B5kHyOJK2gKZkXqG5Cjg588iFbrl8b PsqFvv00eP8vFNUf9GjGVv1fRhPfZFowMUsHRMnIKGJ8zA/QSuQLvP90LJpxoHTc8G2oFY w38BMeUZlRzEg8s8ksKCkR5ZBUjUIz/MPmUg2oCVum7E+aog1nrelM52MLQmiosonLXzd+ rnP3L7jvKcivLcs04bHXhBrEh8FrV/wPUH6vQlQKQnTb63ZMVyarX9WWzDfFZibhXbf4Mx GTSJXJrpxiSOJXgnjLhbWI1O3umkNu9CCx32YiwDetOlTGw9VhZrzgahnQSJ7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=K+6XJ41H; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682257626; a=rsa-sha256; cv=none; b=lMRB/qQ6qUnqMKEBiKhIibb0xKirVNO741KATzNcyEoNWUNOBNOwt40/A/eKyMl4urDwaU 7e/2POMAIO34aqRi+ebT751K+vYat5b2eiEWzXHGemcf8pH94j5CdSVlmBA8nQdVeP/jXA 4P2auvsSyXL0w+PZoIlN6umAKYZdXyrU5GaXZUnAsAUk1fw0i1VCXGsecVPH/MWZlPIitx L3J+hYMWlWAwF5X1rLNIl0bPQx3B7F7wkwR/4Av23Mk0EKwBbOM+ra/m1qlGEBN51O93uy z8AeZRDxploIYD+jZ2ESEbsSaxFuxJyMC4EzXXFsZ0MfxyP32RqdVn8pPVZtjw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqYjj-0001oR-4I; Sun, 23 Apr 2023 08:22:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYjh-0001oA-Bv for help-guix@gnu.org; Sun, 23 Apr 2023 08:22:33 -0400 Received: from smtp.zfn.uni-bremen.de ([2001:638:708:32::21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYjf-0008Lx-1X for help-guix@gnu.org; Sun, 23 Apr 2023 08:22:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1682252544; bh=Zx9sqXXnGqb/qS8zM0HgogaeCzOLSSeCkQeJmNy6RUg=; h=Date:To:References:From:In-Reply-To; b=K+6XJ41HYOriQNnI4Aa5AI/UavFJSvrpEW2P8vuQB5KtK4bh96+nQ5morkK/7ZGjg kkM/rIP/dt56DF7XfAgLDtoW9fuJpFNnm9nuekpbrW8ylJjPPkbxYjkeqcTEBtk1hR NBSd+62eIX7sSyaidX026G0KpuQHh052BxYylpC+2+VDUMZRsOyaRXNS+ByS4MZ7eT 2SJu6NOy/7EQqSz8rBo6wQS4y7RNSLvSksfm0XhKV9FrH4vQcDNXPQBKmGfthBq4uJ J+mFrbs/0MzMtIEqwYzPUtOTqQLnyYCDdRh0pR0LxMLU9N9wrXzT7k7hd9Tz2VFXv9 qFywKDTk8s7uw== Received: from [IPV6:2a02:8109:19bf:639a:a48f:75a8:97:ac4d] (unknown [IPv6:2a02:8109:19bf:639a:a48f:75a8:97:ac4d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Q46pS5FjKzDCbS; Sun, 23 Apr 2023 14:22:24 +0200 (CEST) Message-ID: Date: Sun, 23 Apr 2023 14:23:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Help-Guix Digest, Vol 89, Issue 35 (Martin Castillo) Content-Language: de-DE To: Gottfried , help-guix@gnu.org References: From: Martin Castillo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:638:708:32::21; envelope-from=castilma@uni-bremen.de; helo=smtp.zfn.uni-bremen.de X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 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, NICE_REPLY_A=-2.143, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: UNKNOWN X-Migadu-Spam: Yes X-Migadu-Spam-Score: 8.44 X-Spam-Score: 8.44 X-Migadu-Queue-Id: A954935704 X-Migadu-Scanner: in3.migadu.com X-Spam: Yes X-TUID: D+52WaG+1exp Hi, Am 22.04.23 um 18:25 schrieb Gottfried: > Hi, > > thanks for help. > > 1. >> To test 1) add >>> echo reading xprofile on $(date) >>~/login.log >>> to your .xprofile and logout and back in. > > I have a file .zprofile in my home directory > but not a file: .xprofile > I thought it was a typo in your other mail. zprofile is the startup file for the zsh shell. It's corresponds to the .bash_profile for bash. But I really mean .xprofile. If it does not exist, create the file and write # all Profile beim Start des Displays Managers öffnen source ~/.bash_profile into it. Also, remove that line from the zprofile. > I tried with both to add it to my .zprofile file > did not help. > > --------------------------------------------------------- > > 2. >> If this file is really sourced on login, you should find the file >>> ~/login.log with a line saying something like reading xprofile on Do >>> 20. Apr 16:13:21 CEST 2023. > > I did not find a file: ~/login.log > > I have  files: > .e-log.log > .e-log.log.old > > or they are in a different directory? > Try again after doing what I wrote above. > ------------------------------------------------------------------ > in /etc/profile there is > I don’t know if that helps, so I copied it No, it does not. Unless you changed it in your system config, it's the same every other guix user has on their system. > ------------------------------------------------------------------- >> If login.log exists, then there seems to be something wrong with the >> lines that should activate the profiles in .bash_profile. >> To test 2) start a login shell with a clean environment >> env - bash -l >> >> and check whether that shell has all the profiles activated. If not, >> there is something wrong with your .bash_profile. You should post that >> then. > > > gfp@Tuxedo ~$ env - $(which bash) -l > gfp@Tuxedo /home/gfp$ icecat > Error: no DISPLAY environment variable specified > gfp@Tuxedo /home/gfp$ chromium > Fontconfig error: No writable cache directories > Fontconfig error: No writable cache directories > Fontconfig error: No writable cache directories > Fontconfig error: No writable cache directories > Fontconfig error: No writable cache directories > [7535:7535:0422/182050.365759:ERROR:ozone_platform_x11.cc(238)] Missing > X server or $DISPLAY > [7535:7535:0422/182050.366270:ERROR:env.cc(255)] The platform failed to > initialize.  Exiting. > gfp@Tuxedo /home/gfp$ > This looks good: You started a login shell with an empty environment, (it means when it started, no guix-profile was activated), and the commands icecat and chromium were found. > I tried to open icecat and chromium in that shell but it doesn’t work. The reason they printed errors is because the couldn't initialize the connection to the window manager, which is necessary for graphical applications. The couldn't connect because the environment variable DISPLAY was not set (since env - removed it for the shell and it's child processes). So, if icecat and chromium are not installed system wide but only in one of your custom profiles, it means they must have been actived by the login shell you started. So your .bash_profile seems to work. Martin Castillo