This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XDMCP Problems - Possible fix, please try


On Tuesday 06 January 2004 13:31, Andrew DeFaria wrote:
> Harold L Hunt II wrote:
> > Andrew DeFaria wrote:
...
> >> Well you see that's sorta the problem. In my distro (SuSE 8.2) it's
> >> at /opt/kde/share/config/kdm/kdmrc but the problem is that it already
> >> says true! In mine is says:

I'm running SuSE 8.2 too, and have just found out the following:

a) there are several kdmrc files (try 'locate kdmrc')
b) the one you want to edit is actually
/etc/opt/kde3/share/config/kdm/kdmrc
not the one under /opt
c) there is also a variable in /etc/sysconfig/displaymanger that may or may 
not be significant (DISPLAYMANAGER_REMOTE_ACCESS="no")

So:
1) Enable xdmcp in the kdmrc under /etc/...

2) Restart kdm with
# /etc/init.d/xdm restart
(yes, it really is xdm here)

3) Test service listening with:
# netstat -u -a -n -p | grep 177
Output should be:
udp     0   0 0.0.0.0:177      0.0.0.0:*    <pid>/kdm

4) If the above looks good, then test with
$ X -query localhost :1

5) If that works, then test from remote machine.

6) If the local (step 4) connect works, but not the remote connection, try 
editing the /etc/sysconfig/displaymanager file, and see if that helps.  Let 
us know if this modification is required.


Note to Harold et al:
Could we add /etc/opt/kde3/share/config/kdm/kdmrc for SuSE 8.2 to the known 
config files in FAQ 6.2?  (Perhaps a warning about the 'red herrings' in 
other locations too.)
Adding some info on how to test that [x|k|g]dm is working (my steps 3 and 4) 
to the FAQ may also be useful.  Note that the 'netstat' test is one that can 
be done remotely via ssh, and is very quick, whereas the 'X -query localhost 
:1' is probably best done when physical access to the machine is available.

I hope all this helps.

Cheers,

Rasjid.

-- 
Rasjid Wilcox
Canberra, Australia (UTC +11 hrs)
http://www.openminddev.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]