all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: myglc2 <myglc2@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guixSD - problem with X11 forwarding
Date: Wed, 24 Feb 2016 13:13:12 +0100	[thread overview]
Message-ID: <87vb5efgrr.fsf@gnu.org> (raw)
In-Reply-To: <878u2qdl2l.fsf@gmail.com> (myglc2@gmail.com's message of "Fri, 12 Feb 2016 10:06:58 -0500")

myglc2 <myglc2@gmail.com> skribis:

> On guixSD, with no packages installed in the login user profile, I get
> 'X11 forwarding request failed on channel 0'

[...]

> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Requesting X11 forwarding with authentication spoofing.
> debug1: Sending environment.
> debug1: Sending env LANG = en_US.UTF-8
> X11 forwarding request failed on channel 0

Right, I see that as well.

lshd gives some clues in /var/log/messages:

--8<---------------cut here---------------start------------->8---
Feb 23 18:14:09 localhost lshd[430]: lshd: Updating utmp for login failed (errno = 2): No such file or directory 
Feb 23 18:14:09 localhost lshd[430]: lshd: xauth invocation failed: exit code: 127 
Feb 23 18:14:33 localhost lshd[430]: lshd: Updating utmpx for logout failed (errno = 2): No such file or directory 
Feb 23 18:14:33 localhost lshd[430]: lshd: write_buffer: Attempt to write data to closed buffer. 
Feb 23 18:14:33 localhost lshd[430]: lshd: Disconnect for reason 11: disconnected by user 
--8<---------------cut here---------------end--------------->8---

Indeed, server_x11.c in lsh reads:

--8<---------------cut here---------------start------------->8---
#ifndef XAUTH_PROGRAM
# define XAUTH_PROGRAM "/usr/X11R6/bin/xauth"
#endif
--8<---------------cut here---------------end--------------->8---

I believe this is fixed by commit da35acf.

To give it a try, you can run (as root):

  # guix pull
  # herd stop ssh-daemon
  # guix system reconfigure your-config.scm

Thanks,
Ludo’.

  parent reply	other threads:[~2016-02-24 12:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-12 15:06 guixSD - problem with X11 forwarding myglc2
2016-02-12 19:43 ` Alex Kost
2016-02-12 21:48   ` myglc2
2016-02-24 12:13 ` Ludovic Courtès [this message]
2016-03-01  2:12   ` myglc2

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=87vb5efgrr.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=myglc2@gmail.com \
    /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.