No xauth data.

2003-10-13 Thread Cliff Stanford
I have a tiny problem with ssh.

I run:

ssh -X -T -f twin /usr/X11R6/bin/xterm -sb -sl 1000 -rightbar -ls

and get the line:

Warning: No xauth data; using fake authentication data for X11 
forwarding.

Clearly I'm missing something.  But if I run the same thing from a Linux 
machine which share the same home directory (mounted via samba), I get 
no warning.

Could anyone please tell me what I'm doing wrong?

Thanks,
Cliff.
--
Cliff Stanford
Might Limited  +44 20 7257 2000 (Office)
17-18 Henrietta Street +44 7973 616 666 (Mobile)
London  WC2E 8QH


Re: No xauth data.

2003-10-13 Thread Harold L Hunt II
Cliff,

I can tell you that the warning is like ssh telling you that the sky is 
blue: it is telling you that a certain feature is not supported by your 
ssh client.  This can be ignored, but search the mailing list archives 
if you want more information about what the message means.

Harold

Cliff Stanford wrote:
I have a tiny problem with ssh.

I run:

ssh -X -T -f twin /usr/X11R6/bin/xterm -sb -sl 1000 -rightbar -ls

and get the line:

Warning: No xauth data; using fake authentication data for X11 forwarding.

Clearly I'm missing something.  But if I run the same thing from a Linux 
machine which share the same home directory (mounted via samba), I get 
no warning.

Could anyone please tell me what I'm doing wrong?

Thanks,
Cliff.



Re: Copy / Paste

2003-10-13 Thread Harold L Hunt II
Cliff,

Cliff Stanford wrote:
Copy and paste to and from windows applications seems to be a lot more 
stable now with the latest patches (thanks).  However, I still have the 
problem that, when I highlight something in an X window, it immediately 
un-highlights itself.
Yes.

I start XWin from /usr/X11R6/bin/startxwin.bat with the following command:

start XWin -multiwindow -nounixkill -clipboard -nowinkill

If I leave off the -clipboard, highlighting works as expected.  If I 
then run clipbrd.exe I get the same behaviour as with the -clipboard 
option.

Is this expected behaviour?  Or am I doing something wrong?
Yes, it is expected.

I have written many messages about this before.  I am surprised you 
haven't seen one yet.  Here is one of my more recent messages on how 
development is going:

http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00146.html

I succeeded in using XFIXES to detect when the clipboard contents had 
changed.  However, that introduced a new problem of having to flag which 
application changed the clipboard and stop trying to notify and copy the 
contents on those changes.  The problem here was that the clipboard 
change detection caused an infinite loop.  I made a quick and dirty 
change to stop the loop; it worked but I needed to spend more time 
looking into how it should be done properly.

So, development is stuck now since I am working 30 or more hours a week 
and spending about 20 hours a week on my master's CS degree classes. 
The code is in the XFIXES_BRANCH in our xoncygwin CVS tree (see the 
message above for more details, I think), if you are interested in 
working on it.

Harold

P.S.  And does anyone have a cure for my constantly pressing the 
right-button in windows applications and wondering why it doesn't paste 
anything? :-)
Yes, in Windows XP, turn on the 'quick edit' more for the command shell. 
 This enables right-click to paste the current clipboard contents in 
your Cygwin bash shell.  Other than that, good luck.  :)



Re: Copy / Paste

2003-10-13 Thread Igor Pechtchanski
On Mon, 13 Oct 2003, Harold L Hunt II wrote:

 Cliff Stanford wrote:
 [snip]
  P.S.  And does anyone have a cure for my constantly pressing the
  right-button in windows applications and wondering why it doesn't paste
  anything? :-)

 Yes, in Windows XP, turn on the 'quick edit' more for the command shell.
 This enables right-click to paste the current clipboard contents in your
 Cygwin bash shell.  Other than that, good luck.  :)

Cliff,

The above should also work in Win2k.  You can also use rxvt to host your
shells, which should be pretty uniform across all platforms.

Did you look into Windows power toys?  They may do what you want, but
there were reports of some of them causing problems with other Cygwin
and X applications.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton


Re: right-click problem

2003-10-13 Thread J S
Hi,

I'm still stuck on this despite going through the archives - I can't find a 
similar problem.
On Exceed 6.2, the submenus work if I right-click the mouse.
However in XFree86 and Exceed 7.1, they don't. (These are all with fresh 
installs).
I have even tried running the app on Linux but still have the same problem.

Not that I want to run the app on Exceed, but I just wonder what Exceed 6.2 
is doing that the others aren't?

JS.



You're gonna have to specify which application causes trouble and/or what 
type of operating system it is running on.  I assume that this is a problem 
with a remote application since we have seen reports of this before.  So, I 
guess you should search the mailing list archives as well.

Harold

J S wrote:

Hi,

I have an X-app which when I right click on some of the icons produces a 
menu in Exceed, but in XFree doesn't - however if I run any other apps 
where I need to right click the mouse to get a menu up, it does work. 
Could anyone suggest how I might fix this problem please?

Thanks,

JS.

_
Hotmail messages direct to your mobile phone 
http://www.msn.co.uk/msnmobile


_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



Re: No xauth data.

2003-10-13 Thread Jack Tanner
If you want the error message to go away, play with the xauth command on 
your Windows box.

# xauth -v list

This will tell you your local Xauthority file and what it contains. If 
it's not there, or if it's empty, try to play with xauth generate to 
get it to contain something like

localhost:0  MIT-MAGIC-COOKIE-1  [long number in hex]
[cygwin_pc]/unix:0  MIT-MAGIC-COOKIE-1  [another long number in hex]
I'd tell you the exact command to use for xauth generate, but I forget. 
Perhaps somebody could post the correct answer and then add this to the FAQ.

Good luck,
JT



Setup Hangs in XFree86-bin-icons.sh

2003-10-13 Thread L. D. Marks
This is probably something that you already know, but
in case you don't there are some problems in XFree86-bin-icons.sh.
On my XP, it hangs. I went through various permutations,
e.g. deleting the scripts from /etc/postinstall,
/etc/preremove and /usr/X11R6/bin and reinstalling stuff without
finding anything that works (short of completely removing this
package). For reference, the date on the script is 9/29/2003.

---
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2225 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
mailto:[EMAIL PROTECTED]
http://www.numis.northwestern.edu
---




Re: XWin --query

2003-10-13 Thread Greg Freemyer
I have not installed any new hardware, and both server and client
machines have only one NIC.  (Both are standard wired NICs.)

I did update the Linux box with the latest patches recently, that may be
causing the problem, but somehow I think it is the cygwin/xfree86 end.

Greg
-- 
Greg Freemyer

On Fri, 2003-10-10 at 20:15, Harold L Hunt II wrote:
 Did you also just get a wireless networking card or another network 
 card?  The reason I am asking is that you may now need to use the -from 
 parameter to indicate the return address that should be sent to the 
 remote machine.  Please indicate if you have only one network card.
 
 Harold
 
 Greg Freemyer wrote:
  I have been using XWin --query node_name for a while.
  
  Last week I updated to the currently released cygwin and xfree86
  binaries.
  
  The XWin --query is now only bringing up a X display, but it is not
  showing the KDM login screen I'm used to seeing.
  
  If I look on the Linux box I'm querying, I see that it is trying to
  connect back to the cygwin/xfree box, but it is unable to open the
  display.
  
  Do I need to do somethnig else?
  
  Greg
 



Re: XWin --query

2003-10-13 Thread Harold L Hunt II
Pavel,

Pavel Rosenboim wrote:

Greg Freemyer wrote:

I have not installed any new hardware, and both server and client
machines have only one NIC.  (Both are standard wired NICs.)
I did update the Linux box with the latest patches recently, that may be
causing the problem, but somehow I think it is the cygwin/xfree86 end.


Is it possible that kdm configuration got overwritten, and now it does 
not allow connections from remote hosts?
I was thinking the same thing.

Greg --- Please check the following FAQ entry for information on how to 
make sure that kdm/gdm/xdm are allowing remote logins:

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdmcp

Harold



Re: right-click problem

2003-10-13 Thread Cary Jamison
J S [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 Hi,
 
 I'm still stuck on this despite going through the archives - I can't
find a 
 similar problem.
 On Exceed 6.2, the submenus work if I right-click the mouse.
 However in XFree86 and Exceed 7.1, they don't. (These are all with
fresh 
 installs).
 I have even tried running the app on Linux but still have the same
problem.
 
 Not that I want to run the app on Exceed, but I just wonder what
Exceed 6.2 
 is doing that the others aren't?
 
 JS.

Did you turn off num-lock?


Re: XWin --query

2003-10-13 Thread Greg Freemyer
On Mon, 2003-10-13 at 13:14, Pavel Rosenboim wrote:
 Greg Freemyer wrote:
 
  I have not installed any new hardware, and both server and client
  machines have only one NIC.  (Both are standard wired NICs.)
  
  I did update the Linux box with the latest patches recently, that may be
  causing the problem, but somehow I think it is the cygwin/xfree86 end.
 
 Is it possible that kdm configuration got overwritten, and now it does 
 not allow connections from remote hosts?
 
 Pavel.
 

I have used ethereal on the linux box to monitor the tcp/ip traffic.

The remote connection is allowed, but when the linux box tries to
connect back to the cygwin/xfree86 box, its messages seem to be ignored.

I am not running any kind of firewall on the cygwin/xfree86 box and they
are on a common LAN.

It seems almost like I need to issue a 'xhosts +node' on the cygwin box,
but I have not done that in the past and the cygwin box is not rejecting
the linux box, it is just ignoring it from what I see.

Has there been a security change that now requires xhosts +node to be
run somehow with the XWin --query command?

Greg
-- 
Greg Freemyer



Re: XWin --query

2003-10-13 Thread Harold L Hunt II
Greg,

I think you need to either attempt to connect from another Windows 
machine to the same linux box with XDMCP, or you need to attempt to 
connect to another remote linux machine using XDMCP from the same 
Windows box.  You need to prove to yourself that the problem is on one 
end or the other.

Harold

Greg Freemyer wrote:
On Mon, 2003-10-13 at 13:14, Pavel Rosenboim wrote:

Greg Freemyer wrote:


I have not installed any new hardware, and both server and client
machines have only one NIC.  (Both are standard wired NICs.)
I did update the Linux box with the latest patches recently, that may be
causing the problem, but somehow I think it is the cygwin/xfree86 end.
Is it possible that kdm configuration got overwritten, and now it does 
not allow connections from remote hosts?

Pavel.



I have used ethereal on the linux box to monitor the tcp/ip traffic.

The remote connection is allowed, but when the linux box tries to
connect back to the cygwin/xfree86 box, its messages seem to be ignored.
I am not running any kind of firewall on the cygwin/xfree86 box and they
are on a common LAN.
It seems almost like I need to issue a 'xhosts +node' on the cygwin box,
but I have not done that in the past and the cygwin box is not rejecting
the linux box, it is just ignoring it from what I see.
Has there been a security change that now requires xhosts +node to be
run somehow with the XWin --query command?
Greg



Cygwin Setup 99%

2003-10-13 Thread WHarpena




I'm trying to install cygwin/xFree86.   The install program runs to 99% but
does not finish.   It stops at 'Running...' the
/etc/postinstall/XFree86-bin-icons.sh

Any suggestions?

Wayne Harpenau
Sony Disc Manufacturing
[EMAIL PROTECTED]




Re: Cygwin Setup 99%

2003-10-13 Thread Harold L Hunt II
Wayne,

While we can't expect everyone to do a thorough mailing list archive 
search before posting, we do at least expect them to look at the posts 
from today.  You problem has been reported before, and was, in fact, 
reported again today:

http://cygwin.com/ml/cygwin-xfree/2003-10/msg00134.html

The problem is known.  You can just move 
/etc/postinstall/XFree86-bin-icons.sh to 
/etc/postinstall/XFree86-bin-icons.sh.done.  Then, from a Cygwin bash 
shell run '/usr/XFree86/bin/XFree86-bin-icons.sh'.  That should create 
the icons for you.  The problem right now is that one of the utilities 
we use hangs when we run the script from setup.exe, but it does not hang 
when we run the script from a bash shell.  The problem is being looked into.

Harold

[EMAIL PROTECTED] wrote:


I'm trying to install cygwin/xFree86.   The install program runs to 99% but
does not finish.   It stops at 'Running...' the
/etc/postinstall/XFree86-bin-icons.sh
Any suggestions?

Wayne Harpenau
Sony Disc Manufacturing
[EMAIL PROTECTED]




Re: Cygwin Setup 99%

2003-10-13 Thread Harold L Hunt II
Make that /usr/X11R6/bin/XFree86-bin-icons.sh.  I said /usr/XFree86/... 
below.

Harold

Harold L Hunt II wrote:

Wayne,

While we can't expect everyone to do a thorough mailing list archive 
search before posting, we do at least expect them to look at the posts 
from today.  You problem has been reported before, and was, in fact, 
reported again today:

http://cygwin.com/ml/cygwin-xfree/2003-10/msg00134.html

The problem is known.  You can just move 
/etc/postinstall/XFree86-bin-icons.sh to 
/etc/postinstall/XFree86-bin-icons.sh.done.  Then, from a Cygwin bash 
shell run '/usr/XFree86/bin/XFree86-bin-icons.sh'.  That should create 
the icons for you.  The problem right now is that one of the utilities 
we use hangs when we run the script from setup.exe, but it does not hang 
when we run the script from a bash shell.  The problem is being looked 
into.

Harold

[EMAIL PROTECTED] wrote:



I'm trying to install cygwin/xFree86.   The install program runs to 
99% but
does not finish.   It stops at 'Running...' the
/etc/postinstall/XFree86-bin-icons.sh

Any suggestions?

Wayne Harpenau
Sony Disc Manufacturing
[EMAIL PROTECTED]





Re: Setup Hangs in XFree86-bin-icons.sh

2003-10-13 Thread Harold L Hunt II
Laurence,

This is a generic Cygwin problem, not related to XFree86.  The problem 
is that cygpath hangs when called from a shell launched by setup.exe. 
This problem has been reported many times before.  It started happening 
about a month or two ago.  For a more detailed description, see my post 
below:

http://www.cygwin.com/ml/cygwin-apps/2003-10/msg00049.html

Nobody seems interested in fixing this, myself included, so it will most 
likely remain broken.

Harold

L. D. Marks wrote:

This is probably something that you already know, but
in case you don't there are some problems in XFree86-bin-icons.sh.
On my XP, it hangs. I went through various permutations,
e.g. deleting the scripts from /etc/postinstall,
/etc/preremove and /usr/X11R6/bin and reinstalling stuff without
finding anything that works (short of completely removing this
package). For reference, the date on the script is 9/29/2003.
---
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2225 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
mailto:[EMAIL PROTECTED]
http://www.numis.northwestern.edu
---