public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Pavel Rosenboim <pavelr@coresma.com>
To: cygwin-xfree@cygwin.com
Subject: Re: XWin works on Win2K but not on some WinXP clients
Date: Wed, 12 Nov 2003 15:18:00 -0000	[thread overview]
Message-ID: <3FB24F3F.1000101@coresma.com> (raw)
In-Reply-To: <BC1489C260F5D611A6A400508BB0929303AE719B@XCGVA007>

Woellert, Kirk D. wrote:

> Ok, the last post suggested that I try to run XDM in debug mode. In 
> order to
> do that you must drop out of the display manager. In order to do that you
> must change to run level 3 since there is no such thing as an XDM stop
> command.
> 
> I did the following:
> 
> telinit 3
> xdm -debug 10 -nodaemon
> telinit 5
> 
> I assumed I wanted to get back into the default run level 5. After doing 
> the
> above sequence of commands, it turns out that two displays get launched on
> my linux server. "0" which is the display that was dropped to run level 3,
> and "1" which is in run level 5. We get a msg that says hey display 0 is
> busy launching display 1. I don't think this was your guys intent. So I did
> the following:
> telinit 3
> xdm -debug 10 -nodaemon & (so I can keep my ssh window)
> 
> When we do this the guy on the Win2K box can no longer login, (no one else
> either). I hard reboot the linux box, and now the Win2K box can login.

XDM configuration is separate from that of GDM. If you want to be able 
to log in remotely with xdm, comment out the last line in 
/etc/X11/xdm/xdm-config

The original line should be
DisplayManager.requestPort:	0

Alternatively, you can edit file /etc/X11/gdm/gdm.conf, find [debug] 
section, and change Enable=false to Enable=true, and then just go to 
runlevel 5, or run gdm manually.

> 
> [root@gaia log]# cat xdm-errors
> xdm error (pid 1802): error 98 binding socket address 177
> 
> Fatal server error:
> Server is already active for display 0
>         If this server is no longer running, remove /tmp/.X0-lock
>         and start again.
> 
> 
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> Please report problems to xfree86@xfree86.org.
> 
> xdm error (pid 1802): server unexpectedly died
> xdm error (pid 1802): Server for display :0 can't be started, session
> disabled
> [root@gaia log]#
> 
> Some log file samples
> [root@gaia gdm]# ls
> :0.log  :0.log.1  :0.log.2  :0.log.3  :0.log.4  :1.log  :1.log.1  :1.log.2
> :1.log.3  :1.log.4
> 
> [root@gaia gdm]# cat :0.log
> 
> XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
> Release Date: 27 February 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
> Build Date: 27 February 2003
> Build Host: porky.devel.redhat.com
> 
>         Before reporting problems, check http://www.XFree86.Org/
>         to make sure that you have the latest version.
> Module Loader present
> OS Kernel: Linux version 2.4.20-20.9smp
> (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat
> Linu
> x 3.2.2-5)) #1 SMP Mon Aug 18 11:32:15 EDT 2003
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Wed Nov 12 08:44:36 2003
> (==) Using config file: "/etc/X11/XF86Config"
> [root@gaia gdm]#
> 
> [root@gaia gdm]# cat :0.log.4
> 
> Fatal server error:
> Server is already active for display 0
>         If this server is no longer running, remove /tmp/.X0-lock
>         and start again.
> 
> 
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> Please report problems to xfree86@xfree86.org.
> 
> I found  these files in /var/gdm, they are encrypted
> ares -WinXP box that won't get a login prompt
> dlvap- the Win2Kbox, he can login just great
> kirklaptop- the WinXP laptop that I tried to connect with a few posts back,
> won't get a login prompt
> ngc-d4o1xu3vg29- my WinXP system, won't get a login prompt
> [root@gaia gdm]# ls
> ares:0.Xauth  dlvap-7009132.ad.tasc.com:0.Xauth  kirklaptop:0.Xauth
> ngc-d4o1xu3vg29:0.Xauth  ngc-d4o1xu3vg29:1.Xauth
> 
> I have tried the following command:
> $ XWin :1 -query 137.51.14.130 -from 137.51.14.54
> IP of the WinXP box  for -from and no luck
> 
> The only difference between the Win2K box and the WinXP boxes that I have
> not mentioned so far is that the guy on the Win2K box is part of the
> corporate Windows domain, and all the other WinXP clients I have mentioned
> are not. I don't know if this makes a difference. >From my WinXP box in
> question, I can ping the linux box, I can SSH to the linux box, I can do a
> nslookup on the IP for the linux box. Here's my tracert from the XP box to
> the linux box:
> 
> C:\WINDOWS\system32>tracert 137.51.14.130
> Tracing route to 137.51.14.130 over a maximum of 30 hops
>   1     1 ms    <1 ms    <1 ms  137.51.14.130
> Trace complete.
> 
> Rember, this is my first time working with Cygwin. After installing a full
> Cygwin install, is there some configuration for the Xserver (my WinXP
> Xclient in this case) that I must do? Something you experts have overlooked
> since its so obvious. In my WinXP C:\Cygwin\etc folder thare two files,
> "hosts.allow" and "hosts.deny". Am I supposed to have done something with
> them? Are there other examples of something that needs configuring on the
> "client" side?
> 


  reply	other threads:[~2003-11-12 15:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12 15:01 Woellert, Kirk D.
2003-11-12 15:18 ` Pavel Rosenboim [this message]
2003-11-12 15:35 ` Harold L Hunt II
  -- strict thread matches above, loose matches on Subject: below --
2003-11-14 13:28 Woellert, Kirk D.
2003-11-14 13:48 ` Harold L Hunt II
2003-11-13 23:31 Woellert, Kirk D.
2003-11-13 23:45 ` Harold L Hunt II
2003-11-14 14:39 ` Alexander Gottwald
2003-11-13 13:17 Woellert, Kirk D.
2003-11-13 18:40 ` Harold L Hunt II
2003-11-11 15:51 Woellert, Kirk D.
2003-11-11 16:37 ` Alexander Gottwald
2003-11-11 16:54   ` Pavel Rosenboim
2003-11-12  2:46   ` Willem Riede
2003-11-11 13:31 Woellert, Kirk D.
2003-11-11 13:53 ` XWin " Harold L Hunt II
2003-11-11 13:58 ` Harold L Hunt II
2003-11-10 19:17 Woellert, Kirk D.
2003-11-10 19:36 ` XWin " Harold L Hunt II
2003-11-09 23:22 kirk woellert
2003-11-10 11:03 ` Alexander Gottwald

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=3FB24F3F.1000101@coresma.com \
    --to=pavelr@coresma.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).