From: Andreas Reuleaux <rx@a-rx.info>
To: help-guix Users <help-guix@gnu.org>
Subject: Re: simple config with just startx not working for me
Date: Sun, 22 Aug 2021 15:01:19 +0100 [thread overview]
Message-ID: <87wnodo9xs.fsf@softland> (raw)
In-Reply-To: <OSZP286MB0664AF6A2157E08DF55E7A15A3C39@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM> ("宋文武"'s message of "Sun, 22 Aug 2021 13:55:15 +0800")
hi again,
sx is working fine for me now, thanks a lot again.
so far w/ i3 i.e. - I will want to replace that w/ sway (wayland) next.
-A
宋文武 <iyzsong@outlook.com> writes:
> Andreas Reuleaux <rx@a-rx.info> writes:
>
>> [...]
>> I want to start X on my system with startx - i.e. log into my system
>> just from a tty, and then start X by hand (and i3 will be my window
>> manager, I just have an .xsession file in my $HOME, where I start i3)
>
> Hello, you can use 'xorg-server-service-type' (not documented, patch
> welcome!) with 'sx' (recommended) or 'xinit':
>
> 1. Add 'xorg-server-service-type' to the system config, and reconfigure.
> After this you'll have 'X' and 'Xorg' in '/run/current-system/profile/bin'.
>
> 2. Install 'sx' or 'xinit', config them:
> - For 'sx', create the ~/.config/sx/sxrc script, which likely ends
> with 'exec dbus-run-session -- i3' .
> - For 'xinit', create the ~/.xinitrc script and a ~/.xserverrc with:
>
> tty=$(tty)
> tty=${tty#/dev/tty}
> X vt${tty}
>
> This xserverrc is needed for rootless X to start with the current tty.
>
> 3. Run 'sx' or 'xinit' from tty. I think you also need to to be in the
> 'video' and 'input' group for this to work.
>
> Hope it helps!
next prev parent reply other threads:[~2021-08-22 14:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-21 21:15 simple config with just startx not working for me Andreas Reuleaux
2021-08-21 22:17 ` Vagrant Cascadian
2021-08-21 23:17 ` Andreas Reuleaux
2021-08-22 5:55 ` 宋文武
2021-08-22 12:57 ` Andreas Reuleaux
2021-08-22 14:01 ` Andreas Reuleaux [this message]
2021-08-24 8:14 ` Boris A. Dekshteyn
2021-08-24 8:33 ` Boris A. Dekshteyn
2021-08-24 11:27 ` Andreas Reuleaux
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnodo9xs.fsf@softland \
--to=rx@a-rx.info \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.