Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
[735] May 27 22:39:54 lastlog_perform_login: Couldn't stat /var/log/lastlog: No such file or directory
[735] May 27 22:39:54 lastlog_openseek: /var/log/lastlog is not a file or directory!
#!/bin/busybox sh
mount -t proc -o nosuid,noexec,nodev proc /proc >/dev/null 2>&1
mount -t sysfs -o nosuid,noexec,nodev sysfs /sys >/dev/null 2>&1
mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev >/dev/null
[ ! -h /dev/fd ] && ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
[ ! -h /dev/stdin ] && ln -s /proc/self/fd/0 /dev/stdin >/dev/null 2>&1
[ ! -h /dev/stdout ] && ln -s /proc/self/fd/1 /dev/stdout >/dev/null 2>&1
[ ! -h /dev/stderr ] && ln -s /proc/self/fd/2 /dev/stderr >/dev/null 2>&1
mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null
mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm >/dev/null
mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /newrun >/dev/null
# prepare the /dev directory
[ ! -h /dev/stdin ] && ln -s /proc/self/fd/0 /dev/stdin
[ ! -h /dev/stdout ] && ln -s /proc/self/fd/1 /dev/stdout
[ ! -h /dev/stderr ] && ln -s /proc/self/fd/2 /dev/stderr
CMDLINE=`cat /proc/cmdline`
##drop kernel messages
busybox --install -s
##load all modules from host
modprobe $line
#for module in $(find /lib/modules/ -type f -iname '*.ko');do
# modulename=$(basename ${module} sed 's/.ko$//')
# echo '${modulename}'
#done
##set to german keyboard
loadkeys /usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.map.gz
##create device nodes with mdev or udev
#mdev -s
udevadm trigger
while [ $(ls /dev/sd* >/dev/null 2>&1 ; echo $?) -gt 0 ];do
echo 'waiting for udevadm (/dev/sd*) to become ready'
done
#udevadm trigger --type=subsystems --action=add >/dev/null 2>&1
#udevadm trigger --type=devices --action=add >/dev/null 2>&1
#sleep 0.5
#udevadm info --cleanup-db
#/sbin/udevadm trigger
#udevadm control --reload
#udevadm trigger --type=devices --action=add
echo 'TTY WORKAROUD' && sleep 2
exec /bin/bash
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.