On Fri, May 1, 2009 at 5:20 PM, Chuck Payne <terrorpup@gmail.com> wrote:
Guys,
Need a bit of help. I got a bash script I use to call up a group of boxes that I manage. In this script, am doing X forwarding via ssh,
mybox_rxvt () { ssh -X cepayne@mybox.mydomain.com /usr/bin/xterm; }
When I use my bash script I get the following error...
Warning: No xauth data; using fake authentication data for X11 forwarding.arning: No xauth data; using fake authentication data for X11 forwarding.
But if I just type ssh -X cepayne@mybox.mydomain.com /usr/bin/xterm from the CLI, it works. Why would calling that from a bash script not work but from the CLI, it would. What can I do to fix it.
Thanks,
Chuck
-- ---------------------------------------- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- Robert Heinlein
Nevermind, for once Google was my friend. http://mactip.blogspot.com/2004/04/no-xauth-data.html Once I did this now my script is working. xauth generate :0 . xauth generate :0 . trusted Thought I pass it on... Pup -- ---------------------------------------- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- Robert Heinlein -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org