unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: Andreas Reuleaux <rx@a-rx.info>, help-guix Users <help-guix@gnu.org>
Subject: Re: simple config with just startx not working for me
Date: Sat, 21 Aug 2021 15:17:47 -0700	[thread overview]
Message-ID: <87wnoetpbo.fsf@yucca> (raw)
In-Reply-To: <87zgtasdmq.fsf@softland>

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

On 2021-08-21, Andreas Reuleaux wrote:
> I am fairly new to guix, thus bear with me please.

Welcome!

> 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)
> - I do not want any desktop-services / desktop-manager / graphical login manager
> (this may seem old school - but has worked fine for me for years
> under debian). 
>
> I cannot really get this working though: I have xinit installed (with
> startx therein, cf. my config below), but when I
>
>   startx
>
> on the command line, I get this:
>
>     xauth:  file /home/rx/.serverauth.1957 does not exist
...

I struggled with this for a bit and eventually gave up.  In theory, if
you make enough executables setuid, you might be able to get startx to
work properly (other distros such as Debian make startx work by
installing various executables setuid).

In the end, I switched using sway, which is very similar to i3 but uses
wayland natively instead of X11 (though there are still X11
compatibility layers). The main thing is you need to have elogind
configured in your system, and then you can login and run "exec sway"
and it "just works".

So, not exactly a direct answer to your question, but maybe it is a
workable alternative for you.


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2021-08-21 22:18 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 [this message]
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
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=87wnoetpbo.fsf@yucca \
    --to=vagrant@debian.org \
    --cc=help-guix@gnu.org \
    --cc=rx@a-rx.info \
    /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).