help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guixSD - problem with X11 forwarding


From: Ludovic Courtès
Subject: Re: guixSD - problem with X11 forwarding
Date: Wed, 24 Feb 2016 13:13:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

myglc2 <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]