unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Reuleaux <rx@a-rx.info>
To: 宋文武 <iyzsong@outlook.com>
Cc: Vagrant Cascadian <vagrant@debian.org>,
	help-guix Users <help-guix@gnu.org>
Subject: Re: simple config with just startx not working for me
Date: Sun, 22 Aug 2021 13:57:41 +0100	[thread overview]
Message-ID: <87a6l9prga.fsf@softland> (raw)
In-Reply-To: <OSZP286MB0664AF6A2157E08DF55E7A15A3C39@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM> ("宋文武"'s message of "Sun, 22 Aug 2021 13:55:15 +0800")

OK, thanks for that as well: I will have a look.

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


  reply	other threads:[~2021-08-22 12:58 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 [this message]
2021-08-22 14:01       ` Andreas Reuleaux
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

  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=87a6l9prga.fsf@softland \
    --to=rx@a-rx.info \
    --cc=help-guix@gnu.org \
    --cc=iyzsong@outlook.com \
    --cc=vagrant@debian.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).