Re: Errors when attempting 'xwin -query edeptpgrid20'
Martin, Charles W (US SSA) wrote: XWin.log file contains the following: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: xwin -query edeptpgrid20 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress winDeinitMul tiWindowWM - Noting shutdown in progress winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! winDeinitMultiWindowWM - Noting shutdown in progress <> Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. see http://x.cygwin.com/docs/faq/cygwin-x-faq.html#duplicate-invocation
Errors when attempting 'xwin -query edeptpgrid20'
XWin.log file contains the following: Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.1.0-5 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: xwin -query edeptpgrid20 ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1280 h 1024 winInitializeDefaultScreens - Returning _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winCheckDisplayNumber - Cygwin/X is already running on display 0 Fatal server error: InitOutput - Duplicate invocation on display number: 0. Exiting. winDeinitMultiWindowWM - Noting shutdown in progress winDeinitMul tiWindowWM - Noting shutdown in progress winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! winDeinitMultiWindowWM - Noting shutdown in progress <> Thanks for your assistance, Charles Martin BAE SYSTEMS HW Engineer - FPGA Support [EMAIL PROTECTED] 603.885.8247 XWin.log Description: XWin.log
Re: Keyboard auto-repeat defaults when using 'xwin -query '
Chris Green wrote: > I still have this autorepeat proplem though using an explicit xset > command in my startup is OK as a workaround. > (--) Setting autorepeat to delay=500, rate=31 > (--) winConfigKeyboard - Layout: "0809" (0809) > (--) Using preset keyboard for "English (United Kingdom)" (809), type "4" You see, the server sets the autorepeat to useful values. I'm quite sure there is another program in the startup scripts which sets the autorepeat settings to the strange value. Maybe this is not xset but the the windowmanager (kde, gnome) itself. Please check the settings of the windowmanager if there is a strange autorepeat setting. bye ago NP: grauzone.03-12-28 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
[chris@areti.co.uk: Re: Keyboard auto-repeat defaults when using 'xwin -query ']
Did my reply below get lost in the Christmas rush somewhere? I still have this autorepeat proplem though using an explicit xset command in my startup is OK as a workaround. - Forwarded message from Chris Green <[EMAIL PROTECTED]> - Date: Sat, 27 Dec 2003 14:03:33 + From: Chris Green <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Keyboard auto-repeat defaults when using 'xwin -query ' References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote: > Chris, > > Chris Green wrote: > >The problem is that when I connect using cygwin/xfree the auto-repeat > >is set to silly values, if I do an 'xset -q' I get:- > > > >auto repeat: onkey click persent: 0LED mask: 00 > >auto repeat delay: 100repeat rate: 10 > > > > > >That auto repeat delay is much too short. > Thanks for the response and for treating me gently, I'm just feeling my way in cygwin/X although I have been using Unix/Linux for many years (since the early 1980s in fact). > When running locally, I get: > > Keyboard Control: > auto repeat: onkey click percent: 0LED mask: > auto repeat delay: 500repeat rate: 31 > auto repeating keys: 00ffdbbf > fadfffdffdff > > > bell percent: 50bell pitch: 400bell duration: 100 > Just about exactly what I get except for the auto repeat delay values which I reported above. > When logged into a remote machine via -query I get exactly the same > values. I do not have an XF86Config file, and I am not passing any of > the following command-line parameters to XWin.exe: > > == > The X Keyboard Extension adds the following arguments: > -kbdisable the X Keyboard Extension > +kbenable the X Keyboard Extension > [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] >enable/disable accessx key sequences > -ar1 set XKB autorepeat delay > -ar2 set XKB autorepeat interval > > [...] > > -xf86config > Specify a configuration file. > == > I'm running using a copy of startxwin.bat with the XWIn start line set to "start XWin -query server". I have no XF86Config either. > My /tmp/XWin.log file has the following: > > == > (--) Setting autorepeat to delay=500, rate=31 > (--) winConfigKeyboard - Layout: "0409" (0409) > (EE) No primary keyboard configured > (==) Using compiletime defaults for keyboard > Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" > Options = "(null)" > == > > Could you please confirm that you are not passing any additional args to > XWin.exe, then send in your XWin.log files from both a local session and > from a session when you use -query to connect to a remote machine? That > should help us to investigate the problem. > The remote XWin.log file is:- ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600 winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 318
Re: Keyboard auto-repeat defaults when using 'xwin -query '
On Sat, Dec 27, 2003 at 02:31:58PM +0100, Alexander Gottwald wrote: > Chris Green wrote: > > > auto repeat delay: 100repeat rate: 10 > > > > > > That auto repeat delay is much too short. > > XWin tries to set the repeat rate to something similar to the windows > repeat rate. This is noted in the configfile. > > Maybe the session scripts of the linux host set the repeat rate to a bogus > value. > But the problem only occurs when I connect to the remote system using cygwin's xwin, when I use my commercial X-Win32 X server I get the default keyboard set-up that I expect. > You can verify this by starting xwin without the query paramter and run > "DISPLAY=:0.0 xset -q" from windows. This should print the default setting. > No. locally I appear to get the same problem too. -- Chris Green ([EMAIL PROTECTED])
Re: Keyboard auto-repeat defaults when using 'xwin -query '
Chris Green wrote: > I have a odd problem with the keyboard auto-repeat setup. > > I have two verions of cygwin/xfree installed on two different win2k > computers and the problem is the same on both. One has the latest > cygwin/xfree (just downloaded) and the other has a version from a > few months ago. > > I have searched through the mailing list archive and see that a > similar problem has been reported before but it isn't exactly the same > and I don't see how to fix the problem anyway. > > I am connecting from both these win2k systems uisng 'xwin -query > ' to a linux Slackware 9.1 system on my local (home) network. > I have also got another X server available to me, X-Win32 but I'd > prefer to use cygwin as it's free and otherwise I keep having to pay > for upgrades to X-Win32. > > The problem is that when I connect using cygwin/xfree the auto-repeat > is set to silly values, if I do an 'xset -q' I get:- > > auto repeat: onkey click persent: 0LED mask: 00 > auto repeat delay: 100repeat rate: 10 > > > That auto repeat delay is much too short. XWin tries to set the repeat rate to something similar to the windows repeat rate. This is noted in the configfile. Maybe the session scripts of the linux host set the repeat rate to a bogus value. You can verify this by starting xwin without the query paramter and run "DISPLAY=:0.0 xset -q" from windows. This should print the default setting. bye ago NP: grauzone.03-12-14 -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Keyboard auto-repeat defaults when using 'xwin -query '
On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote: > Chris, > > Chris Green wrote: > >The problem is that when I connect using cygwin/xfree the auto-repeat > >is set to silly values, if I do an 'xset -q' I get:- > > > >auto repeat: onkey click persent: 0LED mask: 00 > >auto repeat delay: 100repeat rate: 10 > > > > > >That auto repeat delay is much too short. > Thanks for the response and for treating me gently, I'm just feeling my way in cygwin/X although I have been using Unix/Linux for many years (since the early 1980s in fact). > When running locally, I get: > > Keyboard Control: > auto repeat: onkey click percent: 0LED mask: > auto repeat delay: 500repeat rate: 31 > auto repeating keys: 00ffdbbf > fadfffdffdff > > > bell percent: 50bell pitch: 400bell duration: 100 > Just about exactly what I get except for the auto repeat delay values which I reported above. > When logged into a remote machine via -query I get exactly the same > values. I do not have an XF86Config file, and I am not passing any of > the following command-line parameters to XWin.exe: > > == > The X Keyboard Extension adds the following arguments: > -kbdisable the X Keyboard Extension > +kbenable the X Keyboard Extension > [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] >enable/disable accessx key sequences > -ar1 set XKB autorepeat delay > -ar2 set XKB autorepeat interval > > [...] > > -xf86config > Specify a configuration file. > == > I'm running using a copy of startxwin.bat with the XWIn start line set to "start XWin -query server". I have no XF86Config either. > My /tmp/XWin.log file has the following: > > == > (--) Setting autorepeat to delay=500, rate=31 > (--) winConfigKeyboard - Layout: "0409" (0409) > (EE) No primary keyboard configured > (==) Using compiletime defaults for keyboard > Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" > Options = "(null)" > == > > Could you please confirm that you are not passing any additional args to > XWin.exe, then send in your XWin.log files from both a local session and > from a session when you use -query to connect to a remote machine? That > should help us to investigate the problem. > The remote XWin.log file is:- ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600 winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 3188 winAllocateFBShadowDDNL - Created shadow pitch: 3188 winAllocateFBShadowDDNL - Created shadow stride: 1594 winFinishScreenInitFB - Masks: f800 07e0 001f winInitVisualsShadowDDNL - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. MIT-SHM extension disabled due to lack of kernel support XFree86-Big
Re: Keyboard auto-repeat defaults when using 'xwin -query '
Chris, Chris Green wrote: The problem is that when I connect using cygwin/xfree the auto-repeat is set to silly values, if I do an 'xset -q' I get:- auto repeat: onkey click persent: 0LED mask: 00 auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. When running locally, I get: Keyboard Control: auto repeat: onkey click percent: 0LED mask: auto repeat delay: 500repeat rate: 31 auto repeating keys: 00ffdbbf fadfffdffdff bell percent: 50bell pitch: 400bell duration: 100 When logged into a remote machine via -query I get exactly the same values. I do not have an XF86Config file, and I am not passing any of the following command-line parameters to XWin.exe: == The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kbenable the X Keyboard Extension [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ] enable/disable accessx key sequences -ar1 set XKB autorepeat delay -ar2 set XKB autorepeat interval [...] -xf86config Specify a configuration file. == My /tmp/XWin.log file has the following: == (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: "0409" (0409) (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" == Could you please confirm that you are not passing any additional args to XWin.exe, then send in your XWin.log files from both a local session and from a session when you use -query to connect to a remote machine? That should help us to investigate the problem. Harold
Keyboard auto-repeat defaults when using 'xwin -query '
I have a odd problem with the keyboard auto-repeat setup. I have two verions of cygwin/xfree installed on two different win2k computers and the problem is the same on both. One has the latest cygwin/xfree (just downloaded) and the other has a version from a few months ago. I have searched through the mailing list archive and see that a similar problem has been reported before but it isn't exactly the same and I don't see how to fix the problem anyway. I am connecting from both these win2k systems uisng 'xwin -query ' to a linux Slackware 9.1 system on my local (home) network. I have also got another X server available to me, X-Win32 but I'd prefer to use cygwin as it's free and otherwise I keep having to pay for upgrades to X-Win32. The problem is that when I connect using cygwin/xfree the auto-repeat is set to silly values, if I do an 'xset -q' I get:- auto repeat: onkey click persent: 0LED mask: 00 auto repeat delay: 100repeat rate: 10 That auto repeat delay is much too short. On the other hand when I connect using X-Win32 I get:- auto repeat: onkey click persent: 0LED mask: 00 with no 'auto repeat delay' value at all, i.e. X-Win32 doesn't seem to have attempted to set the auto repeat delay or repeat rate at all and thus I'm left with the existing keyboard settings which are fine. It would appear that cygwin/xfree *is* setting the auto repeat delay and speed whereas X-Win32 isn't. If it is setting these where are the default values? If it isn't then what is going on? I know I can fix it by using 'xset' but this seems a bit of a bodge, I'd rather do it properly. -- Chris Green ([EMAIL PROTECTED])
Cygwin/Xfree & fontpath problems (was Re: XWin --query)
>Subject: Re: XWin --query >From: Harold L Hunt II msu.edu> >Date: Mon, 13 Oct 2003 13:34:50 -0400 >Newsgroups: gmane.os.cygwin.xfree >Reply-to: cygwin-xfree cygwin.com >Pavel Rosenboim wrote: >> Greg Freemyer wrote: >>>I have not installed any new hardware, and both server and client >>>machines have only one NIC. (Both are standard wired NICs.) >>> >>>I did update the Linux box with the latest patches recently, >>>that may be causing the problem, but somehow I think it is the >>>cygwin/xfree86 end. >> >>Is it possible that kdm configuration got overwritten, and now it >>does not allow connections from remote hosts? > >I was thinking the same thing. > >Greg --- Please check the following FAQ entry for information on how >to make sure that kdm/gdm/xdm are allowing remote logins: > >http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdm cp Hi everyone, I'd like to update/correct David's explanation in the FAQ: > [David Dawson] For whatever reason, certain versions of Solaris > need fonts that are not provided by Cygwin/XFree86; the result > is that you may see the Solaris background tile and the hourglass > cursor, but the XDM login prompt will never appear. The problem is not with the fonts it is that Cygwin/Xfree currently dumps core when both local fonts and a font server are used. I stumbled over a similar bug that Pavel had. I was trying to setup cygwin/Xfree to connect to my solaris 8 server. I was able to narrow the bug down to a problem that Xfree has with using both local fonts & a font server. Xfree works fine using either local fonts or a font server, but blows chunks when using both. If only local fonts are used, Xfree will core dump when "xset fp+" is used to add or reset a font server to the fontpath. Adding local font directories to the fontpath works OK. If the fontpath contains only font servers adding other font servers works but adding any local fonts will cause a core dump. The specific problem with Solaris is that the dtlogin script Xsetup runs "xset fp+ tcp/sunserver:7100" for all remote clients by default in /usr/dt/config/Xsetup. I assume a that a similar problem is present in Linux but do not have a box handy to check. Running "XWin -fp tcp/sunserver:7100" avoids the problem because this explicitly sets the fontpath so that no local fonts are used but Xsetup adds the font server a second time anyway. My workaround was to comment out the xset fp+ line & use only the local fonts, but the best thing to do would be to track down the reason Xfree is dumping core & fix it. Until this is done, it might be a good idea to update the FAQ. Cheers, Pat Chef de Projet: Administration de Systèmes d'Information AMEC SPIE Communications - ELONA 102, rue Etienne Dolet 92245 Malakoff Cedex Tel: +33 (0) 1 46 73 80 20 Gsm: +33 (0) 6 74 09 26 27 Fax: +33 (0) 1 46 73 90 09 Email: Patrick.Hayes amec_cut_this_out_to_reply_spie.com Web: www.amecspie.com
Re: XWin --query
On Thu, 2003-10-16 at 12:28, Greg Freemyer wrote: > On Wed, 2003-10-15 at 16:49, Sylvain Petreolle wrote: > > Just to be sure: are you using the correct option : > > XWin -query dmcphost (good) > > > > not > > > > XWin --query dmcphost (bad) ? > > I invoke this via a shell script, and yes the script had a single -. > > Greg > I upgraded to the latest cygwin xfree-bin and xfree-progs. All works again. Must have been a problem relating to the cygwin 1.5 transition. Greg
Re: XWin --query
On Wed, 2003-10-15 at 16:49, Sylvain Petreolle wrote: > Just to be sure: are you using the correct option : > XWin -query dmcphost (good) > > not > > XWin --query dmcphost (bad) ? I invoke this via a shell script, and yes the script had a single -. Greg
Re: XWin --query
Just to be sure: are you using the correct option : XWin -query dmcphost (good) not XWin --query dmcphost (bad) ? > > Has there been a security change that now requires xhosts +node to be > run somehow with the XWin --query command? > > Greg > -- > Greg Freemyer > = Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) ICQ #170597259 Say NO to software patents Dites NON aux brevets logiciels "What if tomorrow the War could be over ?" Morpheus, in "Reloaded". ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
Re: XWin --query
Greg, I think you need to either attempt to connect from another Windows machine to the same linux box with XDMCP, or you need to attempt to connect to another remote linux machine using XDMCP from the same Windows box. You need to prove to yourself that the problem is on one end or the other. Harold Greg Freemyer wrote: On Mon, 2003-10-13 at 13:14, Pavel Rosenboim wrote: Greg Freemyer wrote: I have not installed any new hardware, and both server and client machines have only one NIC. (Both are standard wired NICs.) I did update the Linux box with the latest patches recently, that may be causing the problem, but somehow I think it is the cygwin/xfree86 end. Is it possible that kdm configuration got overwritten, and now it does not allow connections from remote hosts? Pavel. I have used ethereal on the linux box to monitor the tcp/ip traffic. The remote connection is allowed, but when the linux box tries to connect back to the cygwin/xfree86 box, its messages seem to be ignored. I am not running any kind of firewall on the cygwin/xfree86 box and they are on a common LAN. It seems almost like I need to issue a 'xhosts +node' on the cygwin box, but I have not done that in the past and the cygwin box is not rejecting the linux box, it is just ignoring it from what I see. Has there been a security change that now requires xhosts +node to be run somehow with the XWin --query command? Greg
Re: XWin --query
On Mon, 2003-10-13 at 13:14, Pavel Rosenboim wrote: > Greg Freemyer wrote: > > > I have not installed any new hardware, and both server and client > > machines have only one NIC. (Both are standard wired NICs.) > > > > I did update the Linux box with the latest patches recently, that may be > > causing the problem, but somehow I think it is the cygwin/xfree86 end. > > Is it possible that kdm configuration got overwritten, and now it does > not allow connections from remote hosts? > > Pavel. > I have used ethereal on the linux box to monitor the tcp/ip traffic. The remote connection is allowed, but when the linux box tries to connect back to the cygwin/xfree86 box, its messages seem to be ignored. I am not running any kind of firewall on the cygwin/xfree86 box and they are on a common LAN. It seems almost like I need to issue a 'xhosts +node' on the cygwin box, but I have not done that in the past and the cygwin box is not rejecting the linux box, it is just ignoring it from what I see. Has there been a security change that now requires xhosts +node to be run somehow with the XWin --query command? Greg -- Greg Freemyer
Re: XWin --query
Pavel, Pavel Rosenboim wrote: Greg Freemyer wrote: I have not installed any new hardware, and both server and client machines have only one NIC. (Both are standard wired NICs.) I did update the Linux box with the latest patches recently, that may be causing the problem, but somehow I think it is the cygwin/xfree86 end. Is it possible that kdm configuration got overwritten, and now it does not allow connections from remote hosts? I was thinking the same thing. Greg --- Please check the following FAQ entry for information on how to make sure that kdm/gdm/xdm are allowing remote logins: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdmcp Harold
Re: XWin --query
Greg Freemyer wrote: I have not installed any new hardware, and both server and client machines have only one NIC. (Both are standard wired NICs.) I did update the Linux box with the latest patches recently, that may be causing the problem, but somehow I think it is the cygwin/xfree86 end. Is it possible that kdm configuration got overwritten, and now it does not allow connections from remote hosts? Pavel. Greg -- Greg Freemyer On Fri, 2003-10-10 at 20:15, Harold L Hunt II wrote: > Did you also just get a wireless networking card or another network > card? The reason I am asking is that you may now need to use the -from > parameter to indicate the return address that should be sent to the > remote machine. Please indicate if you have only one network card. > > Harold > > Greg Freemyer wrote: > > I have been using "XWin --query node_name" for a while. > > > > Last week I updated to the currently released cygwin and xfree86 > > binaries. > > > > The XWin --query is now only bringing up a X display, but it is not > > showing the KDM login screen I'm used to seeing. > > > > If I look on the Linux box I'm querying, I see that it is trying to > > connect back to the cygwin/xfree box, but it is unable to open the > > display. > > > > Do I need to do somethnig else? > > > > Greg >
Re: XWin --query
I have not installed any new hardware, and both server and client machines have only one NIC. (Both are standard wired NICs.) I did update the Linux box with the latest patches recently, that may be causing the problem, but somehow I think it is the cygwin/xfree86 end. Greg -- Greg Freemyer On Fri, 2003-10-10 at 20:15, Harold L Hunt II wrote: > Did you also just get a wireless networking card or another network > card? The reason I am asking is that you may now need to use the -from > parameter to indicate the return address that should be sent to the > remote machine. Please indicate if you have only one network card. > > Harold > > Greg Freemyer wrote: > > I have been using "XWin --query node_name" for a while. > > > > Last week I updated to the currently released cygwin and xfree86 > > binaries. > > > > The XWin --query is now only bringing up a X display, but it is not > > showing the KDM login screen I'm used to seeing. > > > > If I look on the Linux box I'm querying, I see that it is trying to > > connect back to the cygwin/xfree box, but it is unable to open the > > display. > > > > Do I need to do somethnig else? > > > > Greg >
Re: XWin --query
Did you also just get a wireless networking card or another network card? The reason I am asking is that you may now need to use the -from parameter to indicate the return address that should be sent to the remote machine. Please indicate if you have only one network card. Harold Greg Freemyer wrote: I have been using "XWin --query node_name" for a while. Last week I updated to the currently released cygwin and xfree86 binaries. The XWin --query is now only bringing up a X display, but it is not showing the KDM login screen I'm used to seeing. If I look on the Linux box I'm querying, I see that it is trying to connect back to the cygwin/xfree box, but it is unable to open the display. Do I need to do somethnig else? Greg
XWin --query
I have been using "XWin --query node_name" for a while. Last week I updated to the currently released cygwin and xfree86 binaries. The XWin --query is now only bringing up a X display, but it is not showing the KDM login screen I'm used to seeing. If I look on the Linux box I'm querying, I see that it is trying to connect back to the cygwin/xfree box, but it is unable to open the display. Do I need to do somethnig else? Greg -- Greg Freemyer
Re: non us keyboards with cygwin, xfree86, Xwin -query XDMCP
> On Tue, 2 Sep 2003, pbs wrote: > gives the error: > Couldn't load XKB keymap, falling back to pre-XKB keymap Well I've worked that one out from another post in the archive: : These files should reside in /etc/X11/xkb and there should be a symlink to : this directory at /usr/X11R6/lib/X11/xkb. If you don't have these files : I'd suggest reinstalling the XFree packages with the cygwin setup. The : XFree86-etc packaged should contain the files. The symbolic link /usr/X11R6/lib/X11/xkb was broken. I've fixed it and the error message Couldn't load XKB keymap, falling back to pre-XKB keymap has gone away. Without a config file, the log file now reads: (==) Using preset keyboard for "English (United Kingdom)" (0809), type "4" (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard BUT the characters at the login prompt are still US :-( On Tue, 2 Sep 2003, Alexander Gottwald wrote: > On Tue, 2 Sep 2003, pbs wrote: > >> Setup an out of the box cygwin installation with Xfree86 >> bash-prompt$ uname -a >> CYGWIN_95-4.0 local_host 1.3.22(0.78/3/2) 2003-03-18 09:20 i586[snip] > > Which version of XFree86 is installed? > > cygcheck -c XFree86-bin > cygcheck -c XFree86-etc Cygwin Package Information Package Version XFree86-bin 4.2.0-3 Cygwin Package Information Package Version XFree86-etc 4.2.0-1 > > >> The log file "/tmp/XWinrl.log" contains the following error: >>(==) Using preset keyboard for "English (United Kingdom)" (0809), >> type "4" > > The configfile is not required. Your keyboard layout is preconfigured in > the xserver. Thanks for the info I've moved the config file out of the way. [snip] > is /tmp mounted in textmode? I have no idea what this means. (I'll RTFM) Ah! I see! How I dislike the VMS way of doing things! > mount -b c:/windows/temp /tmp > > is the layout correct after switching to binmode? Yes it works keys are what I expect them to be :-) Thanks for your help. It is much appreciated. Regards Philip
Re: non us keyboards with cygwin, xfree86, Xwin -query XDMCP
On Tue, 2 Sep 2003, pbs wrote: > Setup an out of the box cygwin installation with Xfree86 > bash-prompt$ uname -a > CYGWIN_95-4.0 local_host 1.3.22(0.78/3/2) 2003-03-18 09:20 i586[snip] Which version of XFree86 is installed? cygcheck -c XFree86-bin cygcheck -c XFree86-etc > The log file "/tmp/XWinrl.log" contains the following error: >(==) Using preset keyboard for "English (United Kingdom)" (0809), > type "4" The configfile is not required. Your keyboard layout is preconfigured in the xserver. >(EE) No primary keyboard configured >(==) Using compiletime defaults for keyboard >Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)" > Options = "(null)" > Couldn't load XKB keymap, falling back to pre-XKB keymap is /tmp mounted in textmode? is the layout correct after switching to binmode? mount -b c:/windows/temp /tmp bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
non us keyboards with cygwin, xfree86, Xwin -query XDMCP
Setup an out of the box cygwin installation with Xfree86 bash-prompt$ uname -a CYGWIN_95-4.0 local_host 1.3.22(0.78/3/2) 2003-03-18 09:20 i586[snip] Question Short version: -- With or without: /etc/x11/XF86Config-4 installed with Option "XkbLayout" "gb" gives the error: Couldn't load XKB keymap, falling back to pre-XKB keymap What do I have to do to get Xwin.exe to read the gb XKB keymap? Question Long version: -- My cygwin bash pompt is configured for a "gb" keyboard -- If I press the @ key I get an "@". If I run the following command from a bash prompt Xwin.exe -emulate3buttons -query remote_host & The log file "/tmp/XWinrl.log" contains the following error: (==) Using preset keyboard for "English (United Kingdom)" (0809), type "4" (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)" Couldn't load XKB keymap, falling back to pre-XKB keymap If I open an xterm and press the "@" key I get a double quote key -- which is to be expected with the above error as it is what a US key mapping gives. I have gone throught archive and the previous thread which came closes to answering my question was: the post by Alexander Gottwald http://sources.redhat.com/ml/cygwin-xfree/2003-02/msg00185.html with a URL to a minimal XF86Config http://www.tu-chemnitz.de/~goal/xfree/XF86Config.bz2 I have installed the file as /etc/x11/XF86Config-4 then uncommented and modified the lines # Option "XkbRules" "xfree86" # Option "XkbModel" "pc105" # Option "XkbLayout" "de" to Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "gb" Now when I run: Xwin.exe -emulate3buttons -query remote_host & The log file contains: [snip] (==) Using config file: "/etc/X11/XF86Config-4" [snip] (==) Using preset keyboard for "English (United Kingdom)" (0809), type "4" (**) Using keyboard "Keyboard1" as primary keyboard (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "gb" (**) XKB: layout: "gb" Rules = "xfree86" Model = "pc105" Layout = "gb" Variant = "(null)" Options = "(null)" Couldn't load XKB keymap, falling back to pre-XKB keymap What do I have to do to get Xwin.exe to read the gb XKB keymap? BTW: Yes I know that I can run xmodmap as a client application. But I would like to get the correct keyboard into the server without doing this, so that the remote login clients(s) have access to the correct key bindings. Regards Philip
xmodmap with XWin -query
Scanning mail archives I didn't find something helpful starting XWin with an option for other than an US-keyboard when starting XWin with the "-query remotehost" - option=20 to access a remote xdm-login. Since my experience is negligible I need a somewhat=20 detailed description. Up to now I tried to launch xmodmap xmodmap.de and setxkbmap de. putting those commands into the script before the XWin-command leads to "unable to open display"- message. Putting it after the XWin-command leads to=20 execution after termination. starting XWin with &-option also doesn't work. Both variants work fine starting XWin with a local Window manager. Any suggestions? dirk Dr. Dirk Schlatterbeck Product Development UV- and Waterbased Varnishes/Adhesives Office Address: Schmid Rhyner AG Print Finishing Soodring 29 CH-8134 Adliswil tel: +41 1 71 26-273 fax: +41 1 709 08 04 e-mail: [EMAIL PROTECTED] www.schmid-rhyner.ch
Re: xwinclip-Test07 does not work with XWin -query
Your advice consists of ``it would be better if someone had some time to polish some rough edges in xwinclip.'' Are you suggesting that you have some time to polish those rough edges? As you said yourself, none of it is hard to do. Harold Joo-won Jung wrote: Sanori, Let me tell you, I wrote xwinclip and I still don't fully understand how to make it work well when using -query. I can tell you that running xhost on your Windows machine won't help anything. What you need to do is run xhost in a terminal that is running within your -query session. That should setup XWin.exe on your machine to accept connections from local clients. The reason you can run xhost on your Windows machine is that not even xhost has permission to connect to XWin.exe at that point, so xhost cannot modify the access control list. I know that only the clients on XDM host have control on control list of the X server when I run X with '-query' option, and I did so. I hope that helps, let us know if it does. Harold Now I found the problem. xwinclip.exe does not process '-display' option. I found this after seeing the source code of xwinclip. I think it would be better if xwinclip process '-display' option as other X clients do, or give error message if the option is not recognized. (Someone may say that it's the bash's fault since bash does not set DISPLAY environment variable.) I tried 'export DISPLAY=:0' and 'xwinclip' instead of doing 'xwinclip -display :0', then it works. Of course, I did 'xhost win_host_name' on the terminal before doing this. One more feature request: It would be better if the option for silent or designate the log file. Anyway, thank you for xwinclip. It helps me a lot. I hope my tip help others. -Sanori -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joo-won Jung Sent: Sunday, January 05, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: xwinclip-Test07 does not work with XWin -query Hello list, Thank you, the developers and users of XFree86-cygwin. Most of the cases XFree86-cygwin works fine on my computer. But, I want to tell a problem that I have got in stuck. I'm using Windows XP. I succeeded copy&paste text between Windows and X window using xwinclip. But I failed copy&paste when I start X with -query option. The error messages of xwinclip is as follows: UnicodeSupport - Windows NT/2000/XP Could not open display, try: 1, sleeping: 4 Could not open display, try: 2, sleeping: 4 Could not open display, try: 3, sleeping: 4 Failed opening the display, giving up I added my host to X control list, using "xhost" and tried "xwinclip -display :0" but it gives same error message. Since "xclipboard -display :0" worked, I bet I did not wrong in X control list. I don't know how the xwinclip.exe works. Please give me some information or pointers about this problem. -Sanori
RE: xwinclip-Test07 does not work with XWin -query
> Sanori, > > Let me tell you, I wrote xwinclip and I still don't fully understand how to > make it work well when using -query. > > I can tell you that running xhost on your Windows machine won't help > anything. What you need to do is run xhost in a terminal that is running > within your -query session. That should setup XWin.exe on your machine to > accept connections from local clients. The reason you can run xhost on your > Windows machine is that not even xhost has permission to connect to XWin.exe > at that point, so xhost cannot modify the access control list. I know that only the clients on XDM host have control on control list of the X server when I run X with '-query' option, and I did so. > I hope that helps, let us know if it does. > > Harold Now I found the problem. xwinclip.exe does not process '-display' option. I found this after seeing the source code of xwinclip. I think it would be better if xwinclip process '-display' option as other X clients do, or give error message if the option is not recognized. (Someone may say that it's the bash's fault since bash does not set DISPLAY environment variable.) I tried 'export DISPLAY=:0' and 'xwinclip' instead of doing 'xwinclip -display :0', then it works. Of course, I did 'xhost win_host_name' on the terminal before doing this. One more feature request: It would be better if the option for silent or designate the log file. Anyway, thank you for xwinclip. It helps me a lot. I hope my tip help others. -Sanori > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Joo-won Jung > Sent: Sunday, January 05, 2003 8:49 AM > To: [EMAIL PROTECTED] > Subject: xwinclip-Test07 does not work with XWin -query > > > Hello list, > > Thank you, the developers and users of XFree86-cygwin. > Most of the cases XFree86-cygwin works fine on my computer. > But, I want to tell a problem that I have got in stuck. > > I'm using Windows XP. I succeeded copy&paste text between Windows > and X window using xwinclip. But I failed copy&paste when I start X > with -query option. The error messages of xwinclip is as follows: > > UnicodeSupport - Windows NT/2000/XP > Could not open display, try: 1, sleeping: 4 > Could not open display, try: 2, sleeping: 4 > Could not open display, try: 3, sleeping: 4 > Failed opening the display, giving up > > I added my host to X control list, using "xhost" and tried > "xwinclip -display :0" but it gives same error message. > Since "xclipboard -display :0" worked, I bet I did not wrong > in X control list. > > I don't know how the xwinclip.exe works. > Please give me some information or pointers about this problem. > > -Sanori
RE: xwinclip-Test07 does not work with XWin -query
Sanori, Let me tell you, I wrote xwinclip and I still don't fully understand how to make it work well when using -query. I can tell you that running xhost on your Windows machine won't help anything. What you need to do is run xhost in a terminal that is running within your -query session. That should setup XWin.exe on your machine to accept connections from local clients. The reason you can run xhost on your Windows machine is that not even xhost has permission to connect to XWin.exe at that point, so xhost cannot modify the access control list. I hope that helps, let us know if it does. Harold -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joo-won Jung Sent: Sunday, January 05, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: xwinclip-Test07 does not work with XWin -query Hello list, Thank you, the developers and users of XFree86-cygwin. Most of the cases XFree86-cygwin works fine on my computer. But, I want to tell a problem that I have got in stuck. I'm using Windows XP. I succeeded copy&paste text between Windows and X window using xwinclip. But I failed copy&paste when I start X with -query option. The error messages of xwinclip is as follows: UnicodeSupport - Windows NT/2000/XP Could not open display, try: 1, sleeping: 4 Could not open display, try: 2, sleeping: 4 Could not open display, try: 3, sleeping: 4 Failed opening the display, giving up I added my host to X control list, using "xhost" and tried "xwinclip -display :0" but it gives same error message. Since "xclipboard -display :0" worked, I bet I did not wrong in X control list. I don't know how the xwinclip.exe works. Please give me some information or pointers about this problem. -Sanori
xwinclip-Test07 does not work with XWin -query
Hello list, Thank you, the developers and users of XFree86-cygwin. Most of the cases XFree86-cygwin works fine on my computer. But, I want to tell a problem that I have got in stuck. I'm using Windows XP. I succeeded copy&paste text between Windows and X window using xwinclip. But I failed copy&paste when I start X with -query option. The error messages of xwinclip is as follows: UnicodeSupport - Windows NT/2000/XP Could not open display, try: 1, sleeping: 4 Could not open display, try: 2, sleeping: 4 Could not open display, try: 3, sleeping: 4 Failed opening the display, giving up I added my host to X control list, using "xhost" and tried "xwinclip -display :0" but it gives same error message. Since "xclipboard -display :0" worked, I bet I did not wrong in X control list. I don't know how the xwinclip.exe works. Please give me some information or pointers about this problem. -Sanori
French keyboard : XWin -query
Hello, I try to replace Exceed by Xfree86 in my department of research. In my .bat file, I generate a keymap and I connect to a hostname parameter (see after). So, at the login windows, my keyboard is french and so during my session. But, the ALT GR doesn't work. So we can't use XFree86, because our scientists need ~ { [ | \ ] } in their programs or in their Matlab session. What is your solution for this problem ? Thanks. REM Windows NT/2000 echo startxwin.bat - Starting on Windows NT/2000 REM -- REM Generate a compiled keymap file as output (.xkm extension) REM -- xkbcomp.exe -xkm -m fr /etc/X11/xkb/keymap/xfree86 /tmp/fr.xkm REM -- REM Connection to %1 Unix Server REM -- start /B XWin :0 -xkbmap fr -query %1 -screen 0 1024 768 REM -- pause :END pause :END A+ Nadine