RE: changing font
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of matias kaukonen Sent: Tuesday, June 22, 2010 6:06 AM I'm new to cygwin/xfree and I'm trying to change my xterm font. What I did was, typed 'xlsfonts' at the command prompt. Then I selected a font name and added it to my .Xdefaults, for example 'XTerm*font: -*-courier-bold-r-normal-*-*-180-*-*-*-*-iso8859-1'. This produced the following message: xterm: unable to open font *, trying fixed I repeat this procedure about 10 times and got the same message each time. Is this fixable? If so, what would you suggest? The old trick is to spark up xfontsel, which can help you narrow down to the font you want. Then push the select button, which copies the (oft-mistyped) font spec onto the clipboard. Next, in an xterm, type xterm -fn ', dump the clipboard, close the single quote and hit return to verify that the font is usable. If that works, then you get to double check your .XDefaults grammar. HTH, Mike P.S. I got my setup to use that massive font as a test, and I envy your monitor, weak soul that I am.
RE: Good Xterm Fonts for C Programming
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Ajay Jain Sent: Wednesday, May 12, 2010 7:38 AM 1) Can somebody suggest me some good fonts on the basis of experience, something that is good to read/write C codes? It's not for everyone, but I still love the old school 8x16 font. It's a little large, not resizable, and a little quirky, but the characters are quite distinct. Works well with higher resolution displays. HTH, Mike
RE: Migrating to Cygwin-X
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Ajay Jain Sent: Sunday, May 09, 2010 9:39 PM 1) Do an xterm -T mercury to open up xterms with titles. 2) Do an ssh on mercury to login to linux box. I face the following issues - 1) The name of the new window is not mercury, it has now changed. Since I need to open many such windows, I need to name them. Can you tell me how to accomplish the same? Put this in every one of your .bashrc files (i.e. on every machine): set_title() { echo -ne \033]0;$*\007 } Then if your autogenerated files gank your title, you can gank it right back: $ set_title mercury Here's a more complete setup: setup() { set_title `hostname` export PS1='\h$ ' unalias PROMPT_COMMAND } Which gets rid of the write a term title after every command cutesiness. Best solution is to learn how the setup files work and modify them to suit yourself. HTH, Mike
RE: Error on XWin X Server
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Alessandro Antonello Sent: Thursday, April 01, 2010 11:41 PM I just updated my Cygwin installation and now I'm unable to run the X server again. Since the message is not explanatory and I'm not a really experienced user I decided to post the XWin.0.log in this mail: Fatal server error: Can't read lock file /tmp/.X0-lock http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file HTH, Mike
RE: X11 forwarding within LAN vs remote
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of pelle412 I figured it out. My employer had installed McAfee Host Intrusion Prevention service and I can clearly see all the blocked TCP connections at port 6000 (Exceed). Disabling the service did the trick. Now I just have to figure out how to add an exception to it even though all means to edit it via the UI seems grayed out. Have you tried `ssh -Y`? HTH, Mike
RE: fvwm2 and startxwin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Stephen More Sent: Monday, March 01, 2010 2:16 PM Let me ask this question to clarify things: multiwindow mode (startxwin) -- Is this the same thing as --rootless No. I read the thread, and there is alot about changing .xinitrc to add a window manager. But I did not read how to add a window manager to .startxwinrc or a parameter. You can't. Read again. I need to run fvwm rootless like: http://x.cygwin.com/screenshots/cygx-rootless-fvwm2-20031224-0010.png Then run rootless, not multiwindowed. If my responses seem curt, it is because I am concerned you won't have the attention span to get through them. Over the next several years, please try to get all the way through the FAQ: http://x.cygwin.com/docs/faq/cygwin-x-faq.html Mike P.S. Ease up on the sugar, champ - that stuff'll kill you eventually!
RE: How to remotly launch application with SSH and Cygwin/X server
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of __Ricardo__ Sent: Friday, February 26, 2010 8:09 AM didn't help too :( I have Win XP SP2, under this system I had installed Cygwin 1.5 and launch GUI apps via ssh worked. Now I have Win XP SP2 too, but current Cygwin version is 1.7.1 - It doesn't work. You are trying to launch the Windows screen apps as the user that owns the screen, correct? Thanks, Mike
RE: How do I start WM?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Tuesday, February 23, 2010 11:58 AM On 23/02/2010 16:18, Christopher Faylor wrote: From my reading of the documentation, it sounds like you'd get this behavior by adding server options to startxwin: startxwin -- [ server options ] This isn't actually the case, as startxwin always supplies the '- multiwindow' option to XWin, and there is no XWin option to specify the default (windowed) mode you can add after it. This is almost by design. There are a few differences between startx and startxwin, appropriate to running in windowed or multiwindow mode, and mixing them up would be a bad idea. * They use different scripts to start clients (~/.startxwinrc and ~/.xinitrc). This is because we expect the .xinitrc to end by starting a WM, which would a bad idea for .startxwinrc (as it would discover the internal WM is already running (hopefully)) and exit immediately. * startxwin exits after ~/.startxwinrc has completed and leaves XWin running, whereas startx waits until ~/.xinitrc exits (which is usually waiting for the WM started by it to exit) and then kills XWin. Very good information, thanks. Maybe should be in the FAQ..? Thanks, Mike
RE: Crash of XWin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Rodrigo Medina Suddenly XWin will not start anymore. Few hours ago everything was OK. I have not installed any new software,, just shutdown and start again the machine. I include cygcheck -s, XWin.0.log and ps -W as the log says that there is another window manager running! Everything else seems OK HELP! My guess is that you inadvertently double-clicked the start XWin icon and two starting processes collided and crashed, leaving a lock or two locked. It's very guessy, as guesses go, but I'd reboot and try again. HTH, Mike
RE: How do I start WM?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Joseph Ess Sent: Thursday, February 25, 2010 8:16 AM I can reproduce your finding. Putting just openbox in my ~/xinitrc does not work. Putting the exec openbox-session /tmp/openbox.log 21 line in works fine for the few minutes I tested. Here's my .xinitrc, modified for your pleasure: [SNIP] #!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs xclock -geometry 50x50-1+1 xterm -geometry 80x25+0-0 exec xterm -geometry 80x20+0+0 -C -name Console openbox [/SNIP] Notice the first line. This is a script. When it ends, startx ends, as does your X session. Notice the last line. The X session now lasts as long as the window manager. Note the lack of redirects on the window manager, and the use of a console window. I haven't tested this extensively with 1.7, but it's worked like a rock in the past. HTH, Mike
RE: Problems Starting Xterm using the System Tray Icon for XWin Server
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Craig Moore Sent: Thursday, February 18, 2010 4:14 AM When I open a new xterm window using the XWin Server icon in the system tray: (right click on icon)-Applications-xterm it opens xterm, but the command prompt is not formatted correctly and the window title is 'xterm' instaed of the current directory. The command prompt looks like: bash-3.2$ and should be cr...@laptop ~ $ How do I configure the XWin Server so that it opens xterm correctly? My wild guess is that you have a typo in .bashrc which prevents all the startup happening. in your system tray launched window, make sure you are in your home directory, then run '. .bashrc' (note that first period!) and see if there are any error messages. You can also edit .bashrc and put 'set -x' as the first line for verbose output. HTH, Mike
RE: Can't start X after upgrading to cygwin1.7
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Wednesday, February 03, 2010 11:44 AM 1. Added a line in /etc/profile, just before the chmod 1777 /tmp line: mount -f $USERPROFILE/Local Settings/Temp /tmp I think it would be better to find the actual /tmp directory and change the Windows permissions to give Full Control to Everyone. This should make the problem 2. Changed the XWin Server icon so instead of just startxwin.exe, it says: ... startxwin.exe -- -logfile ~/XWin.log (Don't take out the beginning of the command that runs startxwin through bash, or the /etc/profile won't get run. The quotes are needed because this is the argument to bash's -c option.) This isn't bad at all. An alternative is to change the permissions on /var/log as above, if you don't mind letting all your users see, and be able to delete or modify, all the cygwin logfiles, but I don't see it as any better. HTH, Mike
RE: Cygwin 1.7 xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jerry Lowry Sent: Friday, January 15, 2010 2:27 PM Okay, I understand that, but I did not have to do this under 1.5. Did they change the default in 1.7? I think a settings file went away. To get rid of the toolbar, put XTerm*toolBar: false (note case) in ~/.Xdefaults. Note that ~ is defined by /etc/passwd, not HOME. HTH, Mike
RE: Cygwin 1.7 xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jerry Lowry Sent: Friday, January 15, 2010 3:07 PM Also, I just start X server and got this error trying to start the xterm from the startxwin.bat: Don't do that, read the release notes instead, or search the mail list archive (FAQ still needs an update): C:\ C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe HTH, Mike
RE: screen not updated outside 1680x1050
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Frédéric Bron Sent: Thursday, December 17, 2009 2:47 PM Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.7.1.0 (10701000) Build Date: 2009-11-11 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: XWin -multiwindow -clipboard -silent-dup-error ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1680 h 1050 ^ Looks like the system doesn't see your whole resolution at startup. I'd pass -screen 0 1920x1200 to XWin.exe. I tried this to reduce my screen resolution, and saw things similar to what you describe outside the declared screensize. HTH, Mike
Note on 1.7 startxwin.bat
Just thought I'd throw this out for those of you having trouble starting the X server. I had been using the stock icon to launch the X server, which shortcuts to: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat This worked fine, except that the xterm did not appear. I could click the xterm icon, and that xterm would appear. After a little testing, I found that changing it to: C:\cygwin\bin\startxwin.bat ...caused server startup with the xterm. Setting the shortcut to run minimized mitigated the pop-and-poof console. HTH, Mike
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Saturday, December 05, 2009 4:34 PM Sorry to take a bit of time to get back to you. I am attaching the files you requested. I am not familar with the cygwin x server log, but it looks like *that* starts up. It's just that xterm cannot connect. That does appear to be the case. You mentioned that the server listenens on 0.0.0.0. You mean a port? No. 0.0.0.0 is the broadcast IP address. When a server listens on that address, it listens to every interface on the computer, so it wouldn't matter if you tried connecting to localhost or the external address (i.e. leave your DISPLAY pointing to 127.0.0.1:0). I'm asking because what I have noticed about Windows 7 Home Edition is that even though I have created a user for myself with administrative priveleges, unless I tell the OS that I want to run a program as the administrator it will default to the privileges for an ordinary user. I don't know a way to turn this off, yet. I don't believe there is a workaround, unfortunately. Vista has the same issue. So, is it possible that the port that the cygwin-x server is listening on belongs to the administrator and the xterm session when it is launched cannot write to this port as a result? No, there are no ownership issues sending packets to ports. My suspicion would be that the non-administrator X server process would not be allowed to open the listeneing port, or be firewalled off, but neither can be the case if xcalc works. Have you tried running xterm from a cygwin console after the server has started? I tried running DOS cmd as the administrator btw, with no better results. Which DOS command? Thanks, Mike
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Thursday, December 03, 2009 1:47 PM I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. This is the place, but I don't know how many of us have tried using 64 bit Windows 7 yet. I know I haven't, but I'll offer advice anyway. (What's the smiley for evil leer?) I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat and see this: /usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 this seems to be coming from this command in the batch file: :\Users\princessC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e /usr/bin/bash - usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 ...implying that the server didn't start. If I kill the server and run the script again, I'll get a STATUS_ACCESS_VIOLATION error, indicating some sort of shared memory corruption. I then have to restart the PC. I checked to see if there was more than one cygwin1.dll in response to earlier posts about this error and there is only one. I tried turning off the windows firewall. That helps in other ways, because other cygwin network utilities, such as nslookup were blocked until I did that. I tried changing the display from 127.0.0.1 to the IP address of the machine. I believe the X server listens on 0.0.0.0, so that shouldn't make a difference. Basically, I have a fresh machine with windows 7 and a fresh install of cygwin and I can't get xterm to work. Anyone have any ideas? Or is this just a windows 7 thing, and I'll have to give up on cygwin-x for a while? BTW, other shortcuts in the cygwin-x start folder work, such as bitmap and xcalc, just not the Xwin server and xterm. How can xcalc work if the server doesn't start?! Please send your /var/log/XWin0.log and cygcheck.out (cygcheck -s -v -r cygcheck.out) as attachments in the hope that they will inspire. Thanks, Mike
RE: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Thursday, December 03, 2009 1:47 PM I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. This is the right place, but it's possible none of us with time to spare has run on Windows 7 64 bit yet. I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat and see this: /usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 this seems to be coming from this command in the batch file: :\Users\princessC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e /usr/bin/bash - usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 ...implying that the server didn't start. Did you run as administrator? I checked to see if there was more than one cygwin1.dll in response to earlier posts about this error and there is only one. I tried turning off the windows firewall. That helps in other ways, because other cygwin network utilities, such as nslookup were blocked until I did that. I tried changing the display from 127.0.0.1 to the IP address of the machine. I believe the X server listens on 0.0.0.0, so that shouldn't make a difference. Basically, I have a fresh machine with windows 7 and a fresh install of cygwin and I can't get xterm to work. Anyone have any ideas? Or is this just a windows 7 thing, and I'll have to give up on cygwin-x for a while? BTW, other shortcuts in the cygwin-x start folder work, such as bitmap and xcalc, just not the Xwin server and xterm. How can xcalc work if the server doesn't start?! Please send your /var/log/XWin0.log and cygcheck.out (cygcheck -s -v -r cygcheck.out) as attachments in the hope that they will inspire. Thanks, Mike
FW: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of wgw...@sbcglobal.net Sent: Thursday, December 03, 2009 1:47 PM I sent this post earlier this week and have not received any replies. If this is the wrong place to post this, please let me know where I should. This is the right place, but it's possible none of us with time to spare has run on Windows 7 64 bit yet. I just bought a new PC with windows 7 64 bit, build number 7600, version 6.1. I downloaded a fresh install of cygwin and cannot get cygwin-x xterm running. Cygwin version is 1.7.0(0.218/5/3) I tried running the cygwin-x XWin Server shortcut command line from a cmd window to get the error output: C:\cygwin\bin\run.exe /usr/bin/startxwin.bat and see this: /usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 this seems to be coming from this command in the batch file: :\Users\princessC:\cygwin\bin\\..\bin\run -p /usr/bin xterm -e /usr/bin/bash - usr/bin/xterm Xt error: Can't open display: 127.0.0.1:0.0 ...implying that the server didn't start. Did you run as administrator? I checked to see if there was more than one cygwin1.dll in response to earlier posts about this error and there is only one. I tried turning off the windows firewall. That helps in other ways, because other cygwin network utilities, such as nslookup were blocked until I did that. I tried changing the display from 127.0.0.1 to the IP address of the machine. I believe the X server listens on 0.0.0.0, so that shouldn't make a difference. Basically, I have a fresh machine with windows 7 and a fresh install of cygwin and I can't get xterm to work. Anyone have any ideas? Or is this just a windows 7 thing, and I'll have to give up on cygwin-x for a while? BTW, other shortcuts in the cygwin-x start folder work, such as bitmap and xcalc, just not the Xwin server and xterm. How can xcalc work if the server doesn't start?! Please send your /var/log/XWin0.log and cygcheck.out (cygcheck -s -v -r cygcheck.out) as attachments in the hope that they will inspire. Thanks, Mike
RE: FW: cygwin-x xterm not compatible with windows 7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Christopher Faylor You really only need to send this type of thing once. Three times is overkill. The first two came back to me from cygwin-xfree-retur...@cygwin.com addresses with the first part garbled, so I thought they were mangled by my mailer and not getting sent to the list. Apologies for the inconvenience - still not sure what happened. Mike
RE: Problem with new xinit - console window doesn't open (but bash starts)
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of laxamar Sent: Friday, November 20, 2009 9:38 AM Shouldn't these packages be set as dependents for xorg-server? They're not strict dependencies - a UTF-8 based locale has more requirements than other locales due to its ability to represent so many scripts. Also, the server won't fail for lack of those fonts, rather it will exhibit occasional unnecessary lags. That said, I favor setting the packages as dependencies, as they're ever more likely to see a bit of use. $.02 (and not a red cent more), Mike
RE: checkX problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Lothar Brendel Could you please clarify an issue here? (Sorry, it seems, I wronged to ``run'' in the previous posts.) In a Windows command prompt (being somewhere on C:) I put the line \cygwin\bin\run -p /usr/bin sleep -wait 5 into a file ``dosleep.bat''. Executing that BAT-script (w/o any wrapper), it *does* sleep. Typing that very line directly at the prompt lets ``run'' return immediately, though. Can you confirm this behaviour? I can confirm that without testing (so I'm probably chomping foot here...). The sleep is holding the console open after run quits. This comes under the console programs must have a console heading. It takes a bit ti get used to, but you'll get it soon. Looking forward to reading your patches to address any of these problems. It shouldn't be too hard to add an option to checkX to make it retry if ECONNREFUSED. This would have to manually track the elapsed time for each attempt, charging against the specified -t waittime. Another possibility would be an option ``-n'' to specify the number of retries. GAH! No, that's just lame. Just spawn/fork a sleep-then-interrupt-daddy thread/process, set up a SIGINT handler that exits with an error, loop connection attempts until successful, check X, kill child, exit with success. That enforces both types of timeout. HTH, Mike
RE: 'run xterm' fails to open a window
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jon TURNEY Wait, are you saying that the process that run starts is blocked if it tries to output anything? That is what I am experiencing. Also, the suggestions that this has something to do with DISPLAY not being set correctly seem a little unlikely. If gvim or any other X application isn't able to determine which display to use, it should exit with an error, not hang around I agree. I think DISPLAY is a red herring. Not having the display set can cause programs which exit without output, not hang around. HTH, Mike
RE: Cygwin/x window no longer appears
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Olivia Cheronet Sent: Thursday, November 12, 2009 2:16 PM I have recently started to work with Cygwin/X. Until now, I have been starting Cygwin/X by using startxwin.bat in the Cygwin bash shell. Everything seemed to be working fine. However, it has now stopped working... When I type startxwin.bat in the Cygwin shell, the normal startxwin.bat - starting on Windows NT/2000/XP/2003 appears. Yet, the window which used to appear no longer does. I am really not too sure what to do about this, given that I have not (consciously!) modified anything. I have installed Cygwin (and Cygwin/x) very recently, and have tried to reinstall the latter using Cygwin's setup.exe, but to no effect. Try this: http://www.cygwin.com/ml/cygwin-xfree/2009-11/msg00071.html or set your LOCALE to en_US.UTF-8. You may need to install CJK fonts if things work but are sluggish. HTH, Mike
RE: Cygwin/x window no longer appears
If you read the cygcheck output which Olivia kindly provided, you will see that she is running cygwin 1.5, with Xserver 1.5.3, so these recent breakages relating to Xserver 1.7.1 are unlikely to be the cause of her problems. -- Jon TURNEY Volunteer Cygwin/X X Server maintainer DOH! Sorry about that, Mike
RE: [1.7] Cygwin/X crashes with latest server, cygwin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Tuesday, November 10, 2009 6:31 AM On 09/11/2009 20:48, Jim Reisert AD1C wrote: Until there is a new libX11 package, you can update your locale data by downloading the locale.patch file from bugzilla [1] and applying it in /usr/share/X11/locale/ 'wget -O- http://sourceware.org/bugzilla/attachment.cgi?id=4340 | patch -d /usr/share/X11/locale/' should do the trick :-) Fixed my stopped working when I updated it yesterday server, thanks! Mike
RE: 'run xterm' fails to open a window
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of jean-luc malet Sent: Monday, November 09, 2009 2:50 AM no more result... gvim process is still started, appears in ps -a, but nothing is displayed on screen, replacing gvim by xterm still work with this solution... To find out why this is, run gvim from an xterm: [SNIP] m-ayers-lap gvim (gvim:1748): Pango-WARNING **: Error loading GSUB table 0x6EAD (gvim:1748): Pango-WARNING **: Error loading GPOS table 0x6EAD (gvim:1748): Pango-WARNING **: Error loading GSUB table 0x6EAD (gvim:1748): Pango-WARNING **: Error loading GPOS table 0x6EAD m-ayers-lap (gvim:1092): Pango-WARNING **: Error loading GPOS table 0x6EAD [/SNIP] Apparently, run.exe is not providing stdout/stderr to dump to. The workaround: [SNIP] C:\mikeC:\cygwin\bin\run.exe -p /usr/bin sh -c gvim /dev/null 21 C:\mike [/SNIP] HTH, Mike
RE: 1.5.25-15: 100% CPU under xdmcp and Gnome
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Thursday, October 29, 2009 7:11 AM Yes, the clipboard integration code in 1.5.x has some known problems, but there will probably be no more X server releases for Cygwin/X unless someone else volunteers to do it. Do you mean just for 1.5, or also for 1.7? Thanks, Mike
RE: How to open a standalone xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Joel Gwynn Sent: Wednesday, October 28, 2009 8:27 AM And now, sporadically, when I run startxwin.sh, sometimes it works, ie opens up the xterm, but sometimes some windows open, with text that I can't read quickly enough, then go away. If I close Xwin and try again, sometimes it will work, mostly not. You're not running startxwin twice, right? That won't work - you must run the xterm command from an existing xterm, a cygwin window, or the xterm icon in the start menu (which can be copied to the quicklaunch bar). Also, try running bash in an existing xterm to see if the problem is in your .bashrc, i.e. not with xterm or X. HTH, Mike
RE: xauth data + X connection to localhost:10.0 broken problem
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Florent Fievez Sent: Thursday, October 01, 2009 12:27 AM 2009/9/30 diego menezes domen...@gmail.com: was installed I guess. So, how can get in here? Also, I believe the line XAuthLocation /usr/bin/xauth is actually XAuthLocation /usr/bin/xauth.exe sice xauth is an executable. Instead I have a file named xauth_switch_to_sun-des-1. You can create the ~/.ssh/config file by yoursef and just put in the 2 line above. I think it needs to have 744 permissions or better. So this would be, say: [SNIP] Host target1 Hostname target1.some.dom.ain XAuthLocation /usr/bin/xauth [/SNIP] ...where XAuthLocation points to the local xauth? Do I need to have a matching declaration on the target? I've tried this several ways with no success so far. Any help appreciated. Thanks, Mike
RE: Path problem with xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of John Emmas Sent: Monday, September 28, 2009 4:43 AM From: Mike Ayers If you set PATH absolutely in .bash_profile, the right thing will happen. You may want to copy the initial value of PATH into another exported env var, so that you can see if there have been changes to the default path. Hi Mike. If I can find some time this week, I'm tempted to give this a try but I don't quite understand how it would work. Are you saying that an absolute path in .bash_profile will somehow override the other paths? Or that it will somehow prevent the various other scripts from adding their own entries? Or will I still have to track down all those other files and edit them anyway? In .bash_profile: export OPATH=$PATH export PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin' Note that we are discarding the old value of PATH. Now, when the ancillary login scripts run and add their bits to PATH, those bits will only be there once. So we completely rebuild PATH on a login shell, and change nothing on a non-login shell. Kapische? Mike
RE: Path problem with xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of John Emmas Sent: Friday, September 25, 2009 2:51 AM It looks like you're right about this Ken. Many of the scripts and batch files just blindly add their directory requirements to my path without checking whether the path already contained them. If you set PATH absolutely in .bash_profile, the right thing will happen. You may want to copy the initial value of PATH into another exported env var, so that you can see if there have been changes to the default path. HTH, Mike
RE: Cut Paste problem between X windows
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Steve Wallace Any text within X-term or urxvt is highlighted correctly but when clicking the centre mouse button it is not pasted into either the same x-term or any other. Please check your Control Panel Mouse settings to verify that you do not have middle button emulate enabled, which can mess with the second button, or anything else that might be re-interpreting the buttons. As a workaround, try using ctrl-insert to paste. this works for me both from X and Windows apps on XP. HTH, Mike
RE: Automatically positioned mouse movements are off target
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Brian Sheppard I am testing a Java application using a tool called Abbot. Abbot launches your Java Swing app within Abbot’s JVM. Abbot reads the coordinates of Swing components from internal Java objects, and then issues mouse and keystroke commands to simulate user actions according to a script. On what machine is the application running? Thanks, Mike
ssh config
I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem to work. I add: Host slate Hostname quarry.slate-gravel.com User fred ...but when I try to use it: [SNIP] host ssh slate ssh: Could not resolve hostname slate: no address associated with name host [/SNIP] What am I missing here? Thanks, Mike
RE: ssh config
Well that was it, thanks, but why is ssh looking there? I thought it (and all other apps) used HOME on cygwin? Thanks, Mike -Original Message- From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Jim Reisert AD1C Sent: Tuesday, August 18, 2009 10:24 AM To: cygwin-xfree@cygwin.com Subject: Re: ssh config Check your /etc/passwd file It's possible that ~ isn't really your home directory - Jim On Tue, Aug 18, 2009 at 9:46 AM, Mike Ayersmike_ay...@tvworks.com wrote: I'm trying to set up shortcuts in ~/.ssh/config, but it doesn't seem to work. I add: Host slate Hostname quarry.slate-gravel.com User fred ...but when I try to use it: [SNIP] host ssh slate ssh: Could not resolve hostname slate: no address associated with name host [/SNIP] What am I missing here? Thanks, Mike -- Jim Reisert AD1C, jjreis...@alum.mit.edu, http://www.ad1c.us -- 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: ssh config
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Larry Hall (Cygwin X) Sent: Tuesday, August 18, 2009 3:10 PM On 8/18/2009 1:46 PM, Mike Ayers wrote: Well that was it, thanks, but why is ssh looking there? I thought it (and all other apps) used HOME on cygwin? Nope. But if you think about it, if $HOME doesn't equal ~ for Cygwin, something has gone awry. Given that as context, it really wouldn't matter whether '/etc/passwd' or $HOME was the source. So it gets ~ from /etc/passwd? Ah - didn't know that. I'll check it in the future. I do think of cygwin as a Windows environment more than Unix, so some of these things get by me. In years past, I would just set HOME and all was well. Thanks, Mike
RE: Cygwin 1.7 hangs with my .xinitrc
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Monday, July 06, 2009 8:16 AM I can reproduce the problem using it. I seem to end up with a few of the xterms spinning somewhere and trying to use 100% CPU, and outputting the following: No protocol specified xterm Xt error: Can't open display: :0 After inserting 'sleep 1' into the .xinitrc before each xterm seems to start up without trouble, so I guess there's some sort of timing condition somewhere, although I've no idea where... I have had `sleep 1` statements after each xterm launch in my .xinitrc for years, having encountered a similar problem. At least I'm pretty sure it was a similar problem... yes, I should have reported it then. HTH, Mike -- 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: Blank title bars
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Csaba Raduly Sent: Wednesday, June 17, 2009 2:19 AM For some reason, changes to the title bar text result in a blank title bar instead until the window loses focus. [SNIP/] According to the About box, the X server is version 1.5.3 (20090222) Cygwin1.DLL 1005.25.0.0 (1.5.25-cr-0x5f1) Has anybody seen anything like this? Any ideas? I'm running 1.5.3 (20090225) on XP, and have no such problem (don't know how to get the cygwin DLL version). Are you perchance running Vista? Best bet is to upgrade to the latest and see if the problem persists (you've tried rebooting, yes?). HTH, Mike -- 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: Importing and Compiling with the GSL In cygwin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Cameron Williams Sent: Friday, June 12, 2009 10:45 AM I installed cygwin so that I could work in a computational physics group as an undergrad. As such, It would be wonderful to be able to use the GSL, which I understand is an auto-installed package and when I try import it using #include gsl/gsl_math.h #include gsl/gsl_deriv.h #include gsl/gsl_sf.h but these don't appear to work. What is the directory that I need to import, or how do I build with the GSL under the cygwin environment? For any package, install the *-devel package if you want the headers and libs, so you need to install gsl-devel. HTH, Mike -- 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 7 RC1 and Cygwin 1.7
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jim Reisert AD1C Sent: Friday, May 15, 2009 1:13 PM I have installed Windows 7 RC1 (64-bit) as well as Cygwin 1.7, including the Xorg stuff in the Cygwin setup-1.7.exe file I can start the X server OK, as well as xterm and xemacs. When I start an xterm by right-clicking on the X server icon in the system tray, in addition to the Xterm windows, I also get what appears to be two empty DOS windows - one with xwin.exe in the window title, one with xterm.exe in the window title. When I close the xterm, those two DOS windows also disappear. Can anyone speculate why this is happening? Speculate? Heck, yeah! 1) Microsoft has decided it doesn't like Cygwin. Those terminal windows are waiting for you to walk away so they can eat the xterms. 2) Space aliens are messing with you. They want to know if you have a juicy brain before they decide whether to eat it. 3) Housing prices will continue to rise at 20% per annum. Huh?! You want *sane* speculation? Are you sure that's not an oxymoron? How about: 1) The interface for detaching a program from its console window has changed slightly in Windows 7. A slight code change will be needed. In the meantime the console windows are harmless - setting the shortcut to run minimized should keep them off the screen if still in the program bar. HTH, Mike P.S. That was speculation. Hopefully someone will have a real answer soon. -- 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: Error: Can't open display: 127.0.0.1:0.0
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Drew Ackerman Sent: Monday, May 04, 2009 1:11 PM The error message I'm getting is Error: Can't open display: 127.0.0.1:0.0 Is this during server startup or client startup? My system info is: Windows XP Firewall exceptionPort number = 6000/TCP System VariablesDisplay=127.0.0.1:0.0 (I can ping 127.0.0.1 from cygwin) Shouldn't this be 127.0.0.1:0? HTH, Mike -- 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: Two versions of the same package? It was Re: Compiling flpsed under cygwin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Daniel Senderowicz Sent: Wednesday, March 25, 2009 10:22 AM I manage to compile fltk-1.3 with X11 support as suggested in the link below. The first step in that link is to remove the cygwin fltk package. I suggest you do that. HTH, Mike -- 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: Two versions of the same package? It was Re: Compiling flpsed under cygwin
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Daniel Senderowicz Sent: Wednesday, March 25, 2009 10:57 AM OK. How do I check if there are any dependencies on the cygwin fltk? Also, how do I remove this package? Is there an easy way of doing it, or I have to dig all related files? Thanks. Just run cygwin setup, pick the full view, find fltk, and change Keep to Uninstall on the spinner, then proceed. This will also update all your existing packages - yea! HTH, Mike -- 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: How to switch between different processes in xterm
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of pKdas Sent: Thursday, March 19, 2009 2:45 PM Hi all, I have installed the recent version of cygwin Xterm and I find it quite different from the earlier version installed. There's really only one major difference - the -multiwindow flag is not set by default in startx (and Xwin?) anymore. Now there is a single parent background in which all the processes are opened. In turn it shows only onw process in windows.That's good. But I have the following problems. I am not able to get the cross area in any of the child programs, hence have to struggle a lot to close them. Click on the background and select kill, then, while you have the skull-n-bones pointer, click on the window you want to terminate. Also it it quite inconvenient to switch between child processes(I want a replacement of Alt+Tab shortcut for this to switch between processes within cygwin/X ). I think there's a three- or four-key equivalent, but I don't know what it is. IIRC, twm defaults to focus-on enter, so you can just move the mouse to switch terms. HTH, Mike -- 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: xterm (not rxvt) cut and paste through xinit (not Xwin)
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of SS BB Sent: Tuesday, March 10, 2009 2:13 PM I have recently reinstalled the cygwin X on my xp box, now I have a problem of cut and paste from xterm to windows. The way I start X is via startx, but I was not able to enable clipboard in this case. How do I do that? $ startx -- -clipboard You might want to pass in the -multiwindow flag, too. That's no longer default, either. HTH, Mike -- 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: (some) xterm disappearing when typing
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of SS BB Sent: Tuesday, March 10, 2009 2:56 PM Hi, I ran cygwin X at work and everything works fine except one thing: we have some special command that launches an xterm to a production window via ssh/X11 tunneling. This window will disappear on me when I attempt to type into it. FAQ 3.2. Come on, where's the challenge in that? Mike -- 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: (some) xterm disappearing when typing
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of SS BB Sent: Tuesday, March 10, 2009 3:17 PM I don't have any of those variables set in my shell, does it make it more challenging? :-) Probably not. plus, if I do have some of those set, shouldn't all xterm fail?? You are misreading the entry. Just follow its first line: [SNIP] Launch the X server via the shortcut under Cygwin-X on the start menu. [/SNIP] Does that work? HTH, Mike -- 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: Reproducing the cygwin X clipboard problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Wednesday, February 25, 2009 2:52 PM I've built a version of 1.5.3-7, with this patch reverted and lots more clipboard debugging added. You can download it from [2] It would be most helpful if you could try this and see if the clipboard problems you are seeing are changed at all. [2] ftp://cygwin.com/pub/cygwinx/XWin.20090225214130.exe.bz2 Both startx and startxwin.bat (i.e. start server menu item), which formerly experienced severe clipboard problems, are now running cleanly! Thanks, Mike -- 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: XWin.exe crashing at startup
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Andrew Allen Sent: Thursday, February 26, 2009 5:07 PM Thought I'd reply to the list about the resolution to this, since somebody just asked me about this off-list: 'startxwin.sh' from a bash window works whereas 'startx' doesn't (also works: 'startxwin.bat' from a windows cmd line). Try: startx -- -multiwindow -clipboard It seems startx is broken on cygwin. Not really, although the behavior changed a little a few months ago (I didn't need the flags before). I'll see if I can try this on Vista tonight. HTH, Mike -- 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: Reproducing the cygwin X problems
From: Dan Tsafrir [mailto:dan.tsaf...@gmail.com] Sent: Tuesday, February 24, 2009 11:03 PM However, in an attempt to test your hypothesis, I've set the affinity of XWin.exe, emacs, and the vncviewer to only use CPU0 (through the task manager). I don't think this is a valid test. What is wanted is a P4 single-core hyperthreader with BIOS hyperthread enable (or a multi processor and a screwdriver). Anyone have a single/nulti switchable handy? I'll check my BIOS next reboot. Mike -- 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: Reproducing the cygwin X problems
From: Jon TURNEY [mailto:jon.tur...@dronecode.org.uk] Sent: Tuesday, February 24, 2009 11:14 AM Thanks very much for this information on the clipboard problems. I've been able to reproduce something similar to the problems you describe, so I will spend some time trying to fix it. Sweet! It seems likely that this clipboard contention between multiple applications might behave differently on machines with multi-core processors (which I don't have the capability to test on), so can you indicate if you are using single-core or multi-core processor? Multi-core, I believe, although I can't tell for sure if I'm not just hyperthreading without rebooting (not an option at the moment). HTH, Mike -- 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: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Dan Tsafrir Sent: Friday, February 20, 2009 6:30 PM Pardon my ignorance, but until now I wasn't aware there is such a thing as office clipboard. However, according to this http://en.wikipedia.org/wiki/Clipboard_manager even if I have it installed, the office clipboard is open as long as one of the office suite applications are open, and my cygwin copy-paste problems occur even if the only applications alive are (1) a cygwin xterm and (2) a vncviewer. So it appears my problem is unrelated to the office clipboard. Wikipedia?! Try the source. This was the only way I found to ensure that OC is not running: http://support.microsoft.com/kb/207438 I have Office 2003, and OC was disabled by default (because I have the value edition?) HTH, Mike -- 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: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Phil Betts Sent: Friday, February 20, 2009 4:25 AM I do not usually set it. I only did so in the sample to satisfy FAQ 6.1. ...but set it out of order. I didn't notice that because the results didn't change. Here's the more typical session: [SNIP] mike-ayers-lap echo $DISPLAY 127.0.0.1:0.0 mike-ayers-lap ssh -Y may...@mikeayers-linux-2 Warning: No xauth data; using fake authentication data for X11 forwarding. Last login: Fri Feb 20 09:23:39 2009 from 192.168.2.87 mikeayers-linux-2 echo $DISPLAY localhost:15.0 mikeayers-linux-2 xterm Xlib: connection to localhost:15.0 refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key xterm Xt error: Can't open display: localhost:15.0 mikeayers-linux-2 [/SNIP] HTH, Mike
RE: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Dan Tsafrir Sent: Friday, February 20, 2009 9:36 AM Initially, the only way I was aware of to get the copy-paste functionality back was to reboot the machine. But recently I've noticed another way. I run XP's 'clipbrd', which (in the state of no copy-paste functionality) produces one of these two strange outcomes: 1) clipboard displays the following message ClipBook Viewer cannot display the information in its current format or there is not enough memory to display it. Quit one or more applications to increase the available memory, and try again. 2) clipboard is going insane, seemingly trying to endlessly scroll down (while simultaneously displaying a message saying Method Open Fai) and taking up 25-30% of the CPU. In both case, if I click the 'delete' button within the clipboard application (= clear content of clipboard) then the insane behavior stops and copy-paste starts working again as long as no cygwin X application is involved. I can neither confirm nor deny this, as I don't have ClipBook available. But the minute I highlight some text in a cygwin X application, the insane behavior within clipbrd resumes. The only way to make things normal again (that I'm aware of) is to kill cygwin/X (which, in this situation, mandates killing all cygwin applications through the task-manager, otherwise they refuse to die and just hang). I just kill Xwin.exe forcibly in task manager - it takes all X apps with it. However, the better trick I discovered recently is to click on VNC's taskbar icon and close it. Once it closes, the X applications recover and can cut-n-pste with Windows apps. Also, because VNC is VNC, no setup is lost there either - I can reconnect and my console is unharmed. I suspect the problem here may be contention between the two applications that want to share the clipboard. Our other report implicated Office clipboard, which may be doing the same thing..? HTH, Mike -- 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: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Williams, Chris (Marlboro) Sent: Friday, February 20, 2009 11:40 AM I use the vnc viewer from RealVNC and the X.org server from cygwin I and I don't have any copy and paste problems. My problems with the clipboard on Windows seem to be related to the Offfice clipboard application. Once I shut that down, everything seems fine. In fact, I copy/paste to/from the RealVNC viewer and X apps all the time. H... which invocation method and clipboard type are you using? I am running `/usr/bin/startx -- -multiwindow -clipboard`. Thanks, Mike -- 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: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Williams, Chris (Marlboro) Sent: Friday, February 20, 2009 12:19 PM There is also a warning about not usign xwinclip with the -clipboard switch I am not explicitly running xwinclip - is there an implicit way to be running it? Thanks, Mike -- 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: BadAlloc
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of cygwin-xfree.20.maillingl...@spamgourmet.com The xterm starts, but when I press a key the x crashes with the following error message - xterm: warning, error event received: X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 136 (XKEYBOARD) Minor opcode of failed request: 16 (XkbSetNamedIndicator) Serial number of failed request: 133 Current serial number in output stream: 137 - From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Friday, January 23, 2009 11:06 AM I'm afraid this has the status of 'known issue' at the moment, until someone who can reproduce the problem works on it. Tracking in bugzilla: http://sourceware.org/bugzilla/show_bug.cgi?id=9780 HTH, Mike -- 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: rgb.txt not honored in X7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jon TURNEY Sent: Thursday, February 12, 2009 10:44 AM Mike Ayers wrote all on one line: I don't know why. My mailer usually fills, I think. I'll do it by hand this time, if that helps. From where? I believe this should be ~/.Xdefaults, but the nature of cygwin can make ~ an indefinite place for startup files. I set %HOME%, which becomes $HOME to what will be ~, but if I put XTerm*toolbar: false in $HOME/.Xdefaults I still have toolbars on my xterms. Case is signficant. Try XTerm*toolBar: false That worked, but not immediately. I still don't know wether I am trying to put it into .Xdefaults, or what directory that would go in (Windows default home or %HOME%), or whether the file should actually be named .Winrc, as implied by the tray icon (sometimes). I have gotten a bit of functionality back by modifying my startx.bat script from: [SNIP type=old] @echo off C: chdir C:\cygwin\bin bash --login -c startx [/SNIP] to [SNIP type=new] @echo off C: chdir C:\cygwin\bin bash --login -c /usr/bin/startx -- -multiwindow -clipboard [/SNIP] .Xresources is xrdb -merge'd by /etc/X11/xinit/xinitrc (i.e. if you use startx) I manage that in my .xinitrc, which was originally copied from the system xinitrc. I suspect you used to have the -multiwindow option to the X server in your startx script somewhere (defaultserverargs?) I only used the startx as shipped. My start script (above) is the only modification I made. A few people have reported cut-and-paste problems with vncclient also running. I'm one of them. If you can spare the time to write a mail (in a new thread) with some clear reproduction steps, that would be most appreciated. Coming shortly. Thanks, Mike -- 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: Cannot convert string -*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1
FAQ 3.5: The lucida font family is provided by the package font-bh-dpi75 (or font-bh-dpi100). The monospaced version, lucida typewriter is provided by the package font-bh-lucidatypewriter-dpi75 (or font-bh-lucidatypewriter-dpi100). HTH, Mike -Original Message- From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jeff Y Sent: Thursday, February 19, 2009 12:35 PM To: cygwin-xfree@cygwin.com Cc: cyg...@cygwin.com Subject: Re: Cannot convert string -*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1 Thanks for your reply. I see two folders /usr/share/fonts/75dpi, /usr/share/fonts/100dpi on my PC. But I do not know if they are the two needed font packages or not, and how to use them to fix my issue. Please give some details. Thanks. --- On Thu, 2/19/09, Yaakov (Cygwin/X) yselkow...@users.sourceforge.net wrote: From: Yaakov (Cygwin/X) yselkow...@users.sourceforge.net Subject: Re: Cannot convert string -*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1 To: cygwin-xfree@cygwin.com Cc: cyg...@cygwin.com Date: Thursday, February 19, 2009, 12:27 PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff Y wrote: I can not launch Oracle Installer from AIX by warning: Warning: Cannot convert string -*-lucida-medium-r-*-*-*-*-*-*-*-*-iso8859-1 to type FontStruct Exception in thread main Is there a fix for this? I check Cygwin FAQ. How can I know if packages font-bh-dpi75 and font-bh-lucidatypewriter-dpi75 have been installed on my PC? 1) http://cygwin.com/acronyms/#PCYMTWLL 2) http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-where-are-my-fonts 3) Cygwin/X questions belong on the cygwin-xfree list. Setting Reply-To: accordingly. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkmdsrgACgkQpiWmPGlmQSOXzQCfUIB1AV8nbi7/LcYSqa03/oLz QpYAnRMHYURc/jhRD+n/leKWj5MggQly =hbcY -END PGP SIGNATURE- -- 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/ -- 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/ -- 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: Reproducing the cygwin X problems
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Phil Betts Sent: Thursday, February 19, 2009 1:34 PM It might have worked, but it was wrong. Do not set the DISPLAY environment variable. It is set by ssh -Y to something similar to localhost:10.0 - the actual value depends on whether there are other forwarded X connections to that box. I do not usually set it. I only did so in the sample to satisfy FAQ 6.1. BEFORE running ssh, you need to ensure that $DISPLAY is set correctly for local connections (probably :0). 127.0.0.1:0, set by the system. I ordinarily do not check it, as I've never needed to set it when things worked. By specifying your own value for $DISPLAY inside the ssh session, you are ensuring that all X traffic bypasses the ssh tunnel and sets up its own (insecure and not encrypted) connection. This new connection must then go through the normal authentication process and it will appear to the X server as a remote connection, whereas the ssh connection looks like a local connection to the server. FAQ needs updating, and my problem remains. Thanks, Mike
RE: -query not working on cygwin/windows
You've read this, yes? http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-xdmcp-query Specifically, check your Windows firewall config. You will need to explicitly open the X11 port, as there is, IIUC, no outgoing packet from that port. HTH, Mike -- 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: xdvi unexplained locale problem
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Dan Tsafrir Sent: Saturday, February 14, 2009 2:01 PM On Sat, Feb 14, 2009 at 1:46 PM, Jon TURNEY jon.tur...@dronecode.org.uk wrote: NLSPATH = 'C:\Programs\IBM\RunTime\%N;' You should probably try without that in your environment, just to rule it out. $ unset NLSPATH $ xdvi It didn't work :( Any other ideas? Try unsetting LOCPATH: http://sourceware.org/ml/glibc-bugs/2004-05/msg00054.html HTH, Mike -- 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: starxwin.bat always misfires the xterm once - it works!
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Franz di Coccio Sent: Monday, February 16, 2009 8:40 AM PS That's a weird behaviour, anyway... I wonder why the pause is needed only for the first execution after the system boot. Whatever... Now it works :) Most likely there's lots of shared libraries to load. I suspect if you were to comment out the sleep and start X once, showinf the failure, if you were to run a bunch of memory-hogging apps in sequence, when you tried X again it would once again have the problem. But are you curious enough to try this..? $.02, Mike P.S. I have no idea how many euros that is. -- 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: rgb.txt not honored in X7?
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-ow...@cygwin.com] On Behalf Of Jared Silva Sent: Tuesday, February 03, 2009 4:13 PM However, in Cygwin X11R7, even though the rgb.txt file is the same, but in the new location, Which is the new location? I've been looking in the manual and FAQ, but seem to have acquired an embarassing blind spot that prevents me from knowing where to put startup files. Also, is .Xresources now .Xdefaults? Thanks, Mike -- 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/