X11 Forwarding Setup Failed Xauth Key Data Not Generated

Download
  1. Warning: untrusted X11 forwarding setup failed: xauth key data not generated
  2. Warning: No xauth data; using fake authentication data for X11 forwarding.
  3. [735] May 27 22:39:54 lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
  4. [735] May 27 22:39:54 lastlog_openseek: /var/log/lastlog is not a file or directory!
  5. #!/bin/busybox sh
  6. mount -t proc -o nosuid,noexec,nodev proc /proc >/dev/null 2>&1
  7. mount -t sysfs -o nosuid,noexec,nodev sysfs /sys >/dev/null 2>&1
  8. mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev >/dev/null
  9. [ ! -h /dev/fd ] && ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
  10. [ ! -h /dev/stdin ] && ln -s /proc/self/fd/0 /dev/stdin >/dev/null 2>&1
  11. [ ! -h /dev/stdout ] && ln -s /proc/self/fd/1 /dev/stdout >/dev/null 2>&1
  12. [ ! -h /dev/stderr ] && ln -s /proc/self/fd/2 /dev/stderr >/dev/null 2>&1
  13. mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null
  14. mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm >/dev/null
  15. mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null
  16. # prepare the /dev directory
  17. [ ! -h /dev/stdin ] && ln -s /proc/self/fd/0 /dev/stdin
  18. [ ! -h /dev/stdout ] && ln -s /proc/self/fd/1 /dev/stdout
  19. [ ! -h /dev/stderr ] && ln -s /proc/self/fd/2 /dev/stderr
  20. CMDLINE=`cat /proc/cmdline`
  21. ##drop kernel messages
  22. busybox --install -s
  23. ##load all modules from host
  24. modprobe $line
  25. #for module in $(find /lib/modules/ -type f -iname '*.ko');do
  26. # modulename=$(basename ${module} sed 's/.ko$//')
  27. # echo '${modulename}'
  28. #done
  29. ##set to german keyboard
  30. loadkeys /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz
  31. ##create device nodes with mdev or udev
  32. #mdev -s
  33. udevadm trigger
  34. while [ $(ls /dev/sd* >/dev/null 2>&1 ; echo $?) -gt 0 ];do
  35. echo 'waiting for udevadm (/dev/sd*) to become ready'
  36. done
  37. #udevadm trigger --type=subsystems --action=add >/dev/null 2>&1
  38. #udevadm trigger --type=devices --action=add >/dev/null 2>&1
  39. #sleep 0.5
  40. #udevadm info --cleanup-db
  41. #/sbin/udevadm trigger
  42. #udevadm control --reload
  43. #udevadm trigger --type=devices --action=add
  44. echo 'TTY WORKAROUD' && sleep 2
  45. exec /bin/bash
  1. SSH -X “Warning: untrusted X11 forwarding setup failed: xauth key data not generated”. Untrusted X11 forwarding setup failed: xauth key data not generated X11 forwarding request failed on channel 0. But @XValidated's answer below successfully connects, though a warning about missing xauth data is shown. – taranaki Oct 21 '19 at 17:19.
  2. Jul 29, 2016  Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. X11 forwarding request failed on channel 0 conq: repository access denied. Fatal: Could not read from remote repository. Running on OSX and using bash. Any ideas or help would be appreciated.

X11 Forwarding Setup Failed Xauth Key Data Not Generated Data

X11 Forwarding Setup Failed Xauth Key Data Not Generated File

When I use ssh -X on my Mac (running OS X 10.6.7) to connect to my Ubuntu (11.04) box, I get the following warning. Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding.