unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Need help with Xmonad setup and login from tty
@ 2021-10-27 22:02 Disseminate Dissent via
  2021-10-28 18:10 ` jbranso
  2021-10-30 19:22 ` Mekeor Melire
  0 siblings, 2 replies; 5+ messages in thread
From: Disseminate Dissent via @ 2021-10-27 22:02 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with Xmonad setup and login from tty
  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
  1 sibling, 0 replies; 5+ messages in thread
From: jbranso @ 2021-10-28 18:10 UTC (permalink / raw)
  To: Disseminate Dissent, help-guix

October 27, 2021 6:08 PM, "Disseminate Dissent via" <help-guix@gnu.org> wrote:

> 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?

What hardware do you have?  Graphics card?  That sort of thing.

Guix System doesn't support any proprietary graphics drivers or binary blobs.  

> 
> Thanks for any help in advance.
> All the best


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with Xmonad setup and login from tty
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Mekeor Melire @ 2021-10-30 19:22 UTC (permalink / raw)
  To: Disseminate Dissent; +Cc: help-guix

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:

--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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with Xmonad setup and login from tty
  2021-10-30 19:22 ` Mekeor Melire
@ 2021-10-30 19:35   ` Mekeor Melire
  2021-10-31 16:23     ` Mekeor Melire
  0 siblings, 1 reply; 5+ messages in thread
From: Mekeor Melire @ 2021-10-30 19:35 UTC (permalink / raw)
  To: Disseminate Dissent, help-guix

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need help with Xmonad setup and login from tty
  2021-10-30 19:35   ` Mekeor Melire
@ 2021-10-31 16:23     ` Mekeor Melire
  0 siblings, 0 replies; 5+ messages in thread
From: Mekeor Melire @ 2021-10-31 16:23 UTC (permalink / raw)
  To: Mekeor Melire; +Cc: Disseminate Dissent, help-guix

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-31 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).