unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23317: openssh: ssh client: xauth path is invalid - "/usr/X11R6/bin/xauth"
@ 2016-04-19 20:39 Danny Milosavljevic
  2016-04-28  5:30 ` Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2016-04-19 20:39 UTC (permalink / raw)
  To: 23317

$ ssh -X daya20
Warning: untrusted X11 forwarding setup failed: xauth key data not generated

Because:

$ strings $(which ssh) |grep  /xauth
/usr/X11R6/bin/xauth
%s/xauthfile

However,

$ which xauth
/home/dannym/.guix-profile/bin/xauth

Adding the following and rebuilding doesn't help either (for some reason):
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index b8f107b..d85124b 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -35,6 +35,7 @@
   #:autoload   (gnu packages boost) (boost)
   #:use-module (gnu packages base)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages xorg)
   #:use-module (gnu packages)
   #:use-module (guix packages)
   #:use-module (guix download)
@@ -131,7 +132,8 @@ a server that supports the SSH-2 protocol.")
    (build-system gnu-build-system)
    (inputs `(("groff" ,groff)
              ("openssl" ,openssl)
-             ("zlib" ,zlib)))
+             ("zlib" ,zlib)
+             ("xauth" ,xauth)))
    (arguments
     `(#:test-target "tests"
       #:phases

But
  $ ssh -o XAuthLocation=$(which xauth) daya20
works.

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-20  2:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 20:39 bug#23317: openssh: ssh client: xauth path is invalid - "/usr/X11R6/bin/xauth" Danny Milosavljevic
2016-04-28  5:30 ` Danny Milosavljevic
2016-08-01  9:51   ` Ludovic Courtès
2021-11-20  2:05     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).