From mail@sposch.net Sat Sep 1 08:45:00 2007 From: mail@sposch.net (Sebastian Posch) Date: Sat, 01 Sep 2007 08:45:00 -0000 Subject: xterm changed from german to english Message-ID: <46D92632.4010500@sposch.net> I have a german WindowsXP installation with a german keyboard. Since yesterday all of a sudden I get only english input in xterm. y is z, - is / ... I still have german input in bash and DOS prompt, so I tried restarting the X server and reinstalling xterm, but it didn't help. I'd be interested in what could've been causing this. -- 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/ From piefontaine@wanadoo.fr Sun Sep 2 19:06:00 2007 From: piefontaine@wanadoo.fr (Pierre Fontaine) Date: Sun, 02 Sep 2007 19:06:00 -0000 Subject: Can't used French Keyboard Message-ID: <000601c7ed94$4d6a8e00$e83faa00$@fr> HI, I'm using Cygwin/X installed by setup.exe from Cygwin and I have no other product. I can't initialized 'French Keyboard' in XWin. When I start cygwin (C:\cygwin\Cygwin.bat) all it's OK and I have 'French Keyboard' (azerty). When I start XWin (C:\cygwin\usr\X11R6\bin\startxwin.bat) I have 'English Keyboard' (qwerty). In file XWin.log lines for keyboard are: (--) winConfigKeyboard - Layout: "0000040C" (0000040c) (--) Using preset keyboard for "French (Standard)" (40c), type "4" (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap It seems that the good keyboard is detected but can't be installed. If I try using setxkbmap I have the message: Couldn't interpret _XKB_RULES_NAMES property Use defaults: rules - 'xorg' model - 'pc101' layout - 'us' Hangup If I try using xkbcomp -w 3 -xkm -m fr /etc/X11/xkb/keymap/xfree86 localhost:0.0 I have the message: Can't find file "xfree86" for keycodes include Exiting Abandoning keycodes file "fr" Can you help me? Thanks Pierre -- 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/ From fstx+u@update.uu.se Tue Sep 4 05:25:00 2007 From: fstx+u@update.uu.se (Fredrik Staxeng) Date: Tue, 04 Sep 2007 05:25:00 -0000 Subject: How to get xterm to send ESC x when I press Alt-x Message-ID: <1mbqcjatoh.fsf@Psilocybe.Update.UU.SE> ; xrdb -q | grep meta XTerm*metaSendsEscape: true ; xmodmap -e 'keysym Alt_L = Meta_L' -e 'keysym Alt_R = Meta_R' no longer seems to be sufficient. Is there something more that needs to be done? Or did this break again? Background: I am swedish. I want the key labeled ?? on my keyboard works exactly as the key labeled O, except of course there should be two dots on the letter. I also want to be able to use M-v to page up in emacs, using the Alt key as the Meta modifier. This of course works with Emacs under X, but I also cygwin xterm to ssh to a Linux box where I run emacs -nw. This is not possible using the default Meta behaviour, since the code for ?? is 0366 (octal), which happens to be the same as (v + 128). But it works if Meta sends escape. -- Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr This is all you need to know about vi: ESC : q ! RET -- 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/ From scheble@cab.cnea.gov.ar Tue Sep 4 15:53:00 2007 From: scheble@cab.cnea.gov.ar (Mario Scheble) Date: Tue, 04 Sep 2007 15:53:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. Message-ID: <001901c7ef09$b37630c0$314a60a8@cabmec16> Hello. Please, I need some help with the following problem. My PC has Windows XP and is part of a WorkGroup with a Debian Linux network. I installed Cygwin, and XDMCP properly works when I login on a remote machine to ONE Linux account. But when I login to ANOTHER account with the same privileges, the connection is very slow. What could it be wrong with the second account? I know nothing about Linux, and I'd appreciate your advice. Thank you very much. Sincerely yours, Mario Scheble -- 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/ From mlgiroux@gmail.com Wed Sep 5 01:30:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 05 Sep 2007 01:30:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <001901c7ef09$b37630c0$314a60a8@cabmec16> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> Message-ID: <5ea470920709041830m4e5ef623gb1e9bb0e853d3788@mail.gmail.com> I have a similar problem, but it is not limited to a specific account. In fact, it is fairly random. Sometimes I get pretty good performance, and then it just dies. In my case, it seems to get pretty bad when I launch Eclipse, but I have to admit that Eclipse is the only GUI app that I use, so it may be gui apps in general. What I see (reported in another message) is that mouse click and keyboard seem to be very responsive, but mouse move is non-responsive. If I open a menu and move the mouse, the menu items are not highlighted. If I move the mouse several more times over the menu, ultimately a menu item is highlighted. Once it is highlighted, I can click to select the item. >From a pretty uninformed perspective, it appears that mouse move events are not being forwared from my server to the client, but I'm not sure how to determine that. I am pretty confident that the problem is limited to mouse move events, and that keyboard and mouse click events are being forwarded immediately. I've seen nothing on my other post. On 9/4/07, Mario Scheble wrote: > Hello. > > Please, I need some help with the following problem. > > My PC has Windows XP and is part of a WorkGroup with a Debian Linux > network. I installed Cygwin, and XDMCP properly works when I login on a > remote machine to ONE Linux account. But when I login to ANOTHER account > with the same privileges, the connection is very slow. > > What could it be wrong with the second account? > > I know nothing about Linux, and I'd appreciate your advice. > > Thank you very much. Sincerely yours, > > > > Mario > Scheble > > > -- > 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/ From mlgiroux@gmail.com Wed Sep 5 01:35:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 05 Sep 2007 01:35:00 -0000 Subject: XWIN performance In-Reply-To: <5ea470920708291950m42fa7483j23e3181894090c15@mail.gmail.com> References: <5ea470920708291950m42fa7483j23e3181894090c15@mail.gmail.com> Message-ID: <5ea470920709041835v74af2ba8l2dfc511820d68fca@mail.gmail.com> More info. If I open a terminal session in the x window, it is very responsive. I can enter any number of shell commands and the response is great. However, when I start Eclipse, my x server seems to hang. While I am seeing poor response on my x server, I can open a simple telnet session to the remote Linux box and get great response. From this I know that the problem is not cpu or memory. >From everything I see, it appears that mouse move events are not being sent from my x server window on my pc to the remote system, but that is only a guess based on observation. I have no traces to prove that. What I have seen is that I can open a terminal window in the x environment and get excellent response. But as soon as I open Eclipse, the response dies. Is anyone aware of incompatabilities between the Eclipse SWT runtime and Cygwin X ? -- 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/ From holger.krull@gmx.de Wed Sep 5 14:12:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 05 Sep 2007 14:12:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <001901c7ef09$b37630c0$314a60a8@cabmec16> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> Message-ID: <46DEB946.2040803@gmx.de> Mario Scheble schrieb: > Hello. > > Please, I need some help with the following problem. > > My PC has Windows XP and is part of a WorkGroup with a Debian Linux > network. I installed Cygwin, and XDMCP properly works when I login on a > remote machine to ONE Linux account. But when I login to ANOTHER account > with the same privileges, the connection is very slow. > > What could it be wrong with the second account? Most likely this account is older and has some leftovers in its startup files. I had similar problems with a kde update (sound daemon related) Without knowing what is started when you login it is impossible to give further advice. Try a newly created account, if this has no problems, recreate the older ones. -- 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/ From mlgiroux@gmail.com Wed Sep 5 16:40:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 05 Sep 2007 16:40:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <46DEB946.2040803@gmx.de> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> <46DEB946.2040803@gmx.de> Message-ID: <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> > On 9/5/07, Holger Krull wrote: > Without knowing what is started when you login it is impossible to give > further advice. Does stty have any effect? If yes, what options should be applied? As far as I can tell, my .bash_profile is not being executed when I login via xwin. Here is a PS to show what is running when I connect via telnet session. [reddog] (opentp) opentp> ps PID TTY TIME CMD 27737 pts/1 00:00:00 bash 27786 pts/1 00:00:00 ps [reddog] (opentp) opentp> ps U opentp PID TTY STAT TIME COMMAND 10803 ? Sl 116:38 ./escd --key_Inserted="/usr/bin/esc" --on_Signal="/us 17472 ? Ssl 0:00 /usr/libexec/bonobo-activation-server --ac-activate - 17926 ? S 0:00 /usr/libexec/gconfd-2 5 24466 ? Sl 122:44 /usr/java/jdk1.5.0_12/bin/java -Dinstall.root=/usr/jo 27737 pts/1 Ss 0:00 -bash 27821 pts/1 R+ 0:00 ps U opentp ------------------- Here is the console output when I connect. Does this show anything? > xwin -query reddog _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000007 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "00000409" (00000409) (--) Using preset keyboard for "English (USA)" (409), type "4" Rules = "xorg" Model = "pc105" Layout = "us" Variant = "(null)" Options = "(null )" (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 573 384 winProcEstablishConnection - Hello winProcEstablishConnection - Clipboard is not enabled, returning. winLoadCursor - Windows requires 32x32 cursor but X requires 39x26 winLoadCursor - Windows requires 32x32 cursor but X requires 39x26 winLoadCursor - Windows requires 32x32 cursor --- Thanks in advance Michael -- 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/ From holger.krull@gmx.de Wed Sep 5 17:44:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 05 Sep 2007 17:44:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> <46DEB946.2040803@gmx.de> <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> Message-ID: <46DEEAEF.7000807@gmx.de> Michael Giroux schrieb: >> On 9/5/07, Holger Krull wrote: >> Without knowing what is started when you login it is impossible to give >> further advice. > > Does stty have any effect? If yes, what options should be applied? Don't think so. > As far as I can tell, my .bash_profile is not being executed when I > login via xwin. > Here is a PS to show what is running when I connect via telnet session. That is not relevant, the question is what is started: Gnome, KDE, WindowMaker or something similar. > Here is the console output when I connect. Does this show anything? > winLoadCursor - Windows requires 32x32 cursor > but X requires 39x26 That seems odd. I have never seen such a message. Does the working login get the same message? Maybe try to start with -swcursor -- 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/ From coleradcliffe@gmail.com Wed Sep 5 18:26:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Wed, 05 Sep 2007 18:26:00 -0000 Subject: font and screen size Message-ID: I tried to change the font size with the option "-fs" after the xterm command however xterm did not recognize that option even though it appeared in "man xterm". I am guessing that it was just not compiled into the cygwin version of xterm. Is there any other way to accomplish this. I could just set the "-fn" option which stands for "font name" and use a font that has a large standard size but someone would need to explain to me how to set that up! I just want to get the shell larger in general so it does not hurt my eyes. Maybe there is another way just to scale everything up? Thanks. -- 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/ From Reid.Thompson@ateb.com Wed Sep 5 18:33:00 2007 From: Reid.Thompson@ateb.com (Reid Thompson) Date: Wed, 05 Sep 2007 18:33:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <1189017166.20189.5.camel@jhereg> how bout -fn 12x24 On Wed, 2007-09-05 at 13:26 -0500, Cole Radcliffe wrote: > I tried to change the font size with the option "-fs" after the xterm > command however xterm did not recognize that option even though it > appeared in "man xterm". I am guessing that it was just not compiled > into the cygwin version of xterm. Is there any other way to accomplish > this. I could just set the "-fn" option which stands for "font name" > and use a font that has a large standard size but someone would need > to explain to me how to set that up! > > I just want to get the shell larger in general so it does not hurt my > eyes. Maybe there is another way just to scale everything up? > > Thanks. > > -- > 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/ From Reid.Thompson@ateb.com Wed Sep 5 18:34:00 2007 From: Reid.Thompson@ateb.com (Reid Thompson) Date: Wed, 05 Sep 2007 18:34:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <1189017227.20189.8.camel@jhereg> run xlsfonts and pick one -- 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/ From holger.krull@gmx.de Wed Sep 5 18:34:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 05 Sep 2007 18:34:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <46DEF6A7.6090002@gmx.de> Cole Radcliffe schrieb: > this. I could just set the "-fn" option which stands for "font name" > and use a font that has a large standard size but someone would need > to explain to me how to set that up! xterm font type and size are usually set in the file .Xdefaults add something like: XTerm*faceName: bitstream vera sans mono XTerm*faceSize: 10 > > I just want to get the shell larger in general so it does not hurt my > eyes. Maybe there is another way just to scale everything up? Yes, start the server with -dpi 120 (or larger) -- 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/ From dickey@his.com Wed Sep 5 18:44:00 2007 From: dickey@his.com (Thomas Dickey) Date: Wed, 05 Sep 2007 18:44:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <20070905144244.K37269@mail101.his.com> On Wed, 5 Sep 2007, Cole Radcliffe wrote: > I tried to change the font size with the option "-fs" after the xterm > command however xterm did not recognize that option even though it > appeared in "man xterm". I am guessing that it was just not compiled > into the cygwin version of xterm. Is there any other way to accomplish > this. I could just set the "-fn" option which stands for "font name" > and use a font that has a large standard size but someone would need > to explain to me how to set that up! > > I just want to get the shell larger in general so it does not hurt my > eyes. Maybe there is another way just to scale everything up? There are normally installed bitmap fonts (font2, etc), which can be selected with the control/right/mouse menu (or cycle through them with shifted numeric keypad "+" and "-" keys). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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/ From Angelo.Graziosi@roma1.infn.it Wed Sep 5 21:53:00 2007 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Wed, 05 Sep 2007 21:53:00 -0000 Subject: font and screen size Message-ID: In my $HOME/.Xdefaults I have: ! ---------[ xft ] --------- Xft*antialias: true Xft*autohint: true ! ---------[ xterm ] --------- XTerm*background: Black XTerm*foreground: LightGray XTerm*scrollBar: true XTerm*rightScrollBar: true XTerm*faceName: BitStream Vera Sans Mono XTerm*faceSize: 14 You can try also faceSize 10 or 12. Cheers, Angelo. --- Angelo Graziosi: http://www.webalice.it/angelo.graziosi "...d'orgoglio spezzato inseguendo il desiderio del cuore" Egdar Lee MASTERS, "Antologia di Spoon River" -- 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/ From coleradcliffe@gmail.com Wed Sep 5 22:13:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Wed, 05 Sep 2007 22:13:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: That is weird. I do not have a .Xdefaults in my home directory. I do have a .Xauthority-c file, which is empty. I downloaded it pretty recently, maybe we are working with different versions. On 9/5/07, Angelo Graziosi wrote: > > In my $HOME/.Xdefaults I have: > > > ! ---------[ xft ] --------- > Xft*antialias: true > Xft*autohint: true > > > ! ---------[ xterm ] --------- > XTerm*background: Black > XTerm*foreground: LightGray > XTerm*scrollBar: true > XTerm*rightScrollBar: true > XTerm*faceName: BitStream Vera Sans Mono > XTerm*faceSize: 14 > > You can try also faceSize 10 or 12. > > Cheers, > Angelo. > > > --- > Angelo Graziosi: http://www.webalice.it/angelo.graziosi > > > "...d'orgoglio spezzato inseguendo il desiderio del cuore" > > Egdar Lee MASTERS, "Antologia di Spoon River" > -- 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/ From coleradcliffe@gmail.com Wed Sep 5 23:27:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Wed, 05 Sep 2007 23:27:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: OK. I think it was not working because I was just appending options to "%RUN% xterm -e /usr/bin/bash -l" in the startx batch file which for some reason does not work for any option I append (the shell just dies quickly). One interesting thing I found is that if I replace the "%RUN% xterm -e /usr/bin/bash -l" in the startx batch file with "xterm -fn 12X24" I get the large font size however it opens onto my Windows desktop not my cygwin hierarchy which is in a different drive. It opens into the correct drive but with the small font with "%RUN% xterm -e /usr/bin/bash -l". How can I get it to open with the large font size in the correct directory? On 9/5/07, Cole Radcliffe wrote: > That is weird. I do not have a .Xdefaults in my home directory. I do > have a .Xauthority-c file, which is empty. I downloaded it pretty > recently, maybe we are working with different versions. > > On 9/5/07, Angelo Graziosi wrote: > > > > In my $HOME/.Xdefaults I have: > > > > > > ! ---------[ xft ] --------- > > Xft*antialias: true > > Xft*autohint: true > > > > > > ! ---------[ xterm ] --------- > > XTerm*background: Black > > XTerm*foreground: LightGray > > XTerm*scrollBar: true > > XTerm*rightScrollBar: true > > XTerm*faceName: BitStream Vera Sans Mono > > XTerm*faceSize: 14 > > > > You can try also faceSize 10 or 12. > > > > Cheers, > > Angelo. > > > > > > --- > > Angelo Graziosi: http://www.webalice.it/angelo.graziosi > > > > > > "...d'orgoglio spezzato inseguendo il desiderio del cuore" > > > > Egdar Lee MASTERS, "Antologia di Spoon River" > > > -- 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/ From reid.thompson@ateb.com Thu Sep 6 01:47:00 2007 From: reid.thompson@ateb.com (Reid Thompson) Date: Thu, 06 Sep 2007 01:47:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <46DF5C7E.7050203@ateb.com> Cole Radcliffe wrote: > OK. I think it was not working because I was just appending options to > -e /usr/bin/bash -l" in the startx batch file which for > some reason does not work for any option I append (the shell just dies > quickly). > > One interesting thing I found is that if I replace the "%RUN% xterm -e > /usr/bin/bash -l" in the startx batch file with "xterm -fn 12X24" I > get the large font size however it opens onto my Windows desktop not > my cygwin hierarchy which is in a different drive. It opens into the > correct drive but with the small font with "%RUN% xterm -e > /usr/bin/bash -l". > > How can I get it to open with the large font size in the correct directory? > > On 9/5/07, Cole Radcliffe wrote: >> That is weird. I do not have a .Xdefaults in my home directory. I do >> have a .Xauthority-c file, which is empty. I downloaded it pretty >> recently, maybe we are working with different versions. >> >> On 9/5/07, Angelo Graziosi wrote: >>> In my $HOME/.Xdefaults I have: try "%RUN% xterm -fn 12x24 -e /usr/bin/bash -l anything after the -e /usr/bin/bash is being passed as a parameter to bash, not xterm... -- 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/ From coleradcliffe@gmail.com Thu Sep 6 04:09:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Thu, 06 Sep 2007 04:09:00 -0000 Subject: scroll bars Message-ID: Thanks for the help with the font size. Now why does why does "%RUN% XWin -silent-dup-error -scrollbars" give me a terminal with no scroll bars? -- 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/ From reid.thompson@ateb.com Thu Sep 6 04:19:00 2007 From: reid.thompson@ateb.com (Reid Thompson) Date: Thu, 06 Sep 2007 04:19:00 -0000 Subject: scroll bars In-Reply-To: References: Message-ID: <46DF8031.7050202@ateb.com> Cole Radcliffe wrote: > Thanks for the help with the font size. Now why does why does "%RUN% > XWin -silent-dup-error -scrollbars" give me a terminal with no scroll > bars? > > -- > 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/ the scrollbars param for XWin is not the same as the scrollbar param for terminals... xterm ( and other terminal emulators take a 'scrollbar' variant parameter ) EX. xterm -sb -sl 2500 rxvt -sb -sl 2500 -- 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/ From coleradcliffe@gmail.com Thu Sep 6 05:22:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Thu, 06 Sep 2007 05:22:00 -0000 Subject: scroll bars Message-ID: "%RUN% xterm -fn 10x20 -scrollbar -e /usr/bin/bash -l" does not work for me I also tried it with "-scrollBar" -- 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/ From Angelo.Graziosi@roma1.infn.it Thu Sep 6 06:40:00 2007 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Thu, 06 Sep 2007 06:40:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: On Wed, 5 Sep 2007, Cole Radcliffe wrote: > That is weird. I do not have a .Xdefaults in my home directory. YOU should create $HOME/'.Xdefaults' if YOU like! That file is for YOUR preferences! Try it! If you do not like, you can delete that file! Cheers, Angelo. I do > have a .Xauthority-c file, which is empty. I downloaded it pretty > recently, maybe we are working with different versions. > > On 9/5/07, Angelo Graziosi wrote: > > > > In my $HOME/.Xdefaults I have: > > > > > > ! ---------[ xft ] --------- > > Xft*antialias: true > > Xft*autohint: true > > > > > > ! ---------[ xterm ] --------- > > XTerm*background: Black > > XTerm*foreground: LightGray > > XTerm*scrollBar: true > > XTerm*rightScrollBar: true > > XTerm*faceName: BitStream Vera Sans Mono > > XTerm*faceSize: 14 > > > > You can try also faceSize 10 or 12. > > > > Cheers, > > Angelo. > > > > > > --- > > Angelo Graziosi: http://www.webalice.it/angelo.graziosi > > > > > > "...d'orgoglio spezzato inseguendo il desiderio del cuore" > > > > Egdar Lee MASTERS, "Antologia di Spoon River" > > > > --- Angelo Graziosi: http://www.webalice.it/angelo.graziosi "...d'orgoglio spezzato inseguendo il desiderio del cuore" Egdar Lee MASTERS, "Antologia di Spoon River" -- 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/ From holger.krull@gmx.de Thu Sep 6 07:21:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 06 Sep 2007 07:21:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <46DFAA4A.8050908@gmx.de> Cole Radcliffe schrieb: > That is weird. I do not have a .Xdefaults in my home directory. I do > have a .Xauthority-c file, which is empty. I downloaded it pretty > recently, maybe we are working with different versions. That is no suprise. If you have no .Xdefaults, then just create it. -- 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/ From Reid.Thompson@ateb.com Thu Sep 6 12:02:00 2007 From: Reid.Thompson@ateb.com (Reid Thompson) Date: Thu, 06 Sep 2007 12:02:00 -0000 Subject: scroll bars In-Reply-To: References: Message-ID: <1189080138.20189.56.camel@jhereg> On Thu, 2007-09-06 at 00:22 -0500, Cole Radcliffe wrote: > "%RUN% xterm -fn 10x20 -scrollbar -e /usr/bin/bash -l" does not work for me > > I also tried it with "-scrollBar" > That's because -scrollbar is not a valid command line parameter tor xterm. "%RUN% xterm -fn 10x20 -sb -sl 2500 -e /usr/bin/bash -l" see xterm -help -- 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/ From mahdi.sbeih@pdf.com Thu Sep 6 13:37:00 2007 From: mahdi.sbeih@pdf.com (Mahdi A Sbeih) Date: Thu, 06 Sep 2007 13:37:00 -0000 Subject: Windows GUI apps from xterm Message-ID: <46E00287.4010101@pdf.com> Hello all, I am on windows terminal server "win_ts": When executing a windows GUI application such as "calc" from a cygwin shell, it works just fine, without setting any DISPLAY env variable. Now if I connect to terminal server "win_ts" from a unix xterm - I am still on the same terminal server - and try to run "calc", it hangs, but running something like xcalc works fine. It seems that running pure windows GUI app such as "calc" only woks from a cygwin shell, and not connecting to the cygwin shell from a unix xterm even though everything is happening on the same windows terminal server. Please advice. -Mahdi -- 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/ From holger.krull@gmx.de Thu Sep 6 14:08:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 06 Sep 2007 14:08:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: <46E00287.4010101@pdf.com> References: <46E00287.4010101@pdf.com> Message-ID: <46E009C1.20700@gmx.de> Mahdi A Sbeih schrieb: > I am on windows terminal server "win_ts": > When executing a windows GUI application such as "calc" from a cygwin > shell, it works just fine, without setting any DISPLAY env variable. No surprise here. Windows applications don't use X11, so they don't look for DISPLAY. > Now if I connect to terminal server "win_ts" from a unix xterm - I am > still on the same terminal server - and try to run "calc", it hangs, but > running something like xcalc works fine. I'm not sure what you mean by "unix xterm". If that means connecting from a different system, then you can't get calc because calc can't display itself on a X11 Server. If you mean starting calc from cygwins xterm on the same server, as your hint suggests, then you probably run into specific problems a terminal server has (finding the right session). Starting a windows app from cygwin xterm works here without problems. Does calc come up in the tasklist? -- 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/ From mlgiroux@gmail.com Thu Sep 6 16:12:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Thu, 06 Sep 2007 16:12:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <46DEEAEF.7000807@gmx.de> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> <46DEB946.2040803@gmx.de> <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> <46DEEAEF.7000807@gmx.de> Message-ID: <5ea470920709060912w1b8fe991q78c90fe41ee80555@mail.gmail.com> Thanks -swcursor has eliminated the console messages, and it manages to highlight the extremely slow response. It is taking several seconds for the mouse pointer to move when I move the physical mouse. In fact, I now realize that keyboard is non responsive as well. I'm not seeing any cpu utilization on either system, which gives me the feeling that there is a loop somewhere looking for events and the loop is using a timer or something. Using GUI on the physical Linux box does not have this problem, so I keep guessing that it has something to do with TCP/IP buffering or polling. Guess I'll have to ask a network admin to monitor this connection to confirm or discard that theory. Michael On 9/5/07, Holger Krull wrote: > > winLoadCursor - Windows requires 32x32 cursor > > but X requires 39x26 > > > That seems odd. I have never seen such a message. Does the working login get the same message? > Maybe try to start with -swcursor -- 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/ From coleradcliffe@gmail.com Thu Sep 6 16:28:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Thu, 06 Sep 2007 16:28:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: So that xterm will automatically know to look in .Xdefaults if I make that file? How does it know that? On 9/6/07, Angelo Graziosi wrote: > > > On Wed, 5 Sep 2007, Cole Radcliffe wrote: > > > That is weird. I do not have a .Xdefaults in my home directory. > > YOU should create $HOME/'.Xdefaults' if YOU like! That file is for YOUR > preferences! Try it! If you do not like, you can delete that file! > > > Cheers, > > Angelo. > > I do > > have a .Xauthority-c file, which is empty. I downloaded it pretty > > recently, maybe we are working with different versions. > > > > On 9/5/07, Angelo Graziosi wrote: > > > > > > In my $HOME/.Xdefaults I have: > > > > > > > > > ! ---------[ xft ] --------- > > > Xft*antialias: true > > > Xft*autohint: true > > > > > > > > > ! ---------[ xterm ] --------- > > > XTerm*background: Black > > > XTerm*foreground: LightGray > > > XTerm*scrollBar: true > > > XTerm*rightScrollBar: true > > > XTerm*faceName: BitStream Vera Sans Mono > > > XTerm*faceSize: 14 > > > > > > You can try also faceSize 10 or 12. > > > > > > Cheers, > > > Angelo. > > > > > > > > > --- > > > Angelo Graziosi: http://www.webalice.it/angelo.graziosi > > > > > > > > > "...d'orgoglio spezzato inseguendo il desiderio del cuore" > > > > > > Egdar Lee MASTERS, "Antologia di Spoon River" > > > > > > > > > > --- > Angelo Graziosi: http://www.webalice.it/angelo.graziosi > > > "...d'orgoglio spezzato inseguendo il desiderio del cuore" > > Egdar Lee MASTERS, "Antologia di Spoon River" > -- 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/ From holger.krull@gmx.de Thu Sep 6 16:34:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Thu, 06 Sep 2007 16:34:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: <46E02BE1.60205@gmx.de> Cole Radcliffe schrieb: > So that xterm will automatically know to look in .Xdefaults if I make > that file? Yes. > How does it know that? Because it has been build that way. Almost any program that uses X11 will honor the settings in .Xdefaults. -- 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/ From Angelo.Graziosi@roma1.infn.it Thu Sep 6 16:52:00 2007 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Thu, 06 Sep 2007 16:52:00 -0000 Subject: font and screen size In-Reply-To: References: Message-ID: On Thu, 6 Sep 2007, Cole Radcliffe wrote: > So that xterm will automatically know to look in .Xdefaults if I make > that file? Not only xterm but also other applications look in .Xdefaults! If you google for .Xdefaults, I am sure you will find other examples! > How does it know that? Don't worry about these things... step by step you will have all the knowledge of universe! > > On 9/6/07, Angelo Graziosi wrote: Instead, why you cite this ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ explicitly? You do not know SPAMMERS? Have you asked yourself why on cygwin lists you are cited as: "Cole Radcliffe" This is a more fundamental question to ask for !!! Angelo. --- Angelo Graziosi: http://www.webalice.it/angelo.graziosi "...d'orgoglio spezzato inseguendo il desiderio del cuore" Egdar Lee MASTERS, "Antologia di Spoon River" -- 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/ From stanislav.borodai@gmail.com Thu Sep 6 19:34:00 2007 From: stanislav.borodai@gmail.com (Stanislav Borodai) Date: Thu, 06 Sep 2007 19:34:00 -0000 Subject: programs (e.g. xterms) not refreshing properly running on different virtual desktops Message-ID: <87890f6e0709061234j3a181d20pf8d9e2cacf83847@mail.gmail.com> Hi, I noticed when I run X and use multiple virtual desktops (using Nvidia nview), xterms and other X applications are not refreshing properly if they are located on different virtual desktops. For example, if I start 2 xterms on desktop 1 and if these xterms overlap, then if I send one of them to desktop 2 and switch to desktop 2, the overlapping region in the xterm on desktop 2 would be shown filled with contents from xterm from desktop 1. This can be fixed by minimizing and restoring xterm window, but it is not an easy solution if one has an X application with multiple windows, since all of them have to be minimized and restored to force refresh. I searched cygwin-xfree mailing list and this problem seems to resemble closely the one mentioned in: http://sourceware.org/ml/cygwin-xfree/2003-03/msg00138.html as fixed, but it still does not seem to work. I am running X as: %RUN% XWin -multiwindow -clipboard -silent-dup-error the version of the X packages is: 6.8.99.901-1 I also tried it with -multiplemonitors option (even though I am running virtual desktops on a single monitor) but it did not help. Any suggestions? Thanks, Stas. -- 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/ From coleradcliffe@gmail.com Thu Sep 6 21:05:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Thu, 06 Sep 2007 21:05:00 -0000 Subject: scroll Message-ID: What are the XWin server options you are using with that Reid? Mine which are "%RUN% XWin -clipboard -silent-dup-error -multiwindow" give some weird object that looks like a scrollbar on the side but it does not allow you to scroll On Thu, 2007-09-06 at 00:22 -0500, Cole Radcliffe wrote: > "%RUN% xterm -fn 10x20 -scrollbar -e /usr/bin/bash -l" does not work for me > > I also tried it with "-scrollBar" > That's because -scrollbar is not a valid command line parameter tor xterm. "%RUN% xterm -fn 10x20 -sb -sl 2500 -e /usr/bin/bash -l" see xterm -help -- 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/ From reid.thompson@ateb.com Fri Sep 7 02:06:00 2007 From: reid.thompson@ateb.com (Reid Thompson) Date: Fri, 07 Sep 2007 02:06:00 -0000 Subject: scroll In-Reply-To: References: Message-ID: <46E0B292.4060601@ateb.com> Cole Radcliffe wrote: > What are the XWin server options you are using with that Reid? Mine > which are "%RUN% XWin -clipboard -silent-dup-error -multiwindow" give > some weird object that looks like a scrollbar on the side but it does > not allow you to scroll > my options are the same - XWin -multiwindow -clipboard -silent-dup-error & What exactly is weird? Email me directly a png of the xterm window. click in the terminal window and hold down your enter key until your buffer starts scrolling up -- then you can use the left and right mouse buttons to scroll up/down the xterm buffer by clicking above/below the scrollbar slider ( i.e. you will NOT be able to scroll until you've enough to cause buffering to occur -- 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/ From reid.thompson@ateb.com Fri Sep 7 02:10:00 2007 From: reid.thompson@ateb.com (Reid Thompson) Date: Fri, 07 Sep 2007 02:10:00 -0000 Subject: scroll In-Reply-To: <46E0B292.4060601@ateb.com> References: <46E0B292.4060601@ateb.com> Message-ID: <46E0B379.1080702@ateb.com> Reid Thompson wrote: > Cole Radcliffe wrote: >> What are the XWin server options you are using with that Reid? Mine >> which are "%RUN% XWin -clipboard -silent-dup-error -multiwindow" give >> some weird object that looks like a scrollbar on the side but it does >> not allow you to scroll >> > my options are the same - XWin -multiwindow -clipboard -silent-dup-error & > > > What exactly is weird? Email me directly a png of the xterm window. > > click in the terminal window and hold down your enter key until your > buffer starts scrolling up -- then you can use the left and right mouse > buttons to scroll up/down the xterm buffer by clicking above/below the > scrollbar slider ( i.e. you will NOT be able to scroll until you've > enough to cause buffering to occur > you may prefer rxvt over xterm.... the options are pretty much the same -- 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/ From dickey@his.com Fri Sep 7 10:03:00 2007 From: dickey@his.com (Thomas Dickey) Date: Fri, 07 Sep 2007 10:03:00 -0000 Subject: scroll In-Reply-To: <46E0B379.1080702@ateb.com> References: <46E0B292.4060601@ateb.com> <46E0B379.1080702@ateb.com> Message-ID: <20070907060206.U59845@mail101.his.com> On Thu, 6 Sep 2007, Reid Thompson wrote: > you may prefer rxvt over xterm.... > the options are pretty much the same Some of the options are (for scrolling - yes). Font-switching is different for instance. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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/ From adri.pelders@asml.com Fri Sep 7 15:05:00 2007 From: adri.pelders@asml.com (Adri Pelders) Date: Fri, 07 Sep 2007 15:05:00 -0000 Subject: Xwin terminates when followed by xmodmap Message-ID: <12556974.post@talk.nabble.com> To change the behaviour of some function keys I used the xmodmap function in my startxwin.sh When starting XWin with 3 screens (startxwin.sh 3), xwin terminates when defining the keys. When I start Xwin using only one screen (startxwin.sh 1) there is no problem en the function keys are well defined. I tried a sleep 5, but this didn't bring anything. Best regards, Adri #! /bin/sh export DISPLAY=127.0.0.1:0.0 export PATH=/usr/X11R6/bin:"$PATH" export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB export XNLSPATH=/usr/X11R6/lib/X11/locale # Cleanup from last run. #rm -rf /tmp/.X11-unix # The error "Fatal server error: could not open default font 'fixed'" is # caused by using a DOS mode mount for the mount that the Cygwin/X # fonts are accessed through. See the Cygwin/X FAQ for more # information: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # Brief descriptions of XWin-specific options: # # -screen scr_num [width height] # Enable screen scr_num and optionally specify a width and # height for that screen. # Most importantly, any parameters specified before the first -screen # parameter apply to all screens. Any options after the first -screen # parameter apply only to the screen that precedes the parameter. # Example: # XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2 # All screens will be fullscreen, but screen 2 will be depth 8, while # screens 0 and 1 will be the default depth (whatever depth Windows # is currently running at). # -multiwindow # Start an integrated Windows-based window manager. Not to be used # with -rootless nor -fullscreen. # -rootless # Use a transparent root window with an external window manager # (such as twm). Not to be used with -multiwindow nor # with -fullscreen. # -fullscreen # Use a window as large as possible on the primary monitor. # -multiplemonitors # Create a root window that covers all monitors on a # system with multiple monitors. # -clipboard # Enable the integrated version of xwinclip. Do not use in # conjunction with the xwinclip program. # -depth bits_per_pixel # Specify the screen depth to run at (in bits per pixel) using a # DirectDraw-based engine in conjunction with the -fullscreen # option, ignored if the -fullscreen option is not specified. # By default, you will be using a DirectDraw based engine on any # system that supports it. # -unixkill # Trap Ctrl+Alt+Backspace as a server shutdown key combination. # -nounixkill # Disable Ctrl+Alt+Backspace as a server shutdown key combination (default). # Example: # XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill # Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2 will not. # -winkill # Trap Alt+F4 as a server shutdown key combination (default). # -nowinkill # Disable Alt+F4 as a server shutdown key combination. # -scrollbars # Enable resizing of the server display window. Do not use in conjunction # with -multiwindow nor with -rootless. # -nodecoration # Draw the server root window without a title bar or border. # Do not use with -mutliwindow nor with -rootless. # -lesspointer # Hide the Windows mouse cursor anytime it is over any part of the # window, even if Cygwin/X is not the window with the focus. # -refresh rate_in_Hz # Specify a refresh rate to use when used with the -fullscreen option. # -trayicon # Enable the tray icon (default). # -notrayicon # Disable the tray icon. # Example: # XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon # Screens 0 and 1 will not have tray icons, but screen 2 will. # -emulate3buttons [timeout] # Emulate 3 button mouse with an optional timeout in milliseconds. # -xf86config # Specify an XF86Config-style configuration file. # -keyboard # Specify a keyboard device from the configuration file. # # Startup the programs # # Startup the X Server with the integrated Windows-based window manager. # WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' # command-line parameter for XWin. Doing so would start two clipboard # managers, which is never supposed to happen. #XWin -multiwindow -clipboard -silent-dup-error & set -x if [ $1 = 1 ] ; then XWin.exe -ac -clipboard -nodecoration \ -screen 0 1280x1024+1280+0 \ -terminate & xterm & fi if [ $1 = 3 ] ; then XWin.exe -ac -clipboard -nodecoration \ -screen 0 1280x1024+1280+-1024 \ -screen 1 1280x1024+1280+0 \ -screen 2 1280x1024+2560+0 \ -terminate & fi if [ $1 = 5 ] ; then XWin.exe -ac -clipboard -nodecoration \ -screen 0 1280x1024+1280+-1024 \ -screen 1 1280x1024+1280+0 \ -screen 2 1280x1024+2560+0 \ -screen 3 1280x1024+2560+-1024 \ -screen 4 1280x1024+0+-1024 \ -terminate & fi sleep 5 # Startup an xterm, using bash as the shell. #xterm -e /usr/bin/bash -l & #xterm & xmodmap -e "keysym F2 = F16 F16 SunCopy" xmodmap -e "keysym F3 = F18 F18 SunPaste" xmodmap -e "keysym F4 = F20 F20 SunCut" xmodmap -e "keysym F11 = F19 F19 SunFind" xmodmap -e "keysym KP_Enter = Return" # # Startup the twm window manager. # WARNING: Do not use an external window manager in conjunction with # the ``-multiwindow'' command-line parameter for XWin. Doing so # would start two window managers, which is never supposed to happen. # # twm & # Set a background color. Only needed when not using -multwindow for XWin. # xsetroot -solid aquamarine4 # Return from sh. exit -- View this message in context: http://www.nabble.com/Xwin-terminates-when-followed-by-xmodmap-tf4401760.html#a12556974 Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/ From adri.pelders@asml.com Sun Sep 9 12:24:00 2007 From: adri.pelders@asml.com (Adri Pelders) Date: Sun, 09 Sep 2007 12:24:00 -0000 Subject: Xwin terminates when followed by xmodmap In-Reply-To: <12556974.post@talk.nabble.com> References: <12556974.post@talk.nabble.com> Message-ID: <12578400.post@talk.nabble.com> Adri Pelders wrote: > > When starting XWin with 3 screens (startxwin.sh 3), xwin terminates when > defining the keys. > Additional info The following message appears: $ xmodmap -e "keysym F11 = F19 F19 SunFind" winProcEstablishConnection - Hello winInitClipboard () winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winProcEstablishConnection - winInitClipboard returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; f ixing. $ winDeinitMultiWindowWM - Noting shutdown in progress -- View this message in context: http://www.nabble.com/Xwin-terminates-when-followed-by-xmodmap-tf4401760.html#a12578400 Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/ From techlist@pathfinder.phys.utk.edu Mon Sep 10 04:48:00 2007 From: techlist@pathfinder.phys.utk.edu (Reuben D. Budiardja) Date: Mon, 10 Sep 2007 04:48:00 -0000 Subject: Fonts on X-forwarded apps are too small Message-ID: <200709100048.04303.techlist@pathfinder.phys.utk.edu> Hello, I plan to use Cygwin as an X server on a Windows machine and run X applications on the linux server using the X forwarding. I found that the font size of the forwarded X applications are small compared to the regular Windows application. To illustrate, please take a look at the screenshot: http://www.budiardja.org/tmp/cywin-x.png "Kate" runs on the linux server and forwarded to the local machine. The menu for it looks small. Compare that to the Firefox that runs as a native Windows app. How do I change the font size so that X application like Kate has larger font menu ? At first I thought this has something to do with resolution / DPI of cygwin X server, but I couldn't find any info on how to configure it (and I'm not really sure if this the problem/solution). I've searched Doc, FAQ, google and list archive but couln'd find anything that helps. I apologize if this has been asked before and I simply missed it. Any help / info is greatly appreciated. Thanks. RDB -- Reuben D. Budiardja Dept. Physics and Astronomy University of Tennessee, Knoxville, TN -- 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/ From holger.krull@gmx.de Mon Sep 10 07:54:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 10 Sep 2007 07:54:00 -0000 Subject: Fonts on X-forwarded apps are too small In-Reply-To: <200709100048.04303.techlist@pathfinder.phys.utk.edu> References: <200709100048.04303.techlist@pathfinder.phys.utk.edu> Message-ID: <46E4EDB6.4050900@gmx.de> Reuben D. Budiardja schrieb: > At first I thought this has something to do with resolution / DPI of cygwin X > server, but I couldn't find any info on how to configure it (and I'm not > really sure if this the problem/solution). the option for setting dpi is named -dpi Start Xwin with -dpi 120 or whatever dpi setting you like. xwin -help |less will show all options. -- 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/ From xerces8@butn.net Mon Sep 10 13:37:00 2007 From: xerces8@butn.net (xerces8) Date: Mon, 10 Sep 2007 13:37:00 -0000 Subject: How to turn off text antialias ? Message-ID: Hi! I use xorg-x11-base 6.8.99.901-1 on Win2000. I find the text/font antialias blurry and want to turn it off. How do I do that ? The app is gaim running on a remote debian etch system. Regards, David -- 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/ From holger.krull@gmx.de Mon Sep 10 14:16:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 10 Sep 2007 14:16:00 -0000 Subject: How to turn off text antialias ? In-Reply-To: References: Message-ID: <46E551C8.4010909@gmx.de> xerces8 schrieb: > > I find the text/font antialias blurry and want to turn it off. > How do I do that ? > The app is gaim running on a remote debian etch system. gaim uses gtk if i remember right, so setting GDK_USE_XFT=0 before starting it may be enough. -- 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/ From xerces8@butn.net Mon Sep 10 14:45:00 2007 From: xerces8@butn.net (xerces8) Date: Mon, 10 Sep 2007 14:45:00 -0000 Subject: How to turn off text antialias ? In-Reply-To: <46E551C8.4010909@gmx.de> References: <46E551C8.4010909@gmx.de> Message-ID: From: Holger Krull Date: Mon, 10 Sep 2007 16:16:40 +0200 > xerces8 schrieb: > > > > I find the text/font antialias blurry and want to turn it off. > > How do I do that ? > > > > The app is gaim running on a remote debian etch system. > > gaim uses gtk if i remember right, so setting > GDK_USE_XFT=0 > before starting it may be enough. No, unfortunately it is not. David -- 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/ From holger.krull@gmx.de Mon Sep 10 14:57:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 10 Sep 2007 14:57:00 -0000 Subject: How to turn off text antialias ? In-Reply-To: References: <46E551C8.4010909@gmx.de> Message-ID: <46E55B57.5090805@gmx.de> xerces8 schrieb: > From: Holger Krull > Date: Mon, 10 Sep 2007 16:16:40 +0200 > >> xerces8 schrieb: >>> >>> I find the text/font antialias blurry and want to turn it off. >>> How do I do that ? >> >>> The app is gaim running on a remote debian etch system. >> gaim uses gtk if i remember right, so setting >> GDK_USE_XFT=0 >> before starting it may be enough. > > No, unfortunately it is not. To bad. XFT font antialiasing should be completly disabled creating a file named .fonts.conf in your remote home directory with following entry: false -- 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/ From xerces8@butn.net Mon Sep 10 15:08:00 2007 From: xerces8@butn.net (xerces8) Date: Mon, 10 Sep 2007 15:08:00 -0000 Subject: How to turn off text antialias ? In-Reply-To: <46E55B57.5090805@gmx.de> References: <46E551C8.4010909@gmx.de> <46E55B57.5090805@gmx.de> Message-ID: From: Holger Krull Date: Mon, 10 Sep 2007 16:57:27 +0200 > xerces8 schrieb: > > From: Holger Krull > > Date: Mon, 10 Sep 2007 16:16:40 +0200 > > > >> xerces8 schrieb: > >>> > >>> I find the text/font antialias blurry and want to turn it off. > >>> How do I do that ? > >> > >>> The app is gaim running on a remote debian etch system. > >> gaim uses gtk if i remember right, so setting > >> GDK_USE_XFT=0 > >> before starting it may be enough. > > > > No, unfortunately it is not. > > To bad. > XFT font antialiasing should be completly disabled creating a file named .fonts.conf in your > remote home directory with following entry: > > > > false > > That worked, thanks ! David PS: Is this a known issue : when an X windows has focus, the autohidden taskbar can not be recalled ? (don't forget to change the subject if replying) -- 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/ From allentchang@yahoo.com Tue Sep 11 13:20:00 2007 From: allentchang@yahoo.com (Allen Timothy Chang) Date: Tue, 11 Sep 2007 13:20:00 -0000 Subject: fluxbox style overlay setting problem with Cygwin/X Message-ID: <270119.28628.qm@web90406.mail.mud.yahoo.com> I have the following question for Cygwin/X users who use fluxbox. How come when I run fluxbox, all the style overlay settings specified in ~/.fluxbox/overlay are ignored by fluxbox even though I added the session.styleOverlay: ~/.fluxbox/overlay line in the file ~/.fluxbox/init. I'm using fluxbox 1.0rc3. Homepage: http://members.fortunecity.com/allentchang __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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/ From mlgiroux@gmail.com Tue Sep 11 13:25:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Tue, 11 Sep 2007 13:25:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709060912w1b8fe991q78c90fe41ee80555@mail.gmail.com> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> <46DEB946.2040803@gmx.de> <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> <46DEEAEF.7000807@gmx.de> <5ea470920709060912w1b8fe991q78c90fe41ee80555@mail.gmail.com> Message-ID: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> Have been watching this for a few days now and here is what we see. When I start an XWin session, response is excellent for about 1 minute. If I happen to close the XWin server in my cygwin desktop while the response is really good, I get a warning dialog that there are 4 clients connected. Repeat the test, start XWin, open Eclipse, use system until response degrades. Now close the XWin server while the response is poor. This time, I get a message box indicating that there are 17 clients connected. My network admin is seeing sessions connecting from the Linux box into my XWin server confirming that there are sessions being initiated on the Linux system. >From this, it seems the response issue is somehow related to these clients. Since I'm only starting one client (Eclipse) the others I have no way of knowing what the others are. To test the theory that this is the cause of the problem, is there any way to prevent these clients from starting and connecting to my XWin server? Michael -- 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/ From holger.krull@gmx.de Tue Sep 11 13:31:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Tue, 11 Sep 2007 13:31:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> References: <001901c7ef09$b37630c0$314a60a8@cabmec16> <46DEB946.2040803@gmx.de> <5ea470920709050940k5645463w683b3aeccae423de@mail.gmail.com> <46DEEAEF.7000807@gmx.de> <5ea470920709060912w1b8fe991q78c90fe41ee80555@mail.gmail.com> <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> Message-ID: <46E69891.2060400@gmx.de> Michael Giroux schrieb: > From this, it seems the response issue is somehow related to these clients. > > Since I'm only starting one client (Eclipse) the others I have no way > of knowing what the others are. Yes you do. Make an addtional connection with ssh and make ps print all processes for your account. Or ask someone who is root to do so. > To test the theory that this is the cause of the problem, is there any > way to prevent these clients from starting and connecting to my XWin > server? Yes. But these clients get started by the login process on the unix/linux computer so we would need to know exactly how you connect and start eclipse for further advice. -- 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/ From Phil.Betts@ascribe.com Tue Sep 11 16:36:00 2007 From: Phil.Betts@ascribe.com (Phil Betts) Date: Tue, 11 Sep 2007 16:36:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> Michael Giroux wrote on Tuesday, September 11, 2007 2:25 PM:: > Since I'm only starting one client (Eclipse) the others I have no way > of knowing what the others are. Try xlsclients -- 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/ From mlgiroux@gmail.com Tue Sep 11 22:25:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Tue, 11 Sep 2007 22:25:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> Message-ID: <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> I got a little help from my network admin. We started watching the traffic between my Windows desktop (XWin server) and the Linux box (client). What we see is interesting. When I start XWIN and then launch Eclipse, response is perfect. If I move the mouse, my system sends a message to the Linux box. When I see the performance problem, what I see is that if I move the mouse, nothing is sent from my system to Linux. The Linux box sends a keep-alive or something to my system every 15 seconds. When that happens, it appears that a mouse message is sent to Linux. To make matters a bit more interesting, the problem seems to occur shortly after I do something that effects the application windows on the XWin desktop. For example, if I start XWin, then start Eclipse, response remains good until I do almost anything to window. If I minimize Eclipse, I notice that shortly after that, my system stops sending messages to the Linux box when I move the mouse. Or, if I create a terminal window, then close it, the same happens, ... shortly later my system stops sending messages to the Linux box. Once this occurs, the only resolution is to abort XWin via the windows task manager (because it is not responding to mouse events) and restart it. All of this leads me to ask if maybe I have XWin installed incorrectly or maybe have the wrong version. Does any of this sound familiar to anyone who has used XWin for more than a few releases? On 9/11/07, Phil Betts wrote: > Michael Giroux wrote on Tuesday, September 11, 2007 2:25 PM:: > > > Since I'm only starting one client (Eclipse) the others I have no way > > of knowing what the others are. > > Try xlsclients > > > > -- > 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/ From mlgiroux@gmail.com Wed Sep 12 13:57:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 12 Sep 2007 13:57:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> Message-ID: <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> Is there an alternative to XDCMP that I could try to see if that protocol is causing the problem? -- 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/ From jc.gervais@videotron.ca Wed Sep 12 14:22:00 2007 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 12 Sep 2007 14:22:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> Message-ID: <1189606957.828.5.camel@mercury.sprymusic> Michel, One alternative you could try is ssh-ing to the host you want to run the programs on and invoking the programs directly and comparing the graphics-update performance. In essence this means issuing the following command: ssh -Y youruser@host program The 'Y' parameter is very important, don't forget it. All this hinges on whether or not the host has SSH enabled, and if it does, it must also have X forwarding enabled. Still, it won't cost you that much to try. In the past, I have tried to use xdmcp like you have only to encounter the same sluggish performance you've reported, so I've opted to use X tunneling over SSH instead, which works great. The IS a drawback though, it doesn't give you the full desktop with the background and everything you might be looking for, but in practice the things you really want are the apps, anyway. J On Wed, 2007-09-12 at 06:56 -0700, Michael Giroux wrote: > Is there an alternative to XDCMP that I could try to see if that > protocol is causing the problem? > > -- > 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/ From mlgiroux@gmail.com Wed Sep 12 14:45:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 12 Sep 2007 14:45:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <1189606957.828.5.camel@mercury.sprymusic> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> Message-ID: <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> Thanks for the tip. I was able to use the ssh, but that generated errors on the console (below). Before running the ssh command, I started xwin, but perhaps I need to specify some options? Michael (eclipse:29698): GLib-GObject-WARNING **: invalid (NULL) pointer instance (eclipse:29698): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_T YPE_CHECK_INSTANCE (instance)' failed (eclipse:29698): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS _SCREEN (screen)' failed (eclipse:29698): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)' failed (eclipse:29698): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is inv alid or out of range for property `visible' of type `gboolean' -- 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/ From jc.gervais@videotron.ca Wed Sep 12 14:55:00 2007 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 12 Sep 2007 14:55:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> Message-ID: <1189608902.27726.3.camel@mercury.sprymusic> Michael, I am assuming you are invoking the ssh connection from a graphical xterm window, it won't work from a console-mode bash prompt. Other than that, it might mean that X forwarding is not enabled on the host you are connecting to. For the record, I just tried the scenario I outlined; ssh to a host and then invoking eclipse. It worked for me, so it has to be a configuration issue on your setup. J On Wed, 2007-09-12 at 07:45 -0700, Michael Giroux wrote: > Thanks for the tip. I was able to use the ssh, but that generated > errors on the console (below). Before running the ssh command, I > started xwin, but perhaps I need to specify some options? > > Michael > > (eclipse:29698): GLib-GObject-WARNING **: invalid (NULL) pointer instance > > (eclipse:29698): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_T > YPE_CHECK_INSTANCE (instance)' failed > > (eclipse:29698): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS > _SCREEN (screen)' failed > > (eclipse:29698): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT > (object)' failed > > (eclipse:29698): GLib-GObject-WARNING **: value "TRUE" of type `gboolean' is inv > alid or out of range for property `visible' of type `gboolean' > > -- > 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/ From holger.krull@gmx.de Wed Sep 12 15:01:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 12 Sep 2007 15:01:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <1189606957.828.5.camel@mercury.sprymusic> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> Message-ID: <46E7FF39.9060501@gmx.de> Jean-Claude Gervais schrieb: > The IS a drawback though, it doesn't give you the full desktop with the > background and everything you might be looking for, but in practice the > things you really want are the apps, anyway. That is not true, if you tunnel through ssh you can easily start kde, gnome or whatever window manager you like if you tell xwin not to start its own local window manager. (kde is startkde, gnome is gnome-session, icewm is icewm-session) -- 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/ From holger.krull@gmx.de Wed Sep 12 15:04:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 12 Sep 2007 15:04:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <1189608902.27726.3.camel@mercury.sprymusic> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> <1189608902.27726.3.camel@mercury.sprymusic> Message-ID: <46E7FFFF.8070803@gmx.de> Jean-Claude Gervais schrieb: > Michael, > > I am assuming you are invoking the ssh connection from a graphical > xterm window, it won't work from a console-mode bash prompt. It will if you set DISPLAY right before starting ssh. -- 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/ From holger.krull@gmx.de Wed Sep 12 15:18:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 12 Sep 2007 15:18:00 -0000 Subject: xterm changed from german to english In-Reply-To: <46D92632.4010500@sposch.net> References: <46D92632.4010500@sposch.net> Message-ID: <46E8032C.9010709@gmx.de> Sebastian Posch schrieb: > I have a german WindowsXP installation with a german keyboard. Since > yesterday all of a sudden I get only english input in xterm. y is z, - > is / ... > > I still have german input in bash and DOS prompt, so I tried restarting > the X server and reinstalling xterm, but it didn't help. > > I'd be interested in what could've been causing this. It could be windows xp switching the keyboard for Xwin, i have this annoying behaviour with skype. I have to manually select german. (Eingabegebietsschema) -- 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/ From holger.krull@gmx.de Wed Sep 12 15:33:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 12 Sep 2007 15:33:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: <46E7F9FE.6050301@pdf.com> References: <46E00287.4010101@pdf.com> <46E009C1.20700@gmx.de> <46E7F9FE.6050301@pdf.com> Message-ID: <46E806BF.8090200@gmx.de> Keep things on the list please. > Now from the same cygwin shell, if I run "rsh any_unix_machine", I am > now logged into a unix box, now I run "rsh terminal_server_name", I am > now back on the terminal server. Now if I run calc, it doesn't work, > attached are 2 snapshots. so you have terminal-server ->unix ->terminal-server I'm not suprised that this doesn't work. The second rsh session you create on the terminal server is not aware of the former terminal-server connection. You wouldn't expect to see the graphical output of calc if you would sit in front of the unix server and doing a rsh to the terminal-server. -- 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/ From oceanare@pacific.net.sg Wed Sep 12 16:17:00 2007 From: oceanare@pacific.net.sg (Erich Dollansky) Date: Wed, 12 Sep 2007 16:17:00 -0000 Subject: xterm changed from german to english In-Reply-To: <46E8032C.9010709@gmx.de> References: <46D92632.4010500@sposch.net> <46E8032C.9010709@gmx.de> Message-ID: <46E81118.7090500@pacific.net.sg> Hi, Holger Krull wrote: > Sebastian Posch schrieb: >> I have a german WindowsXP installation with a german keyboard. Since >> yesterday all of a sudden I get only english input in xterm. y is z, - >> is / ... >> >> I still have german input in bash and DOS prompt, so I tried restarting >> the X server and reinstalling xterm, but it didn't help. >> >> I'd be interested in what could've been causing this. > > It could be windows xp switching the keyboard for Xwin, i have this annoying behaviour with skype. I have to manually select german. (Eingabegebietsschema) > the other option could be: setxkbmap -layout de Erich -- 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/ From xerces8@butn.net Wed Sep 12 16:32:00 2007 From: xerces8@butn.net (xerces8) Date: Wed, 12 Sep 2007 16:32:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: <46E806BF.8090200@gmx.de> References: <46E00287.4010101@pdf.com> <46E009C1.20700@gmx.de> <46E7F9FE.6050301@pdf.com> <46E806BF.8090200@gmx.de> Message-ID: Holger Krull wrote : > > Keep things on the list please. > > > Now from the same cygwin shell, if I run "rsh any_unix_machine", I am > > now logged into a unix box, now I run "rsh terminal_server_name", I am > > now back on the terminal server. Now if I run calc, it doesn't work, > > attached are 2 snapshots. > > so you have > terminal-server ->unix ->terminal-server > > I'm not suprised that this doesn't work. > The second rsh session you create on the terminal server is not aware of the former > terminal-server connection. You wouldn't expect to see the graphical output of calc if you would > sit in front of the unix server and doing a rsh to the terminal-server. Actually this works just fine, _if_ : - remote login client and server program know and do propagate the DISPLAY variable (telnet is more likely to support DISPLAY propagation than rlogin/rsh) Regards, David -- 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/ From holger.krull@gmx.de Wed Sep 12 16:47:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 12 Sep 2007 16:47:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: References: <46E00287.4010101@pdf.com> <46E009C1.20700@gmx.de> <46E7F9FE.6050301@pdf.com> <46E806BF.8090200@gmx.de> Message-ID: <46E81811.7030603@gmx.de> xerces8 schrieb: > Holger Krull wrote : >> Keep things on the list please. >> >>> Now from the same cygwin shell, if I run "rsh any_unix_machine", I am >>> now logged into a unix box, now I run "rsh terminal_server_name", I am >>> now back on the terminal server. Now if I run calc, it doesn't work, >>> attached are 2 snapshots. >> so you have >> terminal-server ->unix ->terminal-server >> >> I'm not suprised that this doesn't work. >> The second rsh session you create on the terminal server is not aware of the former >> terminal-server connection. You wouldn't expect to see the graphical output of calc if you would >> sit in front of the unix server and doing a rsh to the terminal-server. > > Actually this works just fine, _if_ : > - remote login client and server program know and do propagate the DISPLAY variable > > (telnet is more likely to support DISPLAY propagation than rlogin/rsh) No, this is not relevant. We are talking about a Windows Application here. Calc knows nothing about DISPLAY, it is not using X. -- 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/ From mlgiroux@gmail.com Thu Sep 13 16:18:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Thu, 13 Sep 2007 16:18:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <46E7FFFF.8070803@gmx.de> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> <1189608902.27726.3.camel@mercury.sprymusic> <46E7FFFF.8070803@gmx.de> Message-ID: <5ea470920709130917q2af50458nbe64000bb3c74e5@mail.gmail.com> I have retested this with connections to different Linux systems, and it (my xwin server hang) appears to be isolated to a single Linux. I find there is a difference in Fedora versions on the two systems. Although I'm surprosed that the version of Fedora would cause my local xwin.exe to stop reading the windows message queue, I will ask the system admin to look into this from a Linux config standpoint. -- 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/ From mlgiroux@gmail.com Thu Sep 13 16:22:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Thu, 13 Sep 2007 16:22:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709130917q2af50458nbe64000bb3c74e5@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> <1189608902.27726.3.camel@mercury.sprymusic> <46E7FFFF.8070803@gmx.de> <5ea470920709130917q2af50458nbe64000bb3c74e5@mail.gmail.com> Message-ID: <5ea470920709130922i7bd8424cx76f4c8960de0388d@mail.gmail.com> Are there known issues with various versions of Fedora? -- 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/ From cagada@fibertel.com.ar Fri Sep 14 15:45:00 2007 From: cagada@fibertel.com.ar (Martin Sebastian Wain) Date: Fri, 14 Sep 2007 15:45:00 -0000 Subject: Problems starting X and a solution to be appended to the FAQ Message-ID: <46EAAC8B.9010104@fibertel.com.ar> I was going crazy with the "fixed" font error... to later find out (somewhere) that it was caused by the DOS/Text mode (\r\n) in the instalation of cygwin. With a textmode mounted root, it seems the fonts fail to load, and the diagnostic from X isn't very helpfull. I'm a newbie with this, and it was hard enought to figure out. If you append it to the FAQ maybe someone else doesn't have to suffer from this. -Mart??n -- 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/ From coleradcliffe@gmail.com Sun Sep 16 16:53:00 2007 From: coleradcliffe@gmail.com (Cole Radcliffe) Date: Sun, 16 Sep 2007 16:53:00 -0000 Subject: scroll Message-ID: Cole Radcliffe wrote: What are the XWin server options you are using with that Reid? Mine which are "%RUN% XWin -clipboard -silent-dup-error -multiwindow" give some weird object that looks like a scrollbar on the side but it does not allow you to scroll my options are the same - XWin -multiwindow -clipboard -silent-dup-error & Are you saying that you get a scrollbar with those options? Because I definitely do not! What exactly is weird? Email me directly a png of the xterm window. click in the terminal window and hold down your enter key until your buffer starts scrolling up -- then you can use the left and right mouse buttons to scroll up/down the xterm buffer by clicking above/below the scrollbar slider ( i.e. you will NOT be able to scroll until you've enough to cause buffering to occur BTW, how would one set up a separate email folder or something that would catch all of my cygwin-xfree mail in my g-mail account? -- 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/ From Phil.Betts@ascribe.com Mon Sep 17 13:43:00 2007 From: Phil.Betts@ascribe.com (Phil Betts) Date: Mon, 17 Sep 2007 13:43:00 -0000 Subject: Problems starting X and a solution to be appended to the FAQ In-Reply-To: <46EAAC8B.9010104@fibertel.com.ar> Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB026509DE@asc-mail.int.ascribe.com> Martin Sebastian Wain wrote on Friday, September 14, 2007 4:45 PM:: > I was going crazy with the "fixed" font error... to later find out > (somewhere) that it was caused by the DOS/Text mode (\r\n) in the > instalation of cygwin. > With a textmode mounted root, it seems the fonts fail to load, and the > diagnostic from X isn't very helpfull. > > I'm a newbie with this, and it was hard enought to figure out. If you > append it to the FAQ maybe someone else doesn't have to suffer from > this. > > -Mart?n It's not obvious which FAQ you looked at. Did you read this in the X FAQ? http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof If you did, and followed the instructions, then even if your /usr/X11R6/lib/X11 is on a text mode mount, setup *should* have created a binary mount for the fonts directory. At least, that's what it used to do, but I've a suspicion it may have been removed. If you followed those instructions and that didn't happen, then the FAQ should probably have a third reason added to question 8.4, worded something like this: | 3. /usr/X11R6/lib/X11/fonts is on a textmode mount. | | Run the command: | | mount -M /usr/X11R6/lib/X11/fonts | | If it is shown as textmode, you should do the following: | | umount /usr/X11R6/lib/X11/fonts | | If this reports "no such file or directory", you can safely ignore | this - it just means that the directory wasn't mounted. | | rm -rf /usr/X11R6/lib/X11/fonts | mkdir /usr/X11R6/lib/X11/fonts | mount -b "$(cygpath -m /usr/X11R6/lib/X11/fonts)" /usr/X11R6/lib/X11/fonts | | If the last command fails with an error message stating | insufficient rights, try: | | mount -b -u "$(cygpath -m /usr/X11R6/lib/X11/fonts)" /usr/X11R6/lib/X11/fonts | | Then re-run setup.exe. | | For each of the following packages, if they are marked Keep, then select | Reinstall, otherwise leave them as they are: | * xorg-x11-f100 | * xorg-x11-fcyr | * xorg-x11-fenc | * xorg-x11-fnts | * xorg-x11-fscl In case any of the above lines have been wrapped, lines not starting with "|" are supposed to be on the end of the preceding line. I don't know if anyone currently maintains the cygwin-X FAQ, so if it doesn't appear there, hopefully this reply will be found by searching the archives. Phil -- 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/ From xerces8@butn.net Mon Sep 17 13:48:00 2007 From: xerces8@butn.net (xerces8) Date: Mon, 17 Sep 2007 13:48:00 -0000 Subject: Dead systray icon Message-ID: Hi! When the XWin.exe program is closed (normally, not crash or forced), the systray icon stays behind, like for crashed apps. Can this be fixed ? I use the latest version, updated last week (I think the issue is months old anyway). Regards, David -- 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/ From Lisa.Dilorenzo@garradhassan.com Mon Sep 17 16:01:00 2007 From: Lisa.Dilorenzo@garradhassan.com (Lisa Di lorenzo) Date: Mon, 17 Sep 2007 16:01:00 -0000 Subject: FW: Uninstalling Cygwin/X ?? Message-ID: <27FC9DD15D987448948F0DECC1E0474303C4C0@ghexsrv01.ghcorp.garradhassan.com> Hello, ?? I'd like to uninstall Cygwin/X from my hard drive, but can't seem to find instructions for doing so.? How should I go about doing this? Thanks, Lisa ?? p.s. I'd like to uninstall it so that I can re-install it, in the hopes of having a 'home' directory created for me the second time around: C:\cygwin\home\ I read that this should happen if I install Cygwin/X to the properly instructed places in the installation guide.? Is this correct? -- 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/ From holger.krull@gmx.de Mon Sep 17 16:06:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Mon, 17 Sep 2007 16:06:00 -0000 Subject: FW: Uninstalling Cygwin/X ?? In-Reply-To: <27FC9DD15D987448948F0DECC1E0474303C4C0@ghexsrv01.ghcorp.garradhassan.com> References: <27FC9DD15D987448948F0DECC1E0474303C4C0@ghexsrv01.ghcorp.garradhassan.com> Message-ID: <46EEA5E9.5040804@gmx.de> Lisa Di lorenzo schrieb: > p.s. I'd like to uninstall it so that I can re-install it, in the hopes of having a 'home' directory created for me the second time around: C:\cygwin\home\ > I read that this should happen if I install Cygwin/X to the properly instructed places in the installation guide. Is this correct? http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all -- 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/ From cgf-use-the-mailinglist-please@cygwin.com Mon Sep 17 16:34:00 2007 From: cgf-use-the-mailinglist-please@cygwin.com (Christopher Faylor) Date: Mon, 17 Sep 2007 16:34:00 -0000 Subject: FW: Uninstalling Cygwin/X ?? In-Reply-To: <27FC9DD15D987448948F0DECC1E0474303C4C0@ghexsrv01.ghcorp.garradhassan.com> References: <27FC9DD15D987448948F0DECC1E0474303C4C0@ghexsrv01.ghcorp.garradhassan.com> Message-ID: <20070917163406.GB1352@ednor.casa.cgf.cx> On Mon, Sep 17, 2007 at 05:02:23PM +0100, Lisa Di lorenzo wrote: >I'd like to uninstall Cygwin/X from my hard drive, but can't seem to >find instructions for doing so.? How should I go about doing this? > >p.s. I'd like to uninstall it so that I can re-install it, in the >hopes of having a 'home' directory created for me the second time >around: C:\cygwin\home\ I read that this should happen if I install >Cygwin/X to the properly instructed places in the installation guide.? >Is this correct? Reinstalling cygwin will not cause it to behave differently the second time around. If you need a home directory then just do a "mkdir /home/" and edit /etc/passwd to reference this location, assuming it is not already doing so. cgf -- 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/ From Phil.Betts@ascribe.com Tue Sep 18 11:02:00 2007 From: Phil.Betts@ascribe.com (Phil Betts) Date: Tue, 18 Sep 2007 11:02:00 -0000 Subject: How to use the X clipboard In-Reply-To: Message-ID: <2D9E96311DCA4C48BF185EA6928BC7BB026A1CB7@asc-mail.int.ascribe.com> Robert Kiesling wrote on Tuesday, September 18, 2007 3:02 AM:: > I need to set the X server option, "emulate3Buttons," in order to use > the X clipboard with the Cygwin system's mouse. The FAQ tells me that > I can add, "-emulate3buttons ," to the X server arguments. > However, if I start the server with > > startx -- -emulate3buttons 10 > > all of the X server's default arguments seem to get overriden. I > would like to know where are the X server resources are located so I > can add this option without overriding the X server's default > arguments. > You can create a script file .xserverrc in your home directory that is called to actually start the server. This could be something as simple as: #!/bin/bash exec /usr/X11R6/bin/X $@ -emulate3buttons 10 Here, if you run startx without any arguments, $@ will contain the display number (e.g. ":0"), but not the default server arguments, so you would need to add them to the above line yourself. For more information, man xinit. Alternatively, start XWin using startxwin.bat and edit that to add your own options. It's a much simpler script than startx, so you're less likely to go astray. > On a related note, the server and display addresses default to > 127.0.0.1, and that limits clipboard use to clients on the local > host. Not true. The display IS on the PC where you started it, therefore it is on the localhost for clients started on the localhost. The clipboard is available to all clients running on the server, wherever they may be. > Because > this network gets its addresses through DHCP, I would like to know if > there's a way to tell the X server beforehand what the network > address is. I assume I can parse the output of Windows netstat after > booting and add the address to /etc/hosts before starting the X > server, but I would welcome any clues, hints, or suggestions how to > go about telling the resolver library about the network address with > a documented interface. There's no need for any of this. Suppose the PC where you run the server is hosta and the remote box is hostb. You start the server on hosta, where it is known as localhost:0. You then log into hostb. From there, the server would be known as hosta:0, so you would set DISPLAY=hosta:0. If hosta is not set up in your nameserver, then you would need to use hosta's IP address, however it's still not necessary, nor is it advisable. If you connect directly to the server as a named host (or IP address), you either need to use XDMCP or the insecure xhost to allow access to your server from hostb. The much preferred way is to use ssh with trusted X11 forwarding instead. To do this, you log into hostb using: ssh -Y user@hostb You need to ensure that $DISPLAY is set BEFORE you run ssh. You can ensure this by running ssh like this: DISPLAY=localhost:0 ssh -Y user@hostb However, if you start it from a cygwin shell, $DISPLAY should already be set correctly. On hostb, you will find that ssh has set up the DISPLAY to _look_ like it is connecting to a server on hostb - i.e. it will be localhost:10.0 or similar. Do not change this "because it looks wrong". It simply means that ssh has opened a port on hostb (in this case 6010), to which hostb's clients connect. Traffic on this port is forwarded over the secure link to hosta's port 6000. For more information (including what you may need to set up to enable X11 forwarding), consult the FAQ: http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote Finally, this is the wrong list for X related questions. Check out http://cygwin.com/lists.html I've redirected replies to the correct list. Phil -- 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/ From mlgiroux@gmail.com Wed Sep 19 14:16:00 2007 From: mlgiroux@gmail.com (Michael Giroux) Date: Wed, 19 Sep 2007 14:16:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709130922i7bd8424cx76f4c8960de0388d@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> <1189608902.27726.3.camel@mercury.sprymusic> <46E7FFFF.8070803@gmx.de> <5ea470920709130917q2af50458nbe64000bb3c74e5@mail.gmail.com> <5ea470920709130922i7bd8424cx76f4c8960de0388d@mail.gmail.com> Message-ID: <5ea470920709190716r2b9d8daaha451461339079487@mail.gmail.com> Do the CygwinX developers watch this list? I've used a network sniffer to analyze this issue, and based on what I see, the problem seems to mifest itself with Fedora release 7 (Moonshine). I am not having problems with Fedora Core release 6 (Zod). At some point the Cygwin/X server on my PC stops reading the Windows message queue. This suggests to me that the thread used to process the Windows messages is blocked waiting for network traffic, as if Fedora 7 manages to get out of sync with my Cygwin/X. The problem seems limited to connections with the Fedora 7 system. I'm hoping this might give a clue to the problem. Michael -- 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/ From holger.krull@gmx.de Wed Sep 19 14:21:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Wed, 19 Sep 2007 14:21:00 -0000 Subject: Xdmcp too slow with SOME Linux accounts. In-Reply-To: <5ea470920709190716r2b9d8daaha451461339079487@mail.gmail.com> References: <5ea470920709110624q10ac0c63xe2c0bb48b15afc3@mail.gmail.com> <2D9E96311DCA4C48BF185EA6928BC7BB025F5461@asc-mail.int.ascribe.com> <5ea470920709111524h73a9bb45hdacbedcf5924e97b@mail.gmail.com> <5ea470920709120656p38bcde8fyb8160ed8f52318b6@mail.gmail.com> <1189606957.828.5.camel@mercury.sprymusic> <5ea470920709120745q1e6eb30bld586dabdf6a0c4dd@mail.gmail.com> <1189608902.27726.3.camel@mercury.sprymusic> <46E7FFFF.8070803@gmx.de> <5ea470920709130917q2af50458nbe64000bb3c74e5@mail.gmail.com> <5ea470920709130922i7bd8424cx76f4c8960de0388d@mail.gmail.com> <5ea470920709190716r2b9d8daaha451461339079487@mail.gmail.com> Message-ID: <46F1306F.8010105@gmx.de> Michael Giroux schrieb: > Do the CygwinX developers watch this list? As far as i know xwin is unmaintained at the moment. -- 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/ From Angelo.Graziosi@roma1.infn.it Fri Sep 28 19:09:00 2007 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Fri, 28 Sep 2007 19:09:00 -0000 Subject: Problems building applications as user with a limited account Message-ID: Hi guys, I have done a fresh installation of Cygwin on a new PC observing the following. Usually I have the habit to build Emacs from CVS. Now I have tried to do the same as an user with limited account (of the group Users), but configure fails in this way: ----------------------------------------------------------------------------- ... checking for long file names... yes checking for X... no <== checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking for X... true <== configure: error: You seem to be running X, but no X development libraries were found. You should install the relevant development files for X and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make sure you have development files for image handling, i.e. tiff, gif, jpeg, png and xpm. If you are sure you want Emacs compiled without X window support, pass --without-x to configure. --------------------------------------------------------------------------- Obviously I have all the X packages installed (I have almost ALL Cygwin installed). Repeating the same things as an user with admnistrative account (of the group Administrators), configure works fine and the build continue untill the end: --------------------------------------------------------------------------- ... checking for long file names... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking for malloc_get_state... no checking for malloc_set_state... no checking whether __after_morecore_hook exists... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes ... Configured for `i686-pc-cygwin'. Where should the build process find the source code? /tmp/emacs.tmp/emacs What operating system and machine description files should Emacs use? `s/cygwin.h' and `m/intel386.h' What compiler should emacs be built with? gcc -g -O2 -Wno-pointer-sign Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? yes Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? LUCID Where do we find X Windows header files? /usr/X11R6/include Where do we find X Windows libraries? /usr/X11R6/lib Does Emacs use -lXaw3d? yes Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lungif Does Emacs use -lpng? yes Does Emacs use -lrsvg-2? no Does Emacs use -lgpm? no Does Emacs use X toolkit scroll bars? yes ... --------------------------------------------------------------------------- Any idea ? TIA, Angelo. -- 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/ From dhenman@gmail.com Fri Sep 28 22:07:00 2007 From: dhenman@gmail.com (d.henman) Date: Fri, 28 Sep 2007 22:07:00 -0000 Subject: Problems building applications as user with a limited account In-Reply-To: Your message of Fri, 28 Sep 2007 21:09:33 +0200 References: Message-ID: <20070929070736.4000@blackhawk> Angelo, Darel here. Try adding --x-includes=/usr/X11R6/include/X11 to your configure arguments. The X11 dev. include files are there in the include/X11 directory The library binaries look like they'll be found as is. Regards, Darel Henman --- Angelo Graziosi wrote: > > Hi guys, > I have done a fresh installation of Cygwin on a new PC observing the > following. > > Usually I have the habit to build Emacs from CVS. Now I have tried to do > the same as an user with limited account (of the group Users), but > configure fails in this way: > > ----------------------------------------------------------------------------- > ... > checking for long file names... yes > checking for X... no <== > checking Carbon/Carbon.h usability... no > checking Carbon/Carbon.h presence... no > checking for Carbon/Carbon.h... no > checking for X... true <== > configure: error: You seem to be running X, but no X development libraries > were found. You should install the relevant development files for X > and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make > sure you have development files for image handling, i.e. > tiff, gif, jpeg, png and xpm. > If you are sure you want Emacs compiled without X window support, pass > --without-x > to configure. > --------------------------------------------------------------------------- > > > Obviously I have all the X packages installed (I have almost ALL Cygwin > installed). > > > Repeating the same things as an user with admnistrative account (of the > group Administrators), configure works fine and the build continue untill > the end: > > --------------------------------------------------------------------------- > ... > checking for long file names... yes > checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include > checking Carbon/Carbon.h usability... no > checking Carbon/Carbon.h presence... no > checking for Carbon/Carbon.h... no > checking for malloc_get_state... no > checking for malloc_set_state... no > checking whether __after_morecore_hook exists... no > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > ... > Configured for `i686-pc-cygwin'. > > Where should the build process find the source code? > /tmp/emacs.tmp/emacs > What operating system and machine description files should Emacs use? > `s/cygwin.h' and `m/intel386.h' > What compiler should emacs be built with? gcc -g -O2 > -Wno-pointer-sign > Should Emacs use the GNU version of malloc? yes > Should Emacs use a relocating allocator for buffers? yes > Should Emacs use mmap(2) for buffer allocation? no > What window system should Emacs use? x11 > What toolkit should Emacs use? LUCID > Where do we find X Windows header files? > /usr/X11R6/include > Where do we find X Windows libraries? /usr/X11R6/lib > Does Emacs use -lXaw3d? yes > Does Emacs use -lXpm? yes > Does Emacs use -ljpeg? yes > Does Emacs use -ltiff? yes > Does Emacs use a gif library? yes -lungif > Does Emacs use -lpng? yes > Does Emacs use -lrsvg-2? no > Does Emacs use -lgpm? no > Does Emacs use X toolkit scroll bars? yes > ... > --------------------------------------------------------------------------- > > > Any idea ? > > > TIA, > > Angelo. > -- 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/ From Angelo.Graziosi@roma1.infn.it Sat Sep 29 08:41:00 2007 From: Angelo.Graziosi@roma1.infn.it (Angelo Graziosi) Date: Sat, 29 Sep 2007 08:41:00 -0000 Subject: Problems building applications as user with a limited account In-Reply-To: <20070929070736.4000@blackhawk> References: <20070929070736.4000@blackhawk> Message-ID: On Sat, 29 Sep 2007, d.henman wrote: > > ... Try adding --x-includes=/usr/X11R6/include/X11 > to your configure arguments. Now the problems seem desappeared. In any case, I will consider your suggestion. Many thanks, Angelo. -- 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/ From pechtcha@cs.nyu.edu Sat Sep 29 19:11:00 2007 From: pechtcha@cs.nyu.edu (Igor Peshansky) Date: Sat, 29 Sep 2007 19:11:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: <46E806BF.8090200@gmx.de> References: <46E00287.4010101@pdf.com> <46E009C1.20700@gmx.de> <46E7F9FE.6050301@pdf.com> <46E806BF.8090200@gmx.de> Message-ID: On Wed, 12 Sep 2007, Holger Krull wrote: > Keep things on the list please. > > > Now from the same cygwin shell, if I run "rsh any_unix_machine", I am > > now logged into a unix box, now I run "rsh terminal_server_name", I am > > now back on the terminal server. Now if I run calc, it doesn't work, > > attached are 2 snapshots. > > so you have > terminal-server ->unix ->terminal-server > > I'm not suprised that this doesn't work. > The second rsh session you create on the terminal server is not aware of > the former terminal-server connection. You wouldn't expect to see the > graphical output of calc if you would sit in front of the unix server > and doing a rsh to the terminal-server. Actually, the calc process is spawned by the inetd service, which usually cannot interact with the desktop by default. If the OP enables the "Interact with Desktop" checkbox for the inetd service, this should work. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- 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/ From holger.krull@gmx.de Sun Sep 30 09:37:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Sun, 30 Sep 2007 09:37:00 -0000 Subject: Windows GUI apps from xterm In-Reply-To: References: <46E00287.4010101@pdf.com> <46E009C1.20700@gmx.de> <46E7F9FE.6050301@pdf.com> <46E806BF.8090200@gmx.de> Message-ID: <46FF6E38.4040000@gmx.de> Igor Peshansky schrieb: >>> Now from the same cygwin shell, if I run "rsh any_unix_machine", I am >>> now logged into a unix box, now I run "rsh terminal_server_name", I am >>> now back on the terminal server. Now if I run calc, it doesn't work, >>> attached are 2 snapshots. >> so you have >> terminal-server ->unix ->terminal-server >> >> I'm not suprised that this doesn't work. >> The second rsh session you create on the terminal server is not aware of >> the former terminal-server connection. You wouldn't expect to see the >> graphical output of calc if you would sit in front of the unix server >> and doing a rsh to the terminal-server. > > Actually, the calc process is spawned by the inetd service, which usually > cannot interact with the desktop by default. If the OP enables the > "Interact with Desktop" checkbox for the inetd service, this should work. He is on a terminal server, would be interesting to see on which 'Desktop' calc will get displayed. If this is the physical display of the server this will be not helping, i guess. -- 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/ From olson_ord@yahoo.it Sun Sep 30 17:16:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 17:16:00 -0000 Subject: Checking if the X Server is running Message-ID: <424716.65789.qm@web27007.mail.ukl.yahoo.com> Hi, Pardon my ignorance, and that I am never good in this stuff. I have noticed that the startxwin.bat starts the X Server using %RUN% XWin -multiwindow -clipboard -silent-dup-error Is there any way of checking if the X Server is currently running? Because if you try this again, it gives you ??A fatal error?? ? which does not crash your computer ?? but is a bit annoying to me. I was thinking of making copies of this batch file startxwin.bat to start various progrsms by clicking. However when the second application starts up ?? it pops this dialog box. I was wondering if there is a way to avoid this. Thanks a lot, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From holger.krull@gmx.de Sun Sep 30 17:34:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Sun, 30 Sep 2007 17:34:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <424716.65789.qm@web27007.mail.ukl.yahoo.com> References: <424716.65789.qm@web27007.mail.ukl.yahoo.com> Message-ID: <46FFDE3B.1010201@gmx.de> O. Olson schrieb: > Is there any way of checking if the X Server is > currently running? Because if you try this again, it > gives you ???A fatal error??? ??? which does not crash your > computer ??? but is a bit annoying to me. > There probably is a more elegant solution but doing ps |grep Xwin >/dev/null || run Xwin -your options here will only start Xwin if it is not running already. (Assuming you will only start one Xwin) -- 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/ From rodmedina@cantv.net Sun Sep 30 18:06:00 2007 From: rodmedina@cantv.net (Rodrigo Medina) Date: Sun, 30 Sep 2007 18:06:00 -0000 Subject: Checking if the X Server is running Message-ID: <380-2200790301867939@cantv.net> O. Olson wrote: > Is there any way of checking if the X Server is > currently running? Because if you try this again, it > gives you a fatal error which does not crash your > computer, but is a bit annoying to me. > When XWin starts it writes a lock file /tmp/.X11-unix/X0. When XWin ends properly it deletes the file. You can use such file in order to know if XWin is running. bye RM -- 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/ From cygwin@cwilson.fastmail.fm Sun Sep 30 19:01:00 2007 From: cygwin@cwilson.fastmail.fm (Charles Wilson) Date: Sun, 30 Sep 2007 19:01:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <424716.65789.qm@web27007.mail.ukl.yahoo.com> References: <424716.65789.qm@web27007.mail.ukl.yahoo.com> Message-ID: <46FFF213.2050109@cwilson.fastmail.fm> O. Olson wrote: > Is there any way of checking if the X Server is > currently running? Because if you try this again, it > gives you ??A fatal error?? ?? which does not crash your > computer ?? but is a bit annoying to me. The checkX program is written specifically to do this. #!/bin/sh if checkX ; then # X is running else # X is not running fi -- Chuck -- 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/ From olson_ord@yahoo.it Sun Sep 30 19:17:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 19:17:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <46FFF213.2050109@cwilson.fastmail.fm> Message-ID: <937355.67509.qm@web27009.mail.ukl.yahoo.com> --- Charles Wilson ha scritto: > O. Olson wrote: > > > Is there any way of checking if the X Server is > > currently running? Because if you try this again, > it > > gives you ??A fatal error?? ? which does not crash > your > > computer ?? but is a bit annoying to me. > > The checkX program is written specifically to do > this. > > #!/bin/sh > if checkX ; then > # X is running > else > # X is not running > fi > > -- Thanks Chuck. This looks like what I need ?? but how do I get this checkX program. It does not seem to be there in my path. Any pointers on where it would be installed. Thanks a lot O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From olson_ord@yahoo.it Sun Sep 30 19:32:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 19:32:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <46FFDE3B.1010201@gmx.de> Message-ID: <36385.2699.qm@web27010.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > > There probably is a more elegant solution but doing > ps |grep Xwin >/dev/null || run Xwin -your options > here > > will only start Xwin if it is not running already. > (Assuming you will only start one Xwin) > Dear Holger, I don??t think I managed to get this to work. Actually I am not sure if the pipes are working, because I am getting no output for $ ps |grep Xwin However for $ ps PID PPID PGID WINPID TTY UID STIME COMMAND 23492 1 23492 23492 con 500 11:06:42 /usr/X11R6/bin/XWin 25152 1 25152 25152 con 500 13:14:28 /usr/bin/xterm I 25188 25152 25188 25208 0 500 13:14:28 /usr/bin/bash 26456 1 26456 26456 con 500 13:18:41 /usr/bin/xterm I 26492 26456 26492 26512 1 500 13:18:41 /usr/bin/bash 26128 1 26128 26128 con 500 13:28:20 /usr/bin/bash 23048 26128 23048 20344 con 500 13:28:23 /usr/bin/ps So this seems OK ?? so I am wondering why the former command did not work. Could this be a problem with the Pipe?? I have no experience with this. Thanks a lot for your help, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From bengt-arne.fjellner@ltu.se Sun Sep 30 19:47:00 2007 From: bengt-arne.fjellner@ltu.se (Bengt-Arne Fjellner) Date: Sun, 30 Sep 2007 19:47:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <36385.2699.qm@web27010.mail.ukl.yahoo.com> References: <46FFDE3B.1010201@gmx.de> <36385.2699.qm@web27010.mail.ukl.yahoo.com> Message-ID: <7FE216529E1FE248A760B58F6B82A8100292327D@EMMA.personal.adp.ltu.se> O. Olson wrote: > --- Holger Krull ha scritto: >> >> There probably is a more elegant solution but doing >> ps |grep Xwin >/dev/null || run Xwin -your options >> here >> >> will only start Xwin if it is not running already. >> (Assuming you will only start one Xwin) >> > > Dear Holger, > > I don't think I managed to get this to work. Actually > I am not sure if the pipes are working, because I am > getting no output for > > $ ps |grep Xwin No you shouldn't > > However for > > $ ps > PID PPID PGID WINPID TTY UID > STIME COMMAND > 23492 1 23492 23492 con 500 > 11:06:42 /usr/X11R6/bin/XWin Observe it's XWin the first two are capitals. so try ps |grep XWin or ps |grep -i xwin which makes a case insensitive comparison (better if yor're unsure) > 25152 1 25152 25152 con 500 > 13:14:28 /usr/bin/xterm > I 25188 25152 25188 25208 0 500 > 13:14:28 /usr/bin/bash > 26456 1 26456 26456 con 500 > 13:18:41 /usr/bin/xterm > I 26492 26456 26492 26512 1 500 > 13:18:41 /usr/bin/bash > 26128 1 26128 26128 con 500 > 13:28:20 /usr/bin/bash > 23048 26128 23048 20344 con 500 > 13:28:23 /usr/bin/ps > > So this seems OK - so I am wondering why the former > command did not work. Could this be a problem with the > Pipe?? I have no experience with this. > > Thanks a lot for your help, > O.O. > > > > ___________________________________ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail: http://it.docs.yahoo.com/nowyoucan.html -- tel 0920 49 1894 Bengt-Arne Fjellner -- 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/ From garyjohn@spk.agilent.com Sun Sep 30 20:24:00 2007 From: garyjohn@spk.agilent.com (Gary Johnson) Date: Sun, 30 Sep 2007 20:24:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <937355.67509.qm@web27009.mail.ukl.yahoo.com> References: <46FFF213.2050109@cwilson.fastmail.fm> <937355.67509.qm@web27009.mail.ukl.yahoo.com> Message-ID: <20070930202420.GA29645@suncomp1.spk.agilent.com> On 2007-09-30, O. Olson wrote: > Thanks Chuck. This looks like what I need - but how do > I get this checkX program. It does not seem to be > there in my path. > Any pointers on where it would be installed. You can use 'cygcheck' to find the Cygwin package the contains a particular program. For example, $ cygcheck -p checkX Found 2 matches for checkX. checkx/checkx-0.1.0-1 checks to see if Xserver is usable checkx/checkx-0.2.0-2 checks to see if Xserver is usable So you just need to install the checkx-0.2.0-2 package. Regards, Gary -- 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/ From holger.krull@gmx.de Sun Sep 30 20:29:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Sun, 30 Sep 2007 20:29:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <36385.2699.qm@web27010.mail.ukl.yahoo.com> References: <36385.2699.qm@web27010.mail.ukl.yahoo.com> Message-ID: <47000721.6070700@gmx.de> O. Olson schrieb: > --- Holger Krull ha scritto: >> There probably is a more elegant solution but doing >> ps |grep Xwin >/dev/null || run Xwin -your options >> here >> >> will only start Xwin if it is not running already. >> (Assuming you will only start one Xwin) > I don???t think I managed to get this to work. Actually > I am not sure if the pipes are working, because I am > getting no output for > > $ ps |grep Xwin I misstyped XWin, it is W not w. Sorry, i didn't test it. -- 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/ From olson_ord@yahoo.it Sun Sep 30 21:11:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 21:11:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <20070930202420.GA29645@suncomp1.spk.agilent.com> Message-ID: <807708.34982.qm@web27008.mail.ukl.yahoo.com> --- Gary Johnson ha scritto: > You can use 'cygcheck' to find the Cygwin package > the contains a > particular program. For example, > > $ cygcheck -p checkX > Found 2 matches for checkX. > checkx/checkx-0.1.0-1 checks to see if Xserver > is usable > checkx/checkx-0.2.0-2 checks to see if Xserver > is usable > > So you just need to install the checkx-0.2.0-2 > package. > > Regards, > Gary > Thanks Gary. So how do I install checkx-0.2.0-2. I started the setup program and I tried checking in each of the major categories listed there ?? but got nothing I then went into google and found that checkX lives http://cygwin.com/packages/checkx/ So do I have to compile the source? I do not want to do that. Regards, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From bengt-arne.fjellner@ltu.se Sun Sep 30 21:15:00 2007 From: bengt-arne.fjellner@ltu.se (Bengt-Arne Fjellner) Date: Sun, 30 Sep 2007 21:15:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <807708.34982.qm@web27008.mail.ukl.yahoo.com> References: <20070930202420.GA29645@suncomp1.spk.agilent.com> <807708.34982.qm@web27008.mail.ukl.yahoo.com> Message-ID: <7FE216529E1FE248A760B58F6B82A8100292327F@EMMA.personal.adp.ltu.se> O. Olson wrote: > --- Gary Johnson ha > scritto: >> You can use 'cygcheck' to find the Cygwin package >> the contains a >> particular program. For example, >> >> $ cygcheck -p checkX >> Found 2 matches for checkX. >> checkx/checkx-0.1.0-1 checks to see if Xserver is usable >> checkx/checkx-0.2.0-2 checks to see if Xserver is usable >> >> So you just need to install the checkx-0.2.0-2 >> package. >> >> Regards, >> Gary >> > > Thanks Gary. So how do I install checkx-0.2.0-2. > I started the setup program and I tried checking in > each of the major categories listed there - but got > nothing > I then went into google and found that checkX lives > http://cygwin.com/packages/checkx/ > So do I have to compile the source? I do not want to > do that. > Regards, > O.O. > > > > ___________________________________ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! > Mail: http://it.docs.yahoo.com/nowyoucan.html Just run setup click next until your in the categories window. Click view till you reach not installed. scroll down till you see checkX select it and then next. -- tel 0920 49 1894 Bengt-Arne Fjellner -- 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/ From olson_ord@yahoo.it Sun Sep 30 21:37:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 21:37:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <7FE216529E1FE248A760B58F6B82A8100292327F@EMMA.personal.adp.ltu.se> Message-ID: <182364.43208.qm@web27008.mail.ukl.yahoo.com> --- Bengt-Arne Fjellner ha scritto: > > Just run setup click next until your in the > categories window. > Click view till you reach not installed. > scroll down till you see checkX > select it and then next. > > -- > tel 0920 49 1894 > Bengt-Arne Fjellner Thanks Bengt-Arne for your quick reply. I think I got this installed. I now put the following into a file and am trying to execute it from the cygwin prompt. I get the error /usr/X11R6/bin/sd.sh: line 8: syntax error near unexpected token `fi' /usr/X11R6/bin/sd.sh: line 8: ` fi' File --------------------------- #!/bin/sh if checkX then xterm -e /usr/bin/bash -l else XWin -multiwindow -clipboard -silent-dup-error xterm -e /usr/bin/bash -l fi End File ------------------------------------------- I am sorry if this is a bit obvious ?? but I am trying to find a way to start applications using a windows batch file. O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From olson_ord@yahoo.it Sun Sep 30 21:49:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 21:49:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <47000721.6070700@gmx.de> Message-ID: <195443.54736.qm@web27007.mail.ukl.yahoo.com> --- Holger Krull ha scritto: > I misstyped XWin, it is W not w. Sorry, i didn't > test it. > Dear Holger, I can get your suggestion of ps |grep XWin >/dev/null ||XWin -multiwindow -clipboard -silent-dup-error to work from the Cygwin Command Prompt as well as from a script file (.sh). I am now trying to copy and modify my startxwin.bat file ?? to see if it can do this. So I replaced the line %RUN% XWin -multiwindow -clipboard -silent-dup-error Where the file starts the XWin with something like %RUN% ps |grep XWin >/dev/null ||XWin -multiwindow -clipboard -silent-dup-error To this I get ??The system cannot find the path specified?? Now if I change that to %RUN% "ps |grep XWin >/dev/null ||XWin -multiwindow -clipboard -silent-dup-error" I get an error dialog from Run.exe telling me that it could not find ps |grep XWin >/dev/null ||XWin -multiwindow -clipboard -silent-dup-error anywhere I don??t know what I am doing wrong. Thanks a lot for your help and time, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/ From holger.krull@gmx.de Sun Sep 30 22:09:00 2007 From: holger.krull@gmx.de (Holger Krull) Date: Sun, 30 Sep 2007 22:09:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <195443.54736.qm@web27007.mail.ukl.yahoo.com> References: <195443.54736.qm@web27007.mail.ukl.yahoo.com> Message-ID: <47001E7E.2050707@gmx.de> O. Olson schrieb: > ps |grep XWin >/dev/null ||XWin -multiwindow > -clipboard -silent-dup-error > > to work from the Cygwin Command Prompt as well as from > a script file (.sh). I am now trying to copy and > modify my startxwin.bat file ??? to see if it can do I suggest you start the shell script from a batchfile. Like: C:\cygwin\bin\bash.exe -l yourstartscript.sh Or make an Windows Icon with that command. If yourstartscript.sh is not found you have to give the full path to it in cygwin notation. Like: C:\cygwin\bin\bash.exe -l /home/krull/startscript.sh There could be a remaining extra Window, can be avoided with: C:\cygwin\bin\bash.exe -c -l 'run bash -l -c "yourstartscript.sh &" ' -- 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/ From garyjohn@spk.agilent.com Sun Sep 30 22:29:00 2007 From: garyjohn@spk.agilent.com (Gary Johnson) Date: Sun, 30 Sep 2007 22:29:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <182364.43208.qm@web27008.mail.ukl.yahoo.com> References: <7FE216529E1FE248A760B58F6B82A8100292327F@EMMA.personal.adp.ltu.se> <182364.43208.qm@web27008.mail.ukl.yahoo.com> Message-ID: <20070930222902.GA3545@suncomp1.spk.agilent.com> On 2007-09-30, O. Olson wrote: > Thanks Bengt-Arne for your quick reply. I think I got > this installed. I now put the following into a file > and am trying to execute it from the cygwin prompt. I > get the error > > /usr/X11R6/bin/sd.sh: line 8: syntax error near > unexpected token `fi' > /usr/X11R6/bin/sd.sh: line 8: ` fi' > > File --------------------------- > #!/bin/sh > if checkX > then > xterm -e /usr/bin/bash -l > else > XWin -multiwindow -clipboard -silent-dup-error > xterm -e /usr/bin/bash -l > fi > End File ------------------------------------------- > > I am sorry if this is a bit obvious - but I am trying > to find a way to start applications using a windows > batch file. My guess is that you created that file with DOS line endings. Try converting it to use Unix line endings, cd /usr/X11R6/bin d2u sd.sh then try executing it again. Also, I would recommend putting such scripts that you create yourself in /usr/local/bin rather than in a system directory such as /usr/X11R6/bin. Doing so will make it easier to keep track of your scripts and will make it less likely that you will lose them when doing an update of Cygwin. Regards, Gary -- 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/ From olson_ord@yahoo.it Sun Sep 30 23:51:00 2007 From: olson_ord@yahoo.it (O. Olson) Date: Sun, 30 Sep 2007 23:51:00 -0000 Subject: Checking if the X Server is running In-Reply-To: <20070930222902.GA3545@suncomp1.spk.agilent.com> Message-ID: <896735.31233.qm@web27001.mail.ukl.yahoo.com> --- Gary Johnson ha scritto: > My guess is that you created that file with DOS line > endings. Try > converting it to use Unix line endings, > > cd /usr/X11R6/bin > d2u sd.sh > > then try executing it again. > > Also, I would recommend putting such scripts that > you create > yourself in /usr/local/bin rather than in a system > directory such as > /usr/X11R6/bin. Doing so will make it easier to > keep track of your > scripts and will make it less likely that you will > lose them when > doing an update of Cygwin. > > Regards, > Gary > Thank you Gary. I think that the DOS line endings were the problem. Once I did the conversion ?? this script worked exactly as I wanted. Now I am working on trying to see if I can somehow execute this script from a batch file i.e. by just clicking on it. I am not having success in this area ?? so if you have ideas let me know. By the way thanks for pointing out that I need to put this in /usr/local/bin . I would be doing that from now on. Regards, ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/