RE: Warning: No xauth data

2008-11-15 Thread Benn Schreiber
Thanks for the hints on this, I've managed to get it working without
the warning message. Here's what I did:

bash$ xauth
xauth add :0 . hexnumber   # I used FACEFEEDFACEFEED
xauth add localhost:0 . hexnumber
xauth exit

my .ssh/config has:
  ForwardX11Trusted yes
  XAuthLocation /usr/bin/xauth

Next, I have a little macro in .bashrc:

startapp() { (ssh -Xn $* ) ; }
declare -fx startapp

Then, to start a remote application (xterm in this case) I do:

bash$ startapp othernode xterm

I haven't done exhaustive testing, but seems to do the trick.

By the way, the new Cygwin/X bits are GREAT! Thank you for the great update!!!

Benn

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: /usr/lib/X11 replaced

2008-11-15 Thread Ian Puleston
 -Original Message-
 From: Eric Blake
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 
 According to Ian Puleston on 11/14/2008 4:02 PM:
  
  It turns out that rxvt can't find the resource file
  /usr/lib/X11/app-defaults/Rxvt because there is no longer a
  /usr/lib/X11/app-defaults.
  Any idea what may have caused this.
 
 Yes.  You probably recently upgraded your installation, without reading
 the release notes:
 http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html

OK, I've now removed the /usr/lib/X11 link as per the notes and then ran
setup to reinstall everything that I had installed in the x11 section of
setup, plus rxvt. It re-created a /usr/lib/X11 directory containing just
Xcms.txt and nothing else, so rxvt was still missing its resources. I then
tried uninstalling and re-installing rxvt which changed nothing.

There are a dozen files still in /usr/X11R6/lib/X11 which /usr/lib/X11 used
to link to, including the missing app-defaults. I can (will) copy that over
but should I be doing that? Should I copy all/some of the other files over
too? There's nothing in the release notes about needing to do all this.

Ian



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: /usr/lib/X11 replaced

2008-11-15 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Ian Puleston wrote:
 OK, I've now removed the /usr/lib/X11 link as per the notes and then ran
 setup to reinstall everything that I had installed in the x11 section of
 setup, plus rxvt. It re-created a /usr/lib/X11 directory containing just
 Xcms.txt and nothing else, so rxvt was still missing its resources. I then
 tried uninstalling and re-installing rxvt which changed nothing.

rxvt was just updated to fix that issue, as stated in the release
announcement.

 There are a dozen files still in /usr/X11R6/lib/X11 which /usr/lib/X11 used
 to link to, including the missing app-defaults. I can (will) copy that over
 but should I be doing that?

Not if you want things to work correctly.

 Should I copy all/some of the other files over too? There's nothing in the 
 release notes about needing to do all this.

Isn't that a pretty big hint that you shouldn't?


Yaakov
Cygwin/X
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkfeDsACgkQpiWmPGlmQSOESwCeK3q2B/MfxyHXzSKsJHbls4bZ
7zkAn0r5cmyjYC/ur8OXe6uFELyDjhCR
=va+B
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/