From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UwtgJarDfmHm+QAAgWs5BA (envelope-from ) for ; Sun, 31 Oct 2021 17:26:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KBp6IKrDfmEgNQAAB5/wlQ (envelope-from ) for ; Sun, 31 Oct 2021 16:26:18 +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 F14BB2D725 for ; Sun, 31 Oct 2021 17:26:17 +0100 (CET) Received: from localhost ([::1]:40966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhDez-0006Qq-7N for larch@yhetil.org; Sun, 31 Oct 2021 12:26:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhDeP-0005kP-Hv for help-guix@gnu.org; Sun, 31 Oct 2021 12:25:41 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhDeM-0003Ii-Lj for help-guix@gnu.org; Sun, 31 Oct 2021 12:25:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8BADF240029 for ; Sun, 31 Oct 2021 17:25:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1635697536; bh=P+stjFxcAV2LjEfIHV8aX5JNIBNJsHJVOVhPdJSSGeo=; h=From:To:Cc:Subject:Date:From; b=RriaCv29I4OABrchzvIJP4Iw/20HEELXeUOvgkTn+m7olRKK5hfooiZxxgDD6SrVR GId75cBnbjdw3cACswcY9t9b2fbtCJ1r1hQiS1y6qTdUvRYcQt0nhLnzOeh4lUA4Qh pu29EdoCdJCfHFiyB6nvsb7+sxKMwD43+/FQhxRFaTY2yn+/SMQYij4jEvnESt6omD 3AUMkTe+jzorci204k/fB8ai4HjK/LAOqpWUCmdgtFrCHG6RwXGG+k6p2bnkwir1jv IuGmAWW5PIiY5WCDxhnXI00k9ewraop/Nv60RR4o4rxJdSalNxw2aTqio/c0W9v6dF Awizgoi1d2mFA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hj1jq2sf3z6tm5; Sun, 31 Oct 2021 17:25:35 +0100 (CET) References: <87fssiwbmq.fsf@posteo.de> <87bl36wbi0.fsf@posteo.de> From: Mekeor Melire To: Mekeor Melire Subject: Re: Need help with Xmonad setup and login from tty Date: Sun, 31 Oct 2021 16:23:31 +0000 In-reply-to: <87bl36wbi0.fsf@posteo.de> Message-ID: <877ddtw499.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=mekeor@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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: Disseminate Dissent , help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635697578; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Yqw/QvcnWoZYTSTTAZTCn2UlX4kUh2zYR2MtyfjFnxw=; b=dRXSfJP81xk1s5g+3qsT2M4FiG0VCU9oPRu43wchXDpCFtSylWHn3fiPZIxlpmf136URn0 NS9K+gmfj5kO8uwL59KmK/F/cZYZdPU6rsJh6yFiE10YB78P8YAkJMzrSV2ClecVe9UoxL jSUDs5GDDr4HPukJlZ9Mm32LMLZMJqBEt0NgUaBEpRHnU2KPI36x27abqAZ9di23aCnHdc LeGeGUUrla7nQibpTldpQIxGFIaiMKB3TyHsamE8CfkRROGtsrrjb8/ychX21mHW9CVOxp G0x+ycftr6naLUov6nEv49y4aq5AkfkibJxm98Jw18DUnGSTw59aDAtUnU/p3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635697578; a=rsa-sha256; cv=none; b=pWeDaaDLSwOJlWrrY5NuHM/2fGU36xjRpk7vY/bDd4MS065jSxqnCzaeGdPmkSlH0sG2US aqniK/hT7mjxK4Q6YxaDtViiV8btR+a1uFzxQZMbL3ZuDQF4N1sCH/6sqAtQxYBkPP3Trc 1s01nBS1qSx5IfOvUudK/ArQwLaAFxfVCv/p7/OQ93MxjvUMPB3oqbeczfEZfy6ceaKxkr R5e5UCVD26aJnlMpwVO7HWt1UGT2oBqyAUve9t9mGbq5axNFV1pwJeCwlzMCWrgVurluAS lQZpyyjhFh40BCc/TUs+ygLXTYoz+pC8V4Z0AYxh6qSIdJyvnHyXJEfj3vbN4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=RriaCv29; 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-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=RriaCv29; dmarc=pass (policy=none) header.from=posteo.de; 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: F14BB2D725 X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: d1nna09f4jAi I should also note that the reason, why I use `xinit` is that I did not want to run Xorg as root but rather as user. That's why I didn't add Xorg to my system services. Instead, I start Xorg using the below-mentioned xinit-command as user. 2021-10-30 / 19:35 / mekeor@posteo.de: > Oops, I gotta correct a detail! > > 2021-10-30 / 19:22 / mekeor@posteo.de: > >> Hello :) >> >> I also start XMonad from the terminal/TTY. I use the following command >> which I found in some Guix mailing list: >> >> --8<---------------cut here---------------start------------->8--- >> xinit -- ~/.guix-profile/bin/Xorg :0 vt1 \ >> -keeptty \ >> -configdir ~/.guix-profile/share/X11/xorg.conf.d \ >> -modulepath ~/.guix-profile/lib/xorg/modules >> --8<---------------cut here---------------end--------------->8--- >> >> >> I then have a ~/.xsession file which in particular contains this line: > > It's not a ~/.xsession file which I use, but a ~/.xinitrc file! > >> --8<---------------cut here---------------start------------->8--- >> exec ~/.xmonad/xmonad-x86_64-linux >> --8<---------------cut here---------------end--------------->8--- >> >> >> I'm not sure but I think these were the packages which I installed as >> user in order to make XMonad work/compile: >> >> --8<---------------cut here---------------start------------->8--- >> gcc-toolchain >> ghc >> ghc-xmonad-contrib >> glibc >> ld-wrapper >> libxinerama >> xf86-input-libinput >> xf86-video-fbdev >> xf86-video-intel >> xinit >> xorg-server >> --8<---------------cut here---------------end--------------->8--- >> >> >> I also have a ~/.xmonad/build script with the following content: >> >> --8<---------------cut here---------------start------------->8--- >> #!/bin/sh >> ghc -dynamic "$HOME/.xmonad/Main.hs" -i"$HOME/.xmonad" -o "$1" >> --8<---------------cut here---------------end--------------->8--- >> >> Hope this helps! >> >> Goodbye >> Mekeor >> >> >> >> 2021-10-27 / 22:02 / help-guix@gnu.org: >> >>> To whom this may concern, >>> >>> Hello, I have a relatively good understand of GNU/Linux. Just moved from Arch after using it for several months, looking for more GNU. However, I'm having some serious difficult with two things that I imagine are simple. >>> >>> During installation I opted out of setting up the default DEs and display >>> managers since I prefer to login through TTY. I'm also using xmonad but am >>> having trouble with getting it up and running. When invoking `startx` the screen >>> goes black and then I'm unable to back out or even switch to another TTY. How >>> would I go back solving these two issues? >>> >>> Thanks for any help in advance. >>> All the best