unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mekeor Melire <mekeor@posteo.de>
To: Mekeor Melire <mekeor@posteo.de>
Cc: Disseminate Dissent <disseminatedissent@protonmail.com>,
	help-guix@gnu.org
Subject: Re: Need help with Xmonad setup and login from tty
Date: Sun, 31 Oct 2021 16:23:31 +0000	[thread overview]
Message-ID: <877ddtw499.fsf@posteo.de> (raw)
In-Reply-To: <87bl36wbi0.fsf@posteo.de>

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



      reply	other threads:[~2021-10-31 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 22:02 Need help with Xmonad setup and login from tty Disseminate Dissent via
2021-10-28 18:10 ` jbranso
2021-10-30 19:22 ` Mekeor Melire
2021-10-30 19:35   ` Mekeor Melire
2021-10-31 16:23     ` Mekeor Melire [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ddtw499.fsf@posteo.de \
    --to=mekeor@posteo.de \
    --cc=disseminatedissent@protonmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).