kerberos tools (kinit, etc) and kerberos-aware openssh in cygwin?
Hi, I have searched through the main mailing list archives and not come up with anything that seems even partially relevant except perhaps a recent email regarding LSA which did not seem to address my exact question. Is it possible for Cygwin to include a kerberos implementation (MIT or Heimdal, for instance) along with kerberos support compiled into the main openssh package? Are there any issues here that I'm not aware of? I've tried to compile the MIT package a couple of times without success but I don't know how much work it would be to get it going? I am aware of several scientists in my field (particle physics research) who rely on Cygwin and their old method of getting around was a one-off compile of a very old version of ssh that now does not talk to modern sshd servers properly provided by someone on an as-is basis several years ago. The currently-packaged openssh would work just fine if it were compiled with a set of kerberos libraries. Any help or suggestions for alternatives or existing documentation gratefully received. Thanks, Chris Green. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Windows programs in Cygwin/X ?
On Thu, Mar 02, 2006 at 01:25:29PM -0700, Cary Jamison wrote: Doug Bohl wrote: After much turmoil, I've managed to get a number of window managers running in Cygwin/X. What I'm wondering is this: Is it at all possible to allow my windows programs to be managed by my Cygwin/X window manager? Presently, if I'm in -fullscreen mode and I'm running some X programs, I'd have to alt+tab out of X and into explorer. It's only possible to go the other way - have Windows manage both your X and your Windows windows. Is there a reason you don't want to go this way? Have you tried -multiwindow? I still think the most obvious answer is a multiple desktop utility on the windows machine. Just click to the 'other' window. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: Windows programs in Cygwin/X ?
On Tue, Feb 28, 2006 at 12:12:27AM -0500, Doug Bohl wrote: After much turmoil, I've managed to get a number of window managers running in Cygwin/X. What I'm wondering is this: Is it at all possible to allow my windows programs to be managed by my Cygwin/X window manager? Presently, if I'm in -fullscreen mode and I'm running some X programs, I'd have to alt+tab out of X and into explorer. If this isn't possible, what would I have to do to make it possible? Maybe write an X program to 'trap' the window of a Windows program into an invisible X window. Or something like that. My approach is simply to run multiple desktops on my windows machine. I dedicate one to Cygwin/X and use the others for Windows programs. XP has a simple multi-desktop system that comes with it (I can't remember what it's called though), I use V-Com's PowerDesk myself. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: Fwd: Mozilla, etc. via Cygwin/X
On Tue, Jan 17, 2006 at 01:29:30PM +0200, Maarika Traat wrote: Hello! I am a complete newcomer to the Cygwin community. I installed the default packages yesterday, and am now trying to understand what and how I can really do. Can I, in principle, see the display of any application I run on the remote server? For example, should I be able to see the display of Mozilla that I run remotely? (At the moment this attempt has failed.) Or are there special packages I should download in order to be able to do this? In general - can you suggest any helpful sources (besides the User Guide and the FAQ on Cywin/X page) where I can check which packages I should download for which applications? Yes, you should be able to see any program that normally runs on the 'local' screen on the remote system on your Windows PC that's running Cywin/X instead. Remember that 'server' and 'client' are probably not the way you think they are. The server is your windows PC that you are looking at that is running Cywin/X. The client is the application running on the remote Linux/Unix/OtherX system. You shouldn't need any more packages assuming you have downloaded the default set. I run my whole Linux desktop on my Windows PC without problems using Cygwin/X (and xdm on the remote Linux system). -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: Mozilla, etc. via Cygwin/X
Maarika, Please reply to the list, then everyone can help and learn. On Tue, Jan 17, 2006 at 02:11:10PM +0200, Maarika Traat wrote: You shouldn't need any more packages assuming you have downloaded the default set. Yes, but in that case do you know what might be the problem, why the window of Mozilla fails to come up? - We need more information:- What system you are running Cygwin/X on What system you are running mozilla on What commands you are running What error messages you are seeing (if any) What's in the Cygwin/X error log I run my whole Linux desktop on my Windows PC without problems using Cygwin/X (and xdm on the remote Linux system). --- You mean, you use the XDMCP option of connecting to the remote system. Yes. I did not get very far when reading about this option. I just learned that it was considered very unsecure and to be something to be used only in the bounds of a local network. I may be completely mistaken. I I am using it within a LAN, it's not a practical proposition do do it over a larger/slower network. tried to use XDMCP, and had the screen come up, but there was no option to log in or to open any menus or terminals... There was clearly something wrong about it the way it came up on my PC. The remote (client) needs to be running xdm (or a dolled up version such as wdm, kdm or gdm) as well and it needs to be configured right. Having seen this second question of yours, are you trying to run mozilla across an ADSL or similar connection? I very occasionally do this but it's very, very, slow - like it can take minutes for the display to update, I only do it if I absolutely have to. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: FIXED my freeze on startup problem
On Mon, Nov 21, 2005 at 10:40:03AM -0500, Soong, SylokeJ wrote: An irrelevant thought to nibble: I spell programme rather than program, not just because of my origin, but also when spelt as program, southerners like jimmy carter pronounce it as progrom which sounds discomforting. In the UK the tendency is (or at least my tendency is) to use program for a computer program and programme for a radio or television programme. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: FIXED my freeze on startup problem
On Mon, Nov 21, 2005 at 10:51:41AM -0500, Soong, SylokeJ wrote: In the UK the tendency is (or at least my tendency is) to use program for a computer program and programme for a radio or television programme. I was born and then schooled in a time and place where there was no distinction between the schemes of thought in tv and computer programmes. Yes, I am that old and ancient. I wonder if you are older and ancienter than I am? My first programming job (note, not my first job) was about 1970. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: my 3 heads = apps in the dead zone
On Thu, Nov 17, 2005 at 09:51:12AM -0500, Igor Pechtchanski wrote: Is this a problem with the app, cygwin/x, x.org, Win or my config? Ultimately, window placement is the responsibility of the window manager. However, most window managers assume a single rectangular desktop area. Hmph, not any more according to most 'modern' window manager programmers. I've had this discussion with two lots of developers of same and both have now given up any support for positioning of windows through the window manager. At least user control of where the window is positioned is no longer done using the window manager configuration. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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/
Is the error Cannot create /tmp/.X11-unix ... significant?
Running XWin release 6.8.2.0.4 to display a Linux desktop using xdmcp. In the startup window I get the error:- _XSERVTransmkdir: Cannot create /tmp/.X11-unix with root ownership Everything seems to work OK though, apart from the cut/paste problem I've reported in another thread. Does the above error message indicate anything wrong? I have tried manually deleting /tmp/.X11-unix but it just gets recreated, owned by me. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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/
Cut/paste stops working after windows in standby mode
I have just started shutting my Windows 2000 box down to standby mode rather than doing a full power down. When I do this it seems that the Cygwin cut/paste stops working, i.e. when I try and cut and paste on the Linux desktop I'm displaying with Cygwin it simply doesn't cut and paste. It works perfectly again if I shut the win2k system down completely and restart it. Does anyone have any ideas how I might fix this? I'm using a slightly old version of Cygwin/X at the moment (probably about the last xfree version), I'm probably going to try and upgrade to the XOrg version very soon. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence. -- 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: 30+ reasons why X-Win32 is Better than Cygwin/X
On Wed, Mar 09, 2005 at 06:30:35PM -0500, Christopher Faylor wrote: On Wed, Mar 09, 2005 at 04:19:18PM -0500, Joseph Miller wrote: I recently received a list entitled 30+ Reasons Why X-Win32 is Better than Cygwin/X. I don't know enough at the moment (though I am learning) about the Cygwin/X server to be able to understand some of the reasons. I have already created XWinLogon (http://www.calcmaster.net/visual-c++/xwinlogon/) and I am working to work on the Cygwin/X server so that all 30+ reasons will go away. Can someone please explain the following: Out of curiousity, where did you get this list? Was it something that you asked for or something that was sent to you without asking? For those who don't know, Harold Hunt (the former main developer for Cygwin/X) now works for the company who provides X-Win32. I used X-Win32 for many years (like three or four years) before switching to Cygwin-X. For my use there is little to choose between the two of them, I simply use the X-server to display my Linux desktop on my Win2k computer. The *main* reason for me switching from X-Win32 to Cygwin/X was simply cost. X-Win32 was originally very reasonably priced for a single user licence (around $50-$60 if I remember) but is now *way* more than that and upgrades are hardly cheap either. I think it will cost $100 a year or more now to keep it up to date. Cygwin/X is a bit more hassle to set up than X-Win32, it's not quite so 'smooth and professional' but it works as well and, for me anyway, the cut and paste between Win2k and Linux works better (maybe X-Win32 has caught up on this front).X-Win32 is Better than Of the commercial X servers X-Win32 was by far the best that I could find at around $100 or less when I first looked several years ago. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: Having XP and KDE desktops togather
On Wed, Dec 22, 2004 at 04:46:15AM -0500, Andrew Schulman wrote: The KDE Desktop occupies whole of XP screen and remains in foreground, can not be moved and can not be iconized. So Windows becomes practically inaccessible until I kill KDE Desktop. Any suggestions to make both desktops co-exist? I use bosskey (http://keir.net/booskey.html) to set up multiple virtual desktops in Windows. Exactly what I do, except that I use Ontrack's (now V-Com) toolbar from their Powerdesk utility. The 'picture' of the virtual desktops lives in the Windows taskbar and applications can be dragged around in that 'picture' from one desktop to another if necessary. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: I've lost cut and paste - any ideas why?
I've changed from using gdm to using a 'compiled at home' copy of wdm and, after a little configuration, that has resolved the problem. I now have cut-and-paste working again between Windows and my Linux desktop. Thanks for all the help and suggestions. I quite like the simplicity of wdm anyway, I don't need any of the extra glitzy add-ons of gdm or kdm, the only reason I moved from xdm was because the Slackware 10 version woudn't work for me. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
I've lost cut and paste - any ideas why?
I have lost the ability to cut and paste between my slackware Linux desktop and the Windows 2000 system on which I'm running Cygwin/X. It used to work until recently and the only thing I can think of that has changed is that I have upgraded the Slackware from version 9.1 to version 10 and I'm using gdm rather than xdm on that system. Is there any configuration in the gdm/xdm area that would affect my ability to cut and paste? -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: I've lost cut and paste - any ideas why?
On Fri, Dec 17, 2004 at 12:09:04PM +0100, Alexander Gottwald wrote: On Fri, 17 Dec 2004, Chris Green wrote: [snip] Is there any configuration in the gdm/xdm area that would affect my ability to cut and paste? There was a similar report some days ago. It seems the gdm startup had changed and the clipboard client is killed by gdm again. Normally the clipboard client is started after gdm finished but it seems it is started to early. /tmp/XWin.log may shed some light on this OK, thanks, I'll go and take a look. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: I've lost cut and paste - any ideas why?
On Fri, Dec 17, 2004 at 06:57:14AM -0500, Thomas Dickey wrote: On Fri, 17 Dec 2004, Chris Green wrote: I have lost the ability to cut and paste between my slackware Linux desktop and the Windows 2000 system on which I'm running Cygwin/X. It used to work until recently and the only thing I can think of that has changed is that I have upgraded the Slackware from version 9.1 to version 10 and I'm using gdm rather than xdm on that system. Is there any configuration in the gdm/xdm area that would affect my ability to cut and paste? I have an impression that Slackware 10 introduced UTF-8 locales. That's the first thing I'd check. How would one check this and, if it's the cause, fix it? -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: I've lost cut and paste - any ideas why?
On Fri, Dec 17, 2004 at 08:45:58AM -0500, Thomas Dickey wrote: On Fri, 17 Dec 2004, Chris Green wrote: On Fri, Dec 17, 2004 at 06:57:14AM -0500, Thomas Dickey wrote: I have an impression that Slackware 10 introduced UTF-8 locales. That's the first thing I'd check. How would one check this and, if it's the cause, fix it? If your environment on the other end is a UTF-8 locale, then some of the selections will use a UTF-8 string. I don't know offhand if the Cygwin/X server supports that, but the clients don't since Cygwin doesn't support UTF-8 locales. If that's the case, setting your locale to en_GB.ISO-8859-1, etc., should make it workable (since Cygwin supports Latin-1). That's normally set in some system file (but I don't offhand know, since mostly I've been using startx/fvwm). OK, thanks very much, two things to check tonight when I get home. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: I've lost cut and paste - any ideas why?
On Fri, Dec 17, 2004 at 04:13:59PM +0100, Alexander Gottwald wrote: winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un til fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un til fourth call. winProcEstablishConnection - Hello winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard client un til fourth call. winInitClipboard () winProcQueryTree - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:1.0 winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard client already launched, returning. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winClipboardIOErrorHandler! winClipboardProc - setjmp returned for IO Error Handler. winDeinitMultiWindowWM - Noting shutdown in progress There are too many clients connecting before the actual login process connects. I'm thinking about various solutions: o make the number of clients configurable (it is hardcoded to 4 now) - quite easy work - not very userfriendly o make clipboard thread recover from errors (shutdown and restart) - very hard to build - will work in all cases Number 1 is something I will come up in the next days. The second needs at least some days to come up wit a clear design and even longer to implement and test. Thanks for looking into it and reporting what you found. I'll look and check to see if my error log reports the same. Would a strategically placed sleep anywhere help? Unfortunately I can't go back to xdm as I couldn't get it to work on my Slackware 10, I *think* it's something to do with it being compiled for ipv6. Maybe I should try building a version from source with ipv6 disabled, I've no need for all the extras that gdm provides, I just used it because it worked. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Does anyone else get these blank failed deliveries?
Every time I send a message to the Cygwin/X list I get an empty bounce with the following headers:- From [EMAIL PROTECTED] Fri Dec 17 15:53:40 2004 From: Mail Delivery Subsystem [EMAIL PROTECTED] Subject: Returned mail: User unknown To: [EMAIL PROTECTED] Date: Fri, 17 Dec 2004 15:48:04 + (GMT) Is anyone else experiencing this? -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: Does anyone else get these blank failed deliveries?
On Fri, Dec 17, 2004 at 05:02:36PM +0100, Alexander Gottwald wrote: On Fri, 17 Dec 2004, Chris Green wrote: Every time I send a message to the Cygwin/X list I get an empty bounce with the following headers:- From [EMAIL PROTECTED] Fri Dec 17 15:53:40 2004 From: Mail Delivery Subsystem [EMAIL PROTECTED] Subject: Returned mail: User unknown To: [EMAIL PROTECTED] Date: Fri, 17 Dec 2004 15:48:04 + (GMT) Is anyone else experiencing this? Someone (or a worm) is using your mail address to send infected mails. Just ignore them. You can't make it stop anyway. It's something more subtle than the usual though as it is definitely only happening when I send mail to the Cygwin/X list, one of these Returned mail: errors for each message I send to the list. I get all sorts of other junk but this is the only one that has these odd (and consistent) characteristics. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: Does anyone else get these blank failed deliveries?
On Fri, Dec 17, 2004 at 11:20:42AM -0500, Christopher Faylor wrote: On Fri, Dec 17, 2004 at 11:04:30AM -0500, Christopher Faylor wrote: On Fri, Dec 17, 2004 at 03:57:01PM +, Chris Green wrote: Every time I send a message to the Cygwin/X list I get an empty bounce with the following headers:- From [EMAIL PROTECTED] Fri Dec 17 15:53:40 2004 From: Mail Delivery Subsystem [EMAIL PROTECTED] Subject: Returned mail: User unknown To: [EMAIL PROTECTED] Date: Fri, 17 Dec 2004 15:48:04 + (GMT) Is anyone else experiencing this? There is only one person from ise.de subscribed to the mailing list. I've unsubscribed that person. I guess if I don't get a bounce, I'll know if that was the right thing to do or not... Incidentally, if this type of thing happens in the future, the best way to correct the problem is to send the *complete* text (plus all headers) of the bounce to cygwin-xfree-owner at cygwin dot com. Yes, OK, I realised I hadn't sent the complete headers. However I had sent the complete text, there wasn't any, it was always an empty message. - Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: Does anyone else get these blank failed deliveries?
On Fri, Dec 17, 2004 at 05:29:25PM +0100, Alexander Gottwald wrote: On Fri, 17 Dec 2004, Chris Green wrote: It's something more subtle than the usual though as it is definitely only happening when I send mail to the Cygwin/X list, one of these Returned mail: errors for each message I send to the list. Hm. I had did not get the response when sending to the list otherwise I'd have kicked him earlier. Well whatever the list owner did it has fixed the problem. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice that which can be explained by incompetence.
Re: Upgrading from xfree to xorg, any major issues?
On Sun, Oct 24, 2004 at 07:28:18PM -0400, Igor Pechtchanski wrote: On Sun, 24 Oct 2004, Alexander Gottwald wrote: Chris Green wrote: Some time soon I'm going to have to upgrade my present Cygwin/X installation which is mostly 4.3.0.x Xfree to the latest Xorg versions. How painless is this likely to be? I run Cygwin/X on a Win2k machine and use it to display my Slackware Linux desktop using xdm. There should be only minor issues. XF86Config is not compiled in anymore. Lot's of bugfixes... But actually xorg 6.7.0 was just the next evolution of xfree 4.3.0 and fits in the old release tree xf 4.2 xf 4.3 xorg 6.7.0 xorg 6.8.0 xorg 6.8.1 So there should not be any big problems Here's one major PITA: xterm has moved from /usr/X11R6/bin to /usr/bin. If you have any scripts, batch files, or shortcuts that hardcode /usr/X11R6/bin/xterm, you'll need to either change them to use /usr/bin/xterm, or add a symlink in /usr/X11R6/bin to /usr/bin/xterm. Igor Thanks both, it sounds like it should be reasonably painless then. I don't have many (any?) scripts or anything that will be affected by the xterm move as my major use for Cygwin/X is as an X server for my Linux desktop on my Win2k machine. We're getting broadband this week hopefully so I'll probably wait for that before doing the big download/upgrade. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice, that which can be explained by incompetence.
Re: Possibly OT: reloading rxvt menus
On Fri, Oct 08, 2004 at 11:15:12AM -0700, Tim Hubberstey wrote: Hi all, I realise that this is possibly OT but there is no discussion forum on the rxvt website and no evidence anyone's been there in months so... There is an rxvt mailing list which, while quiet, does get a response when you post a question in my experience (I'm subscribed). Is there a way to load a new menu into an rxvt v2.7.10 window? I understand that the escape sequences in the documentation have been removed for security reasons. I currently have an ugly workaround where I get the settings of the current window, spawn a new one with the same settings and then kill the parent window. This works but is slow and ugly. Any other suggestions? I'll post this to the rxvt list and report any results back. -- Chris Green ([EMAIL PROTECTED]) Never ascribe to malice, that which can be explained by incompetence.
Re: running remote XDMCP session over ssh
On Thu, Jun 24, 2004 at 04:01:28PM +0200, Holger Krull wrote: is it possible to run remote XDMCP session tunneled over ssh with cygwins' xfree implementation. As far as i know, ssh only forwards tcp and XDMCP uses udp so this will not work. But why would you need XDMCP if you already have a ssh connection to your remote computer? To get the whole desktop with the window manager of the remote computer as opposed to using a local window manager maybe. -- Chris Green ([EMAIL PROTECTED])
Re: running remote XDMCP session over ssh
On Thu, Jun 24, 2004 at 05:21:32PM +0200, Ariel Burbaickij wrote: Chris Green schrieb: But why would you need XDMCP if you already have a ssh connection to your remote computer? To get the whole desktop with the window manager of the remote computer as opposed to using a local window manager maybe. And why would you need XDMCP for this? Use ssh -Y and just start kde (or similar). CDE is not supported, is it ? ;-). I need access to some legacy workstations. That is why. ... and I don't want KDE thank you (what does 'ssh -Y' do by the way, the ssh that I use doesn't seem to have that option). -- Chris Green ([EMAIL PROTECTED])
Re: Terminal emulator capable of emulating Sun terminals
On Fri, May 28, 2004 at 11:20:57AM +0200, Ariel Burbaickij wrote: Hello dear mailing list participants, as you might know by my previous mail I am pretty much bound to Sun platform and ocassionally need this or that terminal that it specific to this platform (e.g. sun-cmd or dtterm). Have we some terminal emulator in cygwin XFree86 that is capable of emulating these terminals? The terminal emulator is a client of the X server. Thus if your applications are running on a Sun system you run the Sun terminal you require on the Sun and display it on the X server (which may well be Cygwin/X on a PC). I suppose you might be wanting to telnet to a remote Sun system using an existing Cygwin terminal window running on your PC, in that case I think you are out of luck. I suppose what I'm suggesting is that you run cygwin/X and use xdm to display your Sun desktop on your PC, then you can have Sun terminals as you want. For what it's worth I have used Solaris platforms for development for many years but I weaned myself off the Sun proprietory terminal emulators very early on. I've standardised on rxvt (which is essentially an xterm without tektronix graphics) and find that there is very little I can't do with that. What do you need sun-cmd or dtterm for? -- Chris Green ([EMAIL PROTECTED])
Re: Terminal emulator capable of emulating Sun terminals
On Fri, May 28, 2004 at 06:53:51AM -0400, Thomas Dickey wrote: On Fri, 28 May 2004, Chris Green wrote: On Fri, May 28, 2004 at 11:20:57AM +0200, Ariel Burbaickij wrote: I suppose what I'm suggesting is that you run cygwin/X and use xdm to display your Sun desktop on your PC, then you can have Sun terminals as you want. dtterm will display remotely - I don't recall if sun-cmd will (some of those clients don't). How would they know? Certainly all the Sun terminals work here where I'm displaying my SUn desktop on a PC using xdm. For what it's worth I have used Solaris platforms for development for many years but I weaned myself off the Sun proprietory terminal emulators very early on. I've standardised on rxvt (which is essentially an xterm without tektronix graphics) and find that there is very little I can't do with that. more than that actually (both xterm and rxvt have features that the other lacks - I'm biased of course, and find that the features that xterm has that rxvt lacks are generally more useful than the corresponding set of features in rxvt absent in xterm). Yes, I realised that, but what I said is where rxvt 'came from' as it were. What do you need sun-cmd or dtterm for? it's probably what he's using right now. He said ne *needed* them for some things. I use a sun-cmd for one particular ancient application which is more functional (and needs fewer keystrokes to do some things) in a sun-cmd window than an xterm. -- Chris Green ([EMAIL PROTECTED])
Running more than one X server, how (or maybe there's another way)?
I am trying to run more than one X server on my WIn2k system and don't seem to be able to do it. Maybe I'm trying to do the wrong thing and there's another approach to get what I want. I'm running the -60 version. I run a multiple/virtual desktop system on my win2k machine, I run the cygwin X server to display a remote system's Linux desktop in one of the virtual windows and it occupies the whole window. What I want to do in addition is to display local rxvt windows on demand on other win2k virtual desktop windows. Trying to start another X server to display the local rxvt window(s) doesn't seem to work, I've tried using the -screen parameter but that didn't seem to get me far, the rxvt windows insisted in popping up on the Linux desktop anyway and the second X server failed to start up with an error message about invalid screen parameters. Can anyone think of a way of getting what I want? Can I start up an X server that will see the win2k virtual screens as different displays, or can I start up one that will see them all as one big wide display? -- Chris Green ([EMAIL PROTECTED])
xhost/display oddities
Can anyone explain the following regarding xhost, display permissions, etc. I have an /etc/X0.hosts file with the following in it:- 127.0.0.1 If I open a Cygwin win2k console window I can run rxvt and an rxvt window pops up successfully. It's using the above X0.hosts permission because if I remove the above file rxvt won't start and says it can't open display 127.0.0.1:0.0. However if I try and run xhost it says 'unable to open display ' and similarly xlsfonts says the same thing. How does rxvt know to try and open display 127.0.0.1:0.0 whereas xhost and xlsfonts (and others presumably) just have nothing for the display? It's fixable by setting DISPLAY in the environment but it's a bit confusing. Come to that why on earth does xlsfonts want to open the display anyway, it only outputs to the console window. -- Chris Green ([EMAIL PROTECTED])
Re: xhost/display oddities
On Sat, Mar 13, 2004 at 11:56:28AM +, Chris Green wrote: However if I try and run xhost it says 'unable to open display ' and similarly xlsfonts says the same thing. How does rxvt know to try and open display 127.0.0.1:0.0 whereas xhost and xlsfonts (and others presumably) just have nothing for the display? It's fixable by setting DISPLAY in the environment but it's a bit confusing. Even sillier, if I set DISPLAY=127.0.0.1:0.0 then xhost and xlsfonts work but rxvt fails and says can't open display 127.0.0.1:0.0. There's something distinctly odd about all this! -- Chris Green ([EMAIL PROTECTED])
Re: xhost/display oddities
On Sat, Mar 13, 2004 at 12:03:58PM +, Chris Green wrote: On Sat, Mar 13, 2004 at 11:56:28AM +, Chris Green wrote: However if I try and run xhost it says 'unable to open display ' and similarly xlsfonts says the same thing. How does rxvt know to try and open display 127.0.0.1:0.0 whereas xhost and xlsfonts (and others presumably) just have nothing for the display? It's fixable by setting DISPLAY in the environment but it's a bit confusing. Even sillier, if I set DISPLAY=127.0.0.1:0.0 then xhost and xlsfonts work but rxvt fails and says can't open display 127.0.0.1:0.0. There's something distinctly odd about all this! The plot thickens, sorry I'm rambling on. xlsfonts and xhost will only run in the win2k console if I have an xdmcp session running to (from?) a remote computer! If I have an X0.hosts file with 127.0.0.1 in it and the DISPLAY=127.0.0.1:0.0 then both xhosts and xlsfonts both say unable to open display 127.0.0.1:0.0. But if I start an xdmcp session then they run successfully. They're not using the X session to display but they insist on it being present. H. -- Chris Green ([EMAIL PROTECTED])
Re: Some help with [re-]installation please
On Fri, Mar 12, 2004 at 02:59:59PM -0600, Brian Ford wrote: On Fri, 12 Mar 2004, Chris Green wrote: On Wed, Mar 10, 2004 at 10:10:18AM -0600, Brian Ford wrote: Since none of this is really specific to Cygwin/X, I've redirected this thread to the main cygwin list. You really should configure your mailer to honor the Reply-To header. I set it to the main Cygwin list so this off topic discussion wouldn't continue on the Cygwin/X list. I use mutt and was using the L[ist] reply option, since the only list I'm subscribed to is the Cygwin/X list mutt did what it was told. This reply seems to have gone to the main cygwin list. Chris Green wrote: Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act just like you had no Cygwin installation. If setup.exe finds a newer version of an installed package available, it will automatically mark it to be upgraded. To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it. Also, to avoid the need to reboot after upgrading, make sure to close all Cygwin windows and stop all Cygwin processes before setup.exe begins to install the upgraded package. What on earth does To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it., mean??? Did you try it? Clicking on Keep transitions it to Uninstall, Reinstall, Source, etc. No it doesn't, this still confuses me, there are Keep, Prev, Curr and Exp and you can select each but I have no idea what they do. Clicking on Keep doesn't toggle it, it just selects it. You are (or I was) confusing the radio buttons at the top for Keep, Prev, Curr, and Exp (maybe they should be Keep, Revert, Upgrade, and Experimental? Does that help?) that apply to all packages, with the New column for each individual package (an override of sorts) that transitions through Keep, Reinstall, Source, Current version (Upgrade), Uninstall. I still don't understand what they do! :-) Firstly what do they mean - does Keep mean keep the existing version one has? What does Revert/Previous mean - go to last version, if so then what last version. Upgrade presumably means get the latest version and Experimental means get any Experimental version going. However it still doesn't make much sense to me, do the buttons apply to the whole list or what? -- Chris Green ([EMAIL PROTECTED]) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Questions on xhost, local display, etc.
You may remember a long thread about this around the new year, the specific issue then (trying to run the external xwinclip program) is no longer with us but since having to do a complete re-install due to a disk optimiser destroying the data on my disk I have a few things that still aren't quite clear for me. Is it possible to run any of the cygwin/X programs that require to display something other than in the console window without running a local X server of some sort? If it isn't possible with the default set up is there any workaround? It would be good for example to be able to run GUI editor windows (e.g. xvile for cygwin) without having to run an X desktop. I have looked back in the mailing list archives at the earlier thread and reminded myself how I eventually overcame the 'catch 22' problem of not being able to run xhost because it wanted permission to write on the display which needed xhost to run to allow it to. Is the /etc/X0.hosts file format described or documented anywhere? I looked for it in the documentation and couldn't find anything, it would be good to have this in the FAQ at least because it's a lifesaver! -- Chris Green ([EMAIL PROTECTED])
Re: Some help with [re-]installation please
On Wed, Mar 10, 2004 at 10:10:18AM -0600, Brian Ford wrote: I had all the ftp'ed files left from installing cygwin previously sitting in a directory on a networded drive, could I have used these to re-install cygwin rather than downloading everything again? If so, how does one do it? Yes. Choose Install from Local Directory instead of Install from Internet, and point setup there. Keep in mind, however, you would have missed out on all the new and exciting updates :). There are a number of different directories, one for each FTP site I've used. This is the part I am not sure how to handle. setup.exe is very clever actually, it looks through *all* the ftp directories and merges what you have into one list. I really find the window where you select what to download, etc. *very* confusing, some of the wording is very odd. Two examples from the User's Guide which I find difficult to understand are:- You can change setup.exe's view style, which is helpful if you know the name of a package you want to install but not which category it is in. Click on the View button and it will rotate between Category (the default), Full (all packages), and Partial (only packages to be upgraded). If you are familiar with Unix, you will probably want to at east glance through the Full listing for your favorite tools. So what does 'Partial' mean? I can see that Category means all packages sorted into types, Full means all in alphabetical order but what does Partial mean? Does it mean only display packages that I've got already? I found it confusing at first too :). It also gives you 'Not installed' which is what I want as it indicates the packages that are downloaded in the local cache but not installed. Just what I need for a re-install after losing my disk. Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act just like you had no Cygwin installation. If setup.exe finds a newer version of an installed package available, it will automatically mark it to be upgraded. To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it. Also, to avoid the need to reboot after upgrading, make sure to close all Cygwin windows and stop all Cygwin processes before setup.exe begins to install the upgraded package. What on earth does To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it., mean??? Did you try it? Clicking on Keep transitions it to Uninstall, Reinstall, Source, etc. No it doesn't, this still confuses me, there are Keep, Prev, Curr and Exp and you can select each but I have no idea what they do. Clicking on Keep doesn't toggle it, it just selects it. -- Chris Green ([EMAIL PROTECTED]) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Some help with [re-]installation please
I had a disk disaster over the week-end, a disk 'optimiser' made my 160Gb main drive very optimal by wiping it completely. I was fairly well backed up etc. but it takes a while to get everything back to normality. I found re-installing cygwin and cygwin/X a bit confusing so would appreciate some comments and help. I had all the ftp'ed files left from installing cygwin previously sitting in a directory on a networded drive, could I have used these to re-install cygwin rather than downloading everything again? If so how does one do it? There are a number of different directories, one for each FTP site I've used. As it was I chose an FTP site (the last one I had used I think) and re-downloaded from there, or did I? If I accept defaults does it just download only the files which have been updated and install the rest from the previously downloaded files on disk. I really find the window where you select what to download, etc. *very* confusing, some of the wording is very odd. Two examples from the User's Guide which I find difficult to understand are:- You can change setup.exe's view style, which is helpful if you know the name of a package you want to install but not which category it is in. Click on the View button and it will rotate between Category (the default), Full (all packages), and Partial (only packages to be upgraded). If you are familiar with Unix, you will probably want to at east glance through the Full listing for your favorite tools. So what does 'Partial' mean? I can see that Category means all packages sorted into types, Full means all in alphabetical order but what does Partial mean? Does it mean only display packages that I've got already? ... and the second (and more confusing for me) bit is:- Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act just like you had no Cygwin installation. If setup.exe finds a newer version of an installed package available, it will automatically mark it to be upgraded. To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it. Also, to avoid the need to reboot after upgrading, make sure to close all Cygwin windows and stop all Cygwin processes before setup.exe begins to install the upgraded package. What on earth does To Uninstall, Reinstall, or get the Source for an existing package, click on Keep to toggle it., mean??? -- Chris Green ([EMAIL PROTECTED])
Re: Okay, I feel stupid
On Wed, Mar 10, 2004 at 07:01:06AM -0800, Matthew L. Mandalek wrote: How do I use cygwin to start a X console on my XP machine like I get on the Rad Hat Fedora console? Do you just mean a terminal window or do you mean an X desktop? To me 'console' means a text mode terminal, in that case all you need to do is run the cygwin object that should be on your desktop and you have something like wghat you're after. If you want a 'proper' Unix/Linux terminal then you need rxvt which you may or may not have downloaded with cygwin. -- Chris Green ([EMAIL PROTECTED])
Full screen, minus a bit, how?
Is it possible to get cygwin to start up in 'not quite full screen' mode? I use a multiple desktop system on my win2k machine and use cygwin/X to run my Linux desktop on one of the win2k desktops. However I keep the win2k taskbar visible (it has the multiple desktops in the taskbar) using a little utility called Shove-it. Thus when cygwin/X brings up the Linux system's desktop Shove-it pushes it down (I have my taskbar at the top) by the width of the taskbar. This works OK except that sometimes I get some odd effects when using the mouse near the bottom of the screen. Thus a way to get cygwin/X to bring up an xdmcp desktop in something like 1600x1160 mode would be very useful. -- Chris Green ([EMAIL PROTECTED])
Re: startxwin: cannot unlink
On Sun, Feb 22, 2004 at 03:16:12PM -0500, Igor Pechtchanski wrote: On Sun, 22 Feb 2004, Elvin Peterson wrote: --- Chris Green chrisataretidotcodotuk wrote: Elvin, Please configure your mail client to not quote raw e-mail addresses in replies -- they're just so much fodder for spambots. I don't believe that E-Mail addresses appearing here attract much spam. I use the address below only for e-mail list subscriptions and while it does get a few bits and pieces of junk mail the amount is trivial, maybe two or three a day. According to research done on this the vast bulk of spam gets to addresses which appear on (popular) web pages and my experience bears this out. Even addresses on usenet don't attract much spam nowadays, I use a real address for usenet postings and it gets even less spam than [EMAIL PROTECTED] gets. -- Chris Green ([EMAIL PROTECTED])
Re: startxwin: cannot unlink
On Sat, Feb 21, 2004 at 08:26:13PM -0800, Elvin Peterson wrote: Hello, $ ./startxwin.sh rm: cannot unlink `/tmp/.X11-unix/X0': Permission denied rm: cannot remove directory `/tmp/.X11-unix': Directory not empty Attempt to remove the file using explorer fails with file in use error. How do I remove this directory? Any help is appreciated. I have attached the output from cygcheck -svr to this mail. Thanks. I had this problem a few weeks ago too, in the end I think I managed to get rid of it from the windows command line. However I couldn't make any sense of the errors about file in use and so on either. -- Chris Green ([EMAIL PROTECTED])
Re: cannot get XDM on remote RH 8
On Wed, Feb 18, 2004 at 04:22:48PM +0100, amr roushi wrote: I am running on W2K with XF86 and running fine with AIX SUSE I get the xdm login via xwin :0 -query hostname -from hostnameHere . all addresses are resolveable and XDM enabled . when doing this to the redhat Nothing happens and also nothing in the XF86 log . Is xdm actually running on the Redhat system? On most Linux systems it isn't started by default I don't think, I usually add it to the rc.local file. -- Chris Green ([EMAIL PROTECTED])
Re: cannot get XDM on remote RH 8
On Wed, Feb 18, 2004 at 06:02:01PM +0100, amr roushi wrote: Chris Green wrote: On Wed, Feb 18, 2004 at 04:22:48PM +0100, amr roushi wrote: I am running on W2K with XF86 and running fine with AIX SUSE I get the xdm login via xwin :0 -query hostname -from hostnameHere . all addresses are resolveable and XDM enabled . when doing this to the redhat Nothing happens and also nothing in the XF86 log . Is xdm actually running on the Redhat system? On most Linux systems it isn't started by default I don't think, I usually add it to the rc.local file. Chris thank u for the hint can u give me the line to add in rc.local and where it is thks agin for ur help Well my /etc/rc.d/rc.local has:- /usr/X11R6/bin/xdm This is on Slackware 9.1 but there's no guarantee that is going to be right for other Linux versions, xdm may be in a different place and/or you may have a different layout of start-up scripts. -- Chris Green ([EMAIL PROTECTED])
Re: Initiating a remote X session
On Wed, Jan 21, 2004 at 10:28:58AM -0500, Steve Howie wrote: We currently use X-Win32 which has a nifty feature for getting around this - you can specify $MYIP:0 which picks up the current IP address of the X-server and passes it to the session definition which is sent to the host which will run the application. Another 'emigrant' from X-Win32, welcome! :-) I have recently changed because X-Win32 was becoming a bit expensive for a home (sort of SoHo) user. Cygwin seems to be just as good, and the clipboard handling is better now. -- Chris Green ([EMAIL PROTECTED])
Re: Xwin ... -clipboard problems
On Thu, Jan 15, 2004 at 03:03:39PM -, Haisam K. Ido wrote: I am able to copy between X11 and WinXp when i start xwinclip or Xwin with the clipboard option. Here's the problem I can no longer highlight text in X11 for deletion. Once I highlight the text it is copied to the clipboard and the highlight disappears. How do I resolve this? That shouldn't happen any more with the latest -40 version, it's fixed on my system anyway. -- Chris Green ([EMAIL PROTECTED])
How/where to get latest XFree86-xserv-bin?
How do I set about getting the latest (-40) build? Can I do it using the normal setup.exe and, if so, which ftp site should I point it at? -- Chris Green ([EMAIL PROTECTED])
Re: How/where to get latest XFree86-xserv-bin?
On Tue, Jan 13, 2004 at 01:51:45PM -0500, Harold L Hunt II wrote: Chris, Just use any mirror except the following: ftp.nnov.net(6/23/2003) csociety-ftp.ecn.purdue.edu(10/28/2003) cygwin.mirrors.pair.com(25-Oct-2003) mirror.mcs.anl.gov(10/24/2003) cygwin.get-software.com(08-May-2003) www.binarycode.org(08-May-2003) I usually use mirrors.kernel.org or mirrors.rcn.net. Both are updated frequently and should have good troughput across the Atlantic. Thanks, mirrors.kernel.org seems to work well for me, faster and more up to date then the UK site I was using. Downloading at this very moment. -- Chris Green ([EMAIL PROTECTED])
Re: Clipboard progress
On Tue, Jan 06, 2004 at 01:48:24AM -0500, Harold L Hunt II wrote: 2) The only problem with step #1 is that we have to detect when we are doing an XDMCP connection and delay the clipboard client connecting to the X Server until the XDMCP connection has been made. If we don't, then the XDMCP code will perform a server reset, the clipboard client will re-attach, XDMCP will perform a reset, ad nauseum. Well, it isn't quite that bad because the clipboard client crashes the server shortly after the first reset :) I can detect when XDMCP is being used, but I haven't found a good way to detect that XDMCP has connected to the X server... I suppose I could monitor the total client count and use that as a signal, but I would have to poll it. More later. Ah! So that explains why I need the sleep between the -query call which makes the XDMCP connection and calling xwinclip (I'm still using the separate xwinclip). -- Chris Green ([EMAIL PROTECTED])
Re: [OT] Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 06:50:53PM -0500, Igor Pechtchanski wrote: On Fri, 2 Jan 2004, Chris Green wrote: On Fri, Jan 02, 2004 at 08:33:41PM +0100, Alexander Gottwald wrote: Chris Green wrote: The xterm that one runs by clicking on the cygwin icon, the standard cygwin (not cygwin/X) terminal window. This is not xterm. This is just a windows console with bash. Yes, I've since realised that, not obvious initially. Umm, if I were an xterm, I'd resent that... :-) :-) too! I'm actually an rxvt fan myself, it's my standard terminal window on all the systems I use (both Linux at home and Sun Sparc at work). I can never get on with the xterm scrollbars. -- Chris Green ([EMAIL PROTECTED])
rxvt comes up with lots of escape sequences visible
When I start an rxvt window on my cygwin X display (a local win2k rxvt client that is) it has lots of visible escape sequences, e.g.:- \[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] Presumably these should be interpreted somehow by rxvt and not displayed. What am I doing wrong? The window works otherwise, it redisplays the above after every command though. I've not done anything apart from installing rxvt (by using startup.exe) and then running rxvt. -- Chris Green ([EMAIL PROTECTED])
Re: rxvt comes up with lots of escape sequences visible
On Sat, Jan 03, 2004 at 12:55:05PM -0500, Igor Pechtchanski wrote: On Sat, 3 Jan 2004, Chris Green wrote: When I start an rxvt window on my cygwin X display (a local win2k rxvt client that is) it has lots of visible escape sequences, e.g.:- \[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] Presumably these should be interpreted somehow by rxvt and not displayed. What am I doing wrong? The window works otherwise, it redisplays the above after every command though. I've not done anything apart from installing rxvt (by using startup.exe) and then running rxvt. It's the default *bash* prompt as displayed by ash. For some reason, rxvt doesn't pick up that your shell is bash and invokes /bin/sh, which doesn't understand the ansi escape sequences. Either invoke rxvt through rxvt -e bash --login -i or change the default prompt to contain the actual control characters instead of the \033 bash-isms. OK, thanks very much, just what I needed to know. Getting rxvt to run bash explicitly works perfectly. -- Chris Green ([EMAIL PROTECTED])
Re: rxvt comes up with lots of escape sequences visible
On Sat, Jan 03, 2004 at 02:00:38PM -0500, Christopher Faylor wrote: On Sat, Jan 03, 2004 at 06:18:37PM +, Chris Green wrote: On Sat, Jan 03, 2004 at 12:55:05PM -0500, Igor Pechtchanski wrote: On Sat, 3 Jan 2004, Chris Green wrote: When I start an rxvt window on my cygwin X display (a local win2k rxvt client that is) it has lots of visible escape sequences, e.g.:- \[\033]0;\w\007 [EMAIL PROTECTED] \[\033[33m\w\033[0m\] Presumably these should be interpreted somehow by rxvt and not displayed. What am I doing wrong? The window works otherwise, it redisplays the above after every command though. I've not done anything apart from installing rxvt (by using startup.exe) and then running rxvt. It's the default *bash* prompt as displayed by ash. For some reason, rxvt doesn't pick up that your shell is bash and invokes /bin/sh, which doesn't understand the ansi escape sequences. Either invoke rxvt through rxvt -e bash --login -i or change the default prompt to contain the actual control characters instead of the \033 bash-isms. OK, thanks very much, just what I needed to know. Getting rxvt to run bash explicitly works perfectly. FWIW, you can also set the SHELL environment variable to /bin/bash and rxvt will bring up bash automatically. Even neater, thanks. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Thu, Jan 01, 2004 at 07:26:45PM +0100, Alexander Gottwald wrote: Chris Green wrote: Do I then need to run a *local* cygwin window on my win2k system and run 'xwinclip'? In that case what will running 'xhost 127.0.0.1' on the remote system do? (I know what xhost does, I just don't see what it has to do with running xwinclip). The xserver running on the windows host is setup to accept only clients from the session started by xdm. xhost now tells the server (which is on the windows computer) to allow connections from local (to the xserver) clients. This means the xhost 127.0.0.1 tells the xserver to accept connections from the windows host. After that you can start xwinclip on the windows host. The trouble is that when I run 'xhost 127.0.0.1' in a cygwin window on my win2k system I just get the error:- xhost: unable to open display What should the DISPLAY environment variable be set to for the local display? I'm used to setting it for remote systems but I can't get the right value for this one. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 03:33:42PM +0100, Alexander Gottwald wrote: On Fri, 2 Jan 2004, Chris Green wrote: The trouble is that when I run 'xhost 127.0.0.1' in a cygwin window on my win2k system I just get the error:- xhost: unable to open display that would be DISPLAY=127.0.0.1:0 xhost 127.0.0.1 But most likely you will have no access from windows. Run xhost from the session started via xdmcp. But if I run xhost in that session I will be setting xhost permissions on the Linux Slackware system which is most definitely not what is required. It seems very odd that xhost requires access to the local display in order to work as you need xhost to set permission to acces the local display - sort of catch 22. If I open just a cygwin terminal window on my Win2k system I simply can't run xhost at all. E.G.:- $ xhost xhost: Unable to open display $ export DISPLAY=192.168.13.25:0.0 $ xhost Xlib: connection to 192.168.13.25:0.0 refused by server Xlib: no protocol specified xhost: Unable to open display 192.168.13.25:0.0 So how can one ever run xhost (and thus xwinclip)? What should the DISPLAY environment variable be set to for the local display? I'm used to setting it for remote systems but I can't get the right value for this one. Fot the local display this is 127.0.0.1:0 or :0 Maybe my win2k set up is wonly but 127.0.0.1 won't work for me, the actual IP address of 192.168.13.25 does work though. However a second try seems to be OK, maybe I'd got into a mess before. The 'catch 22' above still applies though. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
Well I'm getting a little further with this problem but I'm still hitting the fundamental problem that xhost can't set the required local display permission so that xwinclip can be run. Thus I have the following .bat file to start the xdm session:- SET DISPLAY=127.0.0.1:0.0 SET REMOTE_HOST=192.168.13.1 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% REM Cleanup after last run. if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix echo startxdmcp.bat - Starting on Windows NT/2000/XP start /B XWin -query %REMOTE_HOST% start /B xhost 127.0.0.1 start /B xwinclip The start /B xhost 127.0.0.1 and the start /B xwinclip both fail because they haven't got permission to access display 127.0.0.1:0.0. How on earth can one set this permission if xhost can't be run? The xterm one is running in has permission to display so why can't xhost and xwinterm display there too? -- Chris Green ([EMAIL PROTECTED])
HOw to set up a 'compose' key?
Another little luxury I require, I want to be able to create accented characters. I had a compose key set up on my old (commercial) X server, is it easy to set one up using cygwin/X? -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 05:10:57PM +0100, Alexander Gottwald wrote: On Fri, 2 Jan 2004, Chris Green wrote: But if I run xhost in that session I will be setting xhost permissions on the Linux Slackware system which is most definitely not what is required. No. It sets the permissions of the __xserver__ to which the session belongs. Try it! linux$ echo $DISPLAY win2k.local.net:0.0 linux$ xhost 127.0.0.1 127.0.0.1 being added to access control list linux$ xhost access control enabled, only authorized clients can connect INET:localhost linux$ DISPLAY=127.0.0.1:0.0 xhost xhost: unable to open display 127.0.0.1:0.0 win2k$ DISPLAY=127.0.0.1:0 xhost access control enabled, only authorized clients can connect INET:win2k It seems very odd that xhost requires access to the local display in order to work as you need xhost to set permission to acces the local display - sort of catch 22. Same with the gates of a castle. To get in, you must open it from inside. This is the main principle of security. You can not allow those who have no access to change the permissions. ... but I am within the castle, I'm sitting running a script on the win2k system and I can't see how to run xwinclip there because it won't give me permission to display on the terminal that I'm already using. It's of little use to be able to allow xwinclip to run on the win2k system by executing something on the Linux system. One wants a means to do it from the X startup script. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 06:27:42PM +0100, Alexander Gottwald wrote: On Fri, 2 Jan 2004, Chris Green wrote: The start /B xhost 127.0.0.1 and the start /B xwinclip both fail because they haven't got permission to access display 127.0.0.1:0.0. How on earth can one set this permission if xhost can't be run? create a file /etc/X0.hosts and add all hosts which should have access to the xserver. Ah, now that seems a good idea, thanks! The xterm one is running in has permission to display so why can't xhost and xwinterm display there too? Which xterm? The one from linux has permission because you started it from the xdm session. The one from windows has no permission because someone might have logged on the the windows host and started it from there. This is a simple security issue. The xterm that one runs by clicking on the cygwin icon, the standard cygwin (not cygwin/X) terminal window. It's there that I'm trying to start my session from (well, actually it's a batch file, but I'm running it from that window). -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 01:28:22PM -0500, Harold L Hunt II wrote: It's of little use to be able to allow xwinclip to run on the win2k system by executing something on the Linux system. One wants a means to do it from the X startup script. Sure, one wants to, but there is not a way to do it. Patches are welcome. So are we now saying that what I want to do is impossible? I thought people were initially saying that although the '-clipboard' parameter to Xwin wouldn't work when using xdmcp the separate xwinclip executable should work OK. However it would now seem that it's actually impossible to execute xwinclip in the situation where one has am xdmcp connection to a remote computer. I'm not complaining (much!), but I am rather confused. :-) -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 09:13:26PM +0100, Alexander Gottwald wrote: Chris Green wrote: Same with the gates of a castle. To get in, you must open it from inside. This is the main principle of security. You can not allow those who have no access to change the permissions. ... but I am within the castle, I'm sitting running a script on the win2k system The win2k system and xwin are two different systems. Not in this situation, they're both running on a machine to which I have administrator and root (if you want to call it that) access. Thus in reality I have access to *everything* that's going on in the machine. Whatever 'security' X wants to put in my way I can (if I'm a reasonably capable programmer) circumvent. The first may be used by more than one person and the second must only be used by you. Why must xwin only be used by me? Just imagine someone wants to steal a password from you and starts a client which registers all keystrokes entered in a xterm. This program can be started from a linux box or from the win2k system itself. The X11 security model tries to prevent this by not allowing any connection that is not started by you. But the connection from which I wanted to run xwinclip *was* run by me. and I can't see how to run xwinclip there because it won't give me permission to display on the terminal that I'm already using. If you've lost your key you'll be able to leave your house but are not able to enter it again. These are two different situations and the design is good but you have a problem if you've lost your key. Not round here, no need to lock houses, it makes life *much* simpler to live. Security is a huge waste of human resources with very few advantages or uses. -- Chris Green ([EMAIL PROTECTED])
Re: cut and paste xfree - windows
On Fri, Jan 02, 2004 at 02:12:10PM -0500, Greg Freemyer wrote: On Thu, 2004-01-01 at 13:28, Alexander Gottwald wrote: [EMAIL PROTECTED] wrote: Harold L Hunt II wrote : For all practical purposes, -clipboard does not work when using XDMCP. Is there any change about ? use xwinclip. NP: Letzte Instanz - Glockenrequiem I saw this and the thread with Chris Green, and like Chris I still don'know what to do. Is there a write-up that explicitely describes the setup and use of xwinclip with xdmcp? I have finally got it working, my start up .BAT file to run an xdmcp connection is as follows:- SET DISPLAY=192.168.13.25:0.0 SET REMOTE_HOST=192.168.13.1 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% REM Cleanup after last run. if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix echo startxdmcp.bat - Starting on Windows NT/2000/XP start /B XWin -query %REMOTE_HOST% sleep 10 start /B xwinclip That sleep between starting XWin and xwinclip seems to be necessary but now it does seem to work reasonably reliably. I have fixed IP addresses for the machines on my home network so the 192.168.13.25 will always be the same for the win2k machine. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 02:19:54PM -0500, Harold L Hunt II wrote: Umm... I'm not sure what you want to do. It is not currently possible to pre-authenticate xwinclip via xhost from a script run on your Windows machine, but it is possible to use the X hosts file like Alexander Yes, it's that enabled me to do it in the end. For the rest see my other reply. -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Fri, Jan 02, 2004 at 08:33:41PM +0100, Alexander Gottwald wrote: Chris Green wrote: The xterm that one runs by clicking on the cygwin icon, the standard cygwin (not cygwin/X) terminal window. This is not xterm. This is just a windows console with bash. Yes, I've since realised that, not obvious initially. -- Chris Green ([EMAIL PROTECTED])
Re: cut and paste xfree - windows
On Fri, Jan 02, 2004 at 10:48:42PM +, Chris Green wrote: I have finally got it working, my start up .BAT file to run an xdmcp connection is as follows:- SET DISPLAY=192.168.13.25:0.0 SET REMOTE_HOST=192.168.13.1 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% REM Cleanup after last run. if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix echo startxdmcp.bat - Starting on Windows NT/2000/XP start /B XWin -query %REMOTE_HOST% sleep 10 start /B xwinclip That sleep between starting XWin and xwinclip seems to be necessary but now it does seem to work reasonably reliably. I have fixed IP addresses for the machines on my home network so the 192.168.13.25 will always be the same for the win2k machine. Plus the other little (but vitally important) bit, an /etc/X0.hosts file containing:- 192.168.13.25 -- Chris Green ([EMAIL PROTECTED])
Re: Possible to use clipboard with remote/xdm connection?
On Wed, Dec 31, 2003 at 05:34:11PM -0500, Harold L Hunt II wrote: Chris Green wrote: Should it be possible to get the '-clipboard' parameter to work with cyxwin/X when connecting to a remote xdm program? I'm using cygwin/X on a win2k system to connect to a Slackware Linux (9.1) system on my home LAN. Is it possible to get clipboard cut/paste to work either to or from my WIn2k desktop? I think there is a timing and authentication problem with the internal -clipboard implementation and remote XDM sessions. You can, instead, use the 'xwinclip' program (installed via Cygwin's setup.exe) and wait to launch it until after you have logged in to your remote XDM host. You may have to run 'xhost 127.0.0.1' on the remote host after you have logged in. I'm a little confused as to what I should do where! :-) I start up cygwin/x and it immediately displays the xdm login from the slackware system. The only thing I can do then is log into to my linux system. Do I then need to run a *local* cygwin window on my win2k system and run 'xwinclip'? In that case what will running 'xhost 127.0.0.1' on the remote system do? (I know what xhost does, I just don't see what it has to do with running xwinclip). Or have I got hold of completely the wrong end of the stick? -- Chris Green ([EMAIL PROTECTED])
[chris@areti.co.uk: Re: Keyboard auto-repeat defaults when using 'xwin -query host']
Did my reply below get lost in the Christmas rush somewhere? I still have this autorepeat proplem though using an explicit xset command in my startup is OK as a workaround. - Forwarded message from Chris Green [EMAIL PROTECTED] - Date: Sat, 27 Dec 2003 14:03:33 + From: Chris Green [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Keyboard auto-repeat defaults when using 'xwin -query host' References: [EMAIL PROTECTED] [EMAIL PROTECTED] On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote: Chris, Chris Green wrote: The problem is that when I connect using cygwin/xfree the auto-repeat is set to silly values, if I do an 'xset -q' I get:- auto repeat: onkey click persent: 0LED mask: 00 auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. Thanks for the response and for treating me gently, I'm just feeling my way in cygwin/X although I have been using Unix/Linux for many years (since the early 1980s in fact). When running locally, I get: Keyboard Control: auto repeat: onkey click percent: 0LED mask: auto repeat delay: 500repeat rate: 31 auto repeating keys: 00ffdbbf fadfffdffdff bell percent: 50bell pitch: 400bell duration: 100 Just about exactly what I get except for the auto repeat delay values which I reported above. When logged into a remote machine via -query I get exactly the same values. I do not have an XF86Config file, and I am not passing any of the following command-line parameters to XWin.exe: == The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kbenable the X Keyboard Extension [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] enable/disable accessx key sequences -ar1 set XKB autorepeat delay -ar2 set XKB autorepeat interval [...] -xf86config Specify a configuration file. == I'm running using a copy of startxwin.bat with the XWIn start line set to start XWin -query server. I have no XF86Config either. My /tmp/XWin.log file has the following: == (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null) == Could you please confirm that you are not passing any additional args to XWin.exe, then send in your XWin.log files from both a local session and from a session when you use -query to connect to a remote machine? That should help us to investigate the problem. The remote XWin.log file is:- ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600 winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 3188 winAllocateFBShadowDDNL - Created shadow pitch: 3188 winAllocateFBShadowDDNL - Created shadow stride: 1594 winFinishScreenInitFB - Masks: f800 07e0 001f winInitVisualsShadowDDNL - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput
Possible to use clipboard with remote/xdm connection?
Should it be possible to get the '-clipboard' parameter to work with cyxwin/X when connecting to a remote xdm program? I'm using cygwin/X on a win2k system to connect to a Slackware Linux (9.1) system on my home LAN. Is it possible to get clipboard cut/paste to work either to or from my WIn2k desktop? -- Chris Green ([EMAIL PROTECTED])
Re: Keyboard auto-repeat defaults when using 'xwin -query host'
On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote: Chris, Chris Green wrote: The problem is that when I connect using cygwin/xfree the auto-repeat is set to silly values, if I do an 'xset -q' I get:- auto repeat: onkey click persent: 0LED mask: 00 auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. Thanks for the response and for treating me gently, I'm just feeling my way in cygwin/X although I have been using Unix/Linux for many years (since the early 1980s in fact). When running locally, I get: Keyboard Control: auto repeat: onkey click percent: 0LED mask: auto repeat delay: 500repeat rate: 31 auto repeating keys: 00ffdbbf fadfffdffdff bell percent: 50bell pitch: 400bell duration: 100 Just about exactly what I get except for the auto repeat delay values which I reported above. When logged into a remote machine via -query I get exactly the same values. I do not have an XF86Config file, and I am not passing any of the following command-line parameters to XWin.exe: == The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kbenable the X Keyboard Extension [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] enable/disable accessx key sequences -ar1 set XKB autorepeat delay -ar2 set XKB autorepeat interval [...] -xf86config Specify a configuration file. == I'm running using a copy of startxwin.bat with the XWIn start line set to start XWin -query server. I have no XF86Config either. My /tmp/XWin.log file has the following: == (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = xfree86 Model = pc101 Layout = us Variant = (null) Options = (null) == Could you please confirm that you are not passing any additional args to XWin.exe, then send in your XWin.log files from both a local session and from a session when you use -query to connect to a remote machine? That should help us to investigate the problem. The remote XWin.log file is:- ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600 winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 3188 winAllocateFBShadowDDNL - Created shadow pitch: 3188 winAllocateFBShadowDDNL - Created shadow stride: 1594 winFinishScreenInitFB - Masks: f800 07e0 001f winInitVisualsShadowDDNL - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0809 (0809) (--) Using preset keyboard for English (United Kingdom) (809), type 4 (EE) No primary keyboard configured (==) Using compiletime defaults
Re: Keyboard auto-repeat defaults when using 'xwin -query host'
On Sat, Dec 27, 2003 at 02:31:58PM +0100, Alexander Gottwald wrote: Chris Green wrote: auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. XWin tries to set the repeat rate to something similar to the windows repeat rate. This is noted in the configfile. Maybe the session scripts of the linux host set the repeat rate to a bogus value. But the problem only occurs when I connect to the remote system using cygwin's xwin, when I use my commercial X-Win32 X server I get the default keyboard set-up that I expect. You can verify this by starting xwin without the query paramter and run DISPLAY=:0.0 xset -q from windows. This should print the default setting. No. locally I appear to get the same problem too. -- Chris Green ([EMAIL PROTECTED])
Keyboard auto-repeat defaults when using 'xwin -query host'
I have a odd problem with the keyboard auto-repeat setup. I have two verions of cygwin/xfree installed on two different win2k computers and the problem is the same on both. One has the latest cygwin/xfree (just downloaded) and the other has a version from a few months ago. I have searched through the mailing list archive and see that a similar problem has been reported before but it isn't exactly the same and I don't see how to fix the problem anyway. I am connecting from both these win2k systems uisng 'xwin -query server' to a linux Slackware 9.1 system on my local (home) network. I have also got another X server available to me, X-Win32 but I'd prefer to use cygwin as it's free and otherwise I keep having to pay for upgrades to X-Win32. The problem is that when I connect using cygwin/xfree the auto-repeat is set to silly values, if I do an 'xset -q' I get:- auto repeat: onkey click persent: 0LED mask: 00 auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. On the other hand when I connect using X-Win32 I get:- auto repeat: onkey click persent: 0LED mask: 00 with no 'auto repeat delay' value at all, i.e. X-Win32 doesn't seem to have attempted to set the auto repeat delay or repeat rate at all and thus I'm left with the existing keyboard settings which are fine. It would appear that cygwin/xfree *is* setting the auto repeat delay and speed whereas X-Win32 isn't. If it is setting these where are the default values? If it isn't then what is going on? I know I can fix it by using 'xset' but this seems a bit of a bodge, I'd rather do it properly. -- Chris Green ([EMAIL PROTECTED])