From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7732 invoked by alias); 2 Dec 2003 03:36:51 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 7679 invoked from network); 2 Dec 2003 03:36:49 -0000 Received: from unknown (HELO tht.net) (216.126.88.2) by sources.redhat.com with SMTP; 2 Dec 2003 03:36:49 -0000 Received: from bunker.dijitalconceptions.com (static-90-26.dsl.tht.net [216.126.90.26]) by tht.net (Postfix) with ESMTP id E942376A06 for ; Mon, 1 Dec 2003 22:36:52 -0500 (EST) Received: from mail pickup service by bunker.dijitalconceptions.com with Microsoft SMTPSVC; Mon, 1 Dec 2003 22:36:46 -0500 x-gfisavedcharset: US-ASCII Content-Type: text/plain; charset="us-ascii" Received: from commandcenter.dijitalconceptions.com ([192.168.0.2]) by bunker.dijitalconceptions.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Dec 2003 22:36:43 -0500 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: RE: xwin on cygwin - cannot connect X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Date: Tue, 02 Dec 2003 03:36:00 -0000 Message-ID: <071B78D196015846A511D2EA6540766D0209EB@commandcenter.dijitalconceptions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Andrew Leung" To: X-OriginalArrivalTime: 02 Dec 2003 03:36:43.0217 (UTC) FILETIME=[8112F410:01C3B885] X-SW-Source: 2003-12/txt/msg00008.txt.bz2 List-Id: Hey Harold, thanks for the help. I've got it working now! -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II Sent: Sunday, November 30, 2003 8:09 PM To: cygwin-xfree@cygwin.com Subject: Re: xwin on cygwin - cannot connect What are the exact flags you are passing to XWin.exe? Please copy and=20 paste them so that there are no transcription errors. Harold Andrew Leung wrote: > K actually the flag was enabled already - I must have forgotten to > restart it after making those changes. After doing that, here's some > changes in the logs - the IP you see there is ip of the linux box. > Also, I was watching top closely during the connection attempt, and > found kdmgreeter process popon for maybe 5 seconds, and then disappear > off the list.. is that indicative of anything? >=20 >=20 > ddxProcessArgument - Initializing default screens > winInitializeDefaultScreens - w 1024 h 768 > winInitializeDefaultScreens - Returning > OsVendorInit - Creating bogus screen 0 > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > (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 0000001f > InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 > winSetEngine - Using Shadow DirectDraw NonLocking > winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits > per pixel > winCreateBoundingWindowWindowed - User w: 1024 h: 768 > winCreateBoundingWindowWindowed - Current w: 1024 h: 768 > winAdjustForAutoHide - Original WorkArea: 0 100 718 1024 > winAdjustForAutoHide - Adjusted WorkArea: 0 100 718 1024 > winCreateBoundingWindowWindowed - WindowClient w 918 h 693 r 918 l 0 b > 693 t 0 > winCreateBoundingWindowWindowed - Returning > winCreatePrimarySurfaceShadowDDNL - Creating primary surface > winCreatePrimarySurfaceShadowDDNL - Created primary surface > winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface > winAllocateFBShadowDDNL - lPitch: 3672 > winAllocateFBShadowDDNL - Created shadow pitch: 3672 > winAllocateFBShadowDDNL - Created shadow stride: 918 > winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff > winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 > bpp 32 > winCreateDefColormap - Deferring to fbCreateDefColormap () > winFinishScreenInitFB - returning > winScreenInit - returning > InitOutput - Returning. > MIT-SHM extension disabled due to lack of kernel support > XFree86-Bigfont extension local-client optimization disabled due to lack > of shared memory support in the kernel > (=3D=3D) winConfigKeyboard - Layout: "00000409" (00000409)=20 > (EE) No primary keyboard configured > (=3D=3D) Using compiletime defaults for keyboard > Rules =3D "xfree86" Model =3D "pc101" Layout =3D "us" Variant =3D "(null)" > Options =3D "(null)" > winPointerWarpCursor - Discarding first warp: 459 346 > winBlockHandler - Releasing pmServerStarted > winBlockHandler - pthread_mutex_unlock () returned >=20=20 > AUDIT: Sun Nov 30 19:59:45 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1024 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 19:59:46 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1025 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 19:59:50 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1026 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 19:59:55 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1027 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 20:00:02 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1028 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 20:00:11 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1029 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 > AUDIT: Sun Nov 30 20:00:22 2003: 2708 XWin: client 6 rejected from IP > 192.168.0.4 port 1030 > Auth name: MIT-MAGIC-COOKIE-1 ID: -1 >=20 >=20 >=20 > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II > Sent: Sunday, November 30, 2003 7:06 PM > To: cygwin-xfree@cygwin.com > Subject: Re: xwin on cygwin - cannot connect >=20 > Andrew, >=20 > Oops, forgot to check the basics. XDMCP is not enabled by default on=20 > most Linux distributions these days. See below for information on how > to enable it: >=20 > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1- > xdmcp >=20 > Make sure that you either restart gdm (drop to runlevel 3, then go back=20 > to runlevel 5) or just restart the Linux machine to make sure that the > XDMCP enable flag is read. Then do your test again. >=20 > Harold >=20 > Andrew Leung wrote: >=20 >=20 >>Harold, >> >>Yes that's the latest XWin.log off the cygwin installation. Then I >>suppose it's something on the linux box. Are there logs on there that >>would shed some light? I see that gdm is running from top command: >> >> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU >>COMMAND >> 2089 root 14 0 936 900 752 R 2.1 3.0 0:02 0 top >> 2092 root 11 0 10372 5276 1500 S 1.3 17.9 0:16 0 X >> 2060 root 11 0 896 740 660 S 0.7 2.5 0:00 0 sshd >> 6 root 10 0 0 0 0 SW 0.1 0.0 0:15 0 >>kupdated >> 2101 gdm 9 0 10968 10M 6736 S 0.1 37.3 0:26 0 >>gdmgreeter >> 1 root 9 0 80 52 44 S 0.0 0.1 0:04 0 init >> 2 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 >>keventd >> 3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 0 >>ksoftirqd_CPU >> 4 root 9 0 0 0 0 SW 0.0 0.0 0:33 0 >=20 > kswapd >=20 >>Login screen prompt is on the box. Am I in the right direction or >>something missing? >> >>-----Original Message----- >>From: cygwin-xfree-owner@cygwin.com >>[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II >>Sent: Sunday, November 30, 2003 1:27 AM >>To: cygwin-xfree@cygwin.com >>Subject: Re: xwin on cygwin - cannot connect >> >>Andrew, >> >>Hmm... the log file looks okay, you did try a failed connection, then=20 >>send in that XWin.log, right? >> >>I'm going to bed. Maybe someone else can help. >> >>Harold >> >>Andrew Leung wrote: >> >> >> >>>Thanks for the reply, here it is, This was my latest attempt, but >> >>now >> >> >>>it seems the checkered screen stays.. but with no change. It does not >>>disappear on me at this point.=20=20 >>> >>>ddxProcessArgument - Initializing default screens >>>winInitializeDefaultScreens - w 1024 h 768 >>>winInitializeDefaultScreens - Returning >>>OsVendorInit - Creating bogus screen 0 >>>_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root >>>(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 0000001f >>>InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 >>>winSetEngine - Using Shadow DirectDraw NonLocking >>>winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits >>>per pixel >>>winCreateBoundingWindowWindowed - User w: 1024 h: 768 >>>winCreateBoundingWindowWindowed - Current w: 1024 h: 768 >>>winAdjustForAutoHide - Original WorkArea: 0 100 718 1024 >>>winAdjustForAutoHide - Adjusted WorkArea: 0 100 718 1024 >>>winCreateBoundingWindowWindowed - WindowClient w 918 h 693 r 918 l 0 b >>>693 t 0 >>>winCreateBoundingWindowWindowed - Returning >>>winCreatePrimarySurfaceShadowDDNL - Creating primary surface >>>winCreatePrimarySurfaceShadowDDNL - Created primary surface >>>winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary >> >>surface >> >> >>>winAllocateFBShadowDDNL - lPitch: 3672 >>>winAllocateFBShadowDDNL - Created shadow pitch: 3672 >>>winAllocateFBShadowDDNL - Created shadow stride: 918 >>>winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff >>>winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d >> >>24 >> >> >>>bpp 32 >>>winCreateDefColormap - Deferring to fbCreateDefColormap () >>>winFinishScreenInitFB - returning >>>winScreenInit - returning >>>InitOutput - Returning. >>>MIT-SHM extension disabled due to lack of kernel support >>>XFree86-Bigfont extension local-client optimization disabled due to >> >>lack >> >> >>>of shared memory support in the kernel >>>(=3D=3D) winConfigKeyboard - Layout: "00000409" (00000409)=20 >>>(EE) No primary keyboard configured >>>(=3D=3D) Using compiletime defaults for keyboard >>>Rules =3D "xfree86" Model =3D "pc101" Layout =3D "us" Variant =3D "(null= )" >>>Options =3D "(null)" >>>winPointerWarpCursor - Discarding first warp: 459 346 >>>winBlockHandler - Releasing pmServerStarted >>>winBlockHandler - pthread_mutex_unlock () returned >>> >>> >>>-----Original Message----- >>>From: cygwin-xfree-owner@cygwin.com >>>[mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II >>>Sent: Sunday, November 30, 2003 1:09 AM >>>To: cygwin-xfree@cygwin.com >>>Subject: Re: xwin on cygwin - cannot connect >>> >>>Andrew, >>> >>>Andrew Leung wrote: >>> >>> >>> >>>>I've got cygwin on winxp machine - can't connect to the X server. >>> >>>When >>> >>> >>> >>>>using xwin.exe :0 -query the checkered screen quickly comes up >>>>and then disappears.. Anyone know whats happening? Also I remember >>>>someone mentioning that X shouldn't be running on the linux box when >>>>trying to connect. How do I stop this as the login screen loads up >>>>everytime I boot up? The machine is running slackware. I'm pretty >>> >>>sure >>> >>> >>> >>>>there's communication since tcpdumps show some responsive port 117 >>>>traffic.. Any help is appreciated, I'm new to linux so I'm not sure >>>>what to look for.. Thanks in advance. >>> >>> >>>Sounds like you have a font problem on your Windows machine. Please=20 >>>send in the contents of /tmp/XWin.log after a failed attempt to >> >>connect. >> >> >>>Harold >>> >>> >>> >>> >>> >> >> >> >> >> >> >=20 >=20 >=20 >=20 >=20