public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Andrew DeFaria <ADeFaria@Salira.com>
To: cygwin-xfree@cygwin.com
Subject: Re: not getting login using xdmcp
Date: Tue, 23 Dec 2003 07:26:00 -0000	[thread overview]
Message-ID: <bs883s$ull$1@sea.gmane.org> (raw)
In-Reply-To: <3FE78ED8.7030009@msu.edu>

[-- Attachment #1: Type: text/plain, Size: 4219 bytes --]

Harold L Hunt II wrote:

> Andrew,
>
> Andrew DeFaria wrote:
>
>> I have a similar problem. This is with a SuSE 8.2 installation. I had 
>> Mandrake 9.1 installed before and managed to get XDMCP working. Can't 
>> get it working with SuSE however and I'm pulling my hair out!
>>
>> I have nothing in my /var/log/messages nor /var/log/kdm.log files. 
>> I'm using:
>>
>> $ xwin -query sonslinux -from adefaria
>>
>> X comes up but no login dialog box. XWin.log is attached.
>>
>> Any help would be appreciated.
>
> How many network interfaces do you have?  

1

> Find out the IP address of the interface that is actually 
> communicating with sonslinux and make sure to specify that IP address 
> in the -from parameter.  If you give it the wrong IP, it will cause 
> the XDM serve to be unable to send messages back to XWin.exe

Retried it with my IP address. Same problem.

>> XDM: too many retransmissions
>
> This is your key log message from XWin.log.  The XDM support in 
> XWin.exe is generic to all X Servers, so you can google for this 
> message and try to find some help there.  My guess is that you either 
> have a problem with the return address being incorrect (as I talk 
> about above), or one of the following:
>
> 1) You have not enabled an XDM server on your Linux machine followed 
> by a restart.

I have (an aside, my understanding is that XDMCP runs on port 177. I try 
to telnet to port 177 and get connection refused. Guess this is not 
good). As you probably know XDMCP is not enabled by default. I have 
changed the config files to allow it (at least I think I have) and have 
not only restarted kdm but have rebooted the machine to no avail.

> 2) You could also just not be running you linux machine at the correct 
> run level, which would cause the XDM server to not even be started.

Sonslinux sits right next to me. I am logged into a kde session right 
now so I assume I'm at the proper run level.

> 3) You have not enabled remote XDMCP connections for the XDM server 
> that you are running (followed by a restart):
>
> http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdmcp 
>
>
> NOTE: The fact that the above link says "Mandrake" can be ignored... 
> it was originally written when Mandrake started defaulting XDMCP to 
> being disabled, which was closely followed by my realizing that almost 
> all distributions started doing this.

Yes. Let me read that and see what I find... (BTW this page answers my 
soon to be next question of why I can't XDMCP to the Solaris box - Need 
to use a font server! Thanks. BTW that XWin.log file may have been from 
my attempt to XDMCP to the Solaris box. I've attached a new XWin.log).

Enabled XDMCP in /opt/kde3/share/config/kdm/kdmrc (SuSE 8.2 - it's not 
listed in your table -perhaps you would like to update that).

Note I also found the following in /etc/X11/xdm/xdm-config:

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!
!DisplayManager.requestPort:    0

And as you can see I have commented that out. Both of these actions I 
have done a few days ago and have since restarted kdm and even rebooted 
sonslinux but the problem remains. This is why I'm pulling my hair out!

Additionally I made sure the following appears in 
/opt/kde3/share/config/Xaccess and /etc/X11/xdm/Xaccess:

# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#

*               CHOOSER BROADCAST       #any indirect host can get a chooser

Oh, BTW your link for Linux XDMCP HOWTO 
(http://www.linuxdoc.org/HOWTO/XDMCP-HOWTO/) when clicked yeilds:

Note:   You are trying to access The Linux Documentation Project website 
using an old (and unsupported) URL. Please update your bookmarks to use 
www.tldp.org <http://www.tldp.org> or en.tldp.org <http://en.tldp.org> 
(if you just need the English documentation). Click to go directly to 
the page you requested: http://en.tldp.org/HOWTO/XDMCP-HOWTO/
-- 
A truly wise man never plays leapfrog with a unicorn.

[-- Attachment #2: XWin.log --]
[-- Type: text/plain, Size: 2783 bytes --]

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
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: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winAdjustForAutoHide - Original WorkArea: 0 0 1126 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1126 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1095 r 1594 l 0 b 1095 t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 6376
winAllocateFBShadowDDNL - Created shadow pitch: 6376
winAllocateFBShadowDDNL - Created shadow stride: 1594
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
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409) 
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 797 547
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress

  reply	other threads:[~2003-12-23  2:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 13:00 baileymason
2003-12-17 14:53 ` Alexander Gottwald
2003-12-18  1:17   ` Igor Pechtchanski
2003-12-23  5:04     ` Andrew DeFaria
2003-12-23  5:45       ` Harold L Hunt II
2003-12-23  7:26         ` Andrew DeFaria [this message]
2003-12-23 11:41           ` Harold L Hunt II
2003-12-23 16:21           ` Takuma Murakami
2003-12-23 19:25             ` Takuma Murakami
2003-12-30  1:43 Not " Andrew DeFaria
2003-12-30  7:47 ` Greg Freemyer
2003-12-30 14:08 ` Harold L Hunt II
2003-12-31  2:16   ` Andrew DeFaria
2003-12-31 15:09 ` Takuma Murakami

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bs883s$ull$1@sea.gmane.org' \
    --to=adefaria@salira.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).