From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7856 invoked by alias); 1 Dec 2003 01:04:07 -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 7848 invoked from network); 1 Dec 2003 01:04:06 -0000 Received: from unknown (HELO tht.net) (216.126.88.2) by sources.redhat.com with SMTP; 1 Dec 2003 01:04:06 -0000 Received: from bunker.dijitalconceptions.com (static-90-26.dsl.tht.net [216.126.90.26]) by tht.net (Postfix) with ESMTP id 9B68276A2D for ; Sun, 30 Nov 2003 20:04:10 -0500 (EST) Received: from mail pickup service by bunker.dijitalconceptions.com with Microsoft SMTPSVC; Sun, 30 Nov 2003 20:04:04 -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); Sun, 30 Nov 2003 20:04:01 -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: Mon, 01 Dec 2003 01:04:00 -0000 Message-ID: <071B78D196015846A511D2EA6540766D0209E7@commandcenter.dijitalconceptions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Andrew Leung" To: X-OriginalArrivalTime: 01 Dec 2003 01:04:01.0035 (UTC) FILETIME=[01932DB0:01C3B7A7] X-SW-Source: 2003-12/txt/msg00001.txt.bz2 List-Id: 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? 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 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 -----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 Andrew, 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=20 to enable it: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1- xdmcp 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=20 XDMCP enable flag is read. Then do your test again. Harold Andrew Leung wrote: > Harold, >=20 > 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: >=20 > 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 kswapd >=20 > Login screen prompt is on the box. Am I in the right direction or > something missing? >=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 1:27 AM > To: cygwin-xfree@cygwin.com > Subject: Re: xwin on cygwin - cannot connect >=20 > Andrew, >=20 > Hmm... the log file looks okay, you did try a failed connection, then=20 > send in that XWin.log, right? >=20 > I'm going to bed. Maybe someone else can help. >=20 > Harold >=20 > Andrew Leung wrote: >=20 >=20 >>Thanks for the reply, here it is, This was my latest attempt, but >=20 > now >=20 >>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 >=20 > surface >=20 >>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 >=20 > 24 >=20 >>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 >=20 > lack >=20 >>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 >=20 > connect. >=20 >>Harold >> >> >> >> >> >=20 >=20 >=20 >=20 >=20 >=20