Re: [SLE] Using cygwin/Xfree-86 to access Suse
![](https://seccdn.libravatar.org/avatar/8d01889011e7785fb043f531d535b870.jpg?s=120&d=mm&r=g)
Hmmmm, I am also struggling with this. I have the line commented out in xdm-config. Running 'X -query host1' works when run from a Linux command prompt, so it looks like XDMCP is working alright. When I try 'Xwin -query host1' on the Windows side, I get the grey screen, but also a couple of error messages on the Linux server: Date-Time host1 kdm [6498]: server open failed for 0.0.0.0:0, giving up Date-Time host1 kdm [637]: Display 0.0.0.0:0 cannot be opened This seems to give credence to the theory of setting the DISPLAY variable, but at what point should it be set for the Xwin command to work ? Can it be set in one of the X11 config files on the Cygwin side of things ? Thanks, Stuart.
Mike Grau <m.grau@kcc.state.ks.us> 05/28/02 12:04PM >>>
Does that work for you against a SuSE box? It is actually the first
Yes, that works great. I haven't had a chance to look at SuSE 8.0 yet, but if it's like previous releases, XDMCP or Chooser enquiries are _not_ accepted by default. Check for /var/X11R6/lib/xdm/xdm-config (assuming 8.0 is the same) and comment out the line "DisplayManager.requestPort: 0" thusly: !DisplayManager.requestPort: 0 Couldn't run too many large Win apps at the same time, or things seemed to run a bit short on memory. thing I tried, but it did not work.
All I get is a blank X-window display with no windows, thus I used
the other method.
My server is running SuSE 8.0 with a pretty vanilla setup.
I would far prefer to get the above working, but I'm not really sure
how to start troubleshooting it.
I tried setting the DISPLAY variable manually before the above line,
but it did not help. <snip>
![](https://seccdn.libravatar.org/avatar/c5c698efdc18a735e16013c54aa26395.jpg?s=120&d=mm&r=g)
My DISPLAY is set in my .bashrc: # # try to set DISPLAY smart (from Hans) :) # if test -z "$DISPLAY" -a "$TERM" = "xterm" -a -x /usr/bin/who ; then WHOAMI="`/usr/bin/who am i`" _DISPLAY="`expr "$WHOAMI" : '.*(\([^\.][^\.]*\).*)'`:0.0" if [ "${_DISPLAY}" != ":0:0.0" -a "${_DISPLAY}" != " :0.0" \ -a "${_DISPLAY}" != ":0.0" ]; then export DISPLAY="${_DISPLAY}"; fi unset WHOAMI _DISPLAY fi export DISPLAY This results in DISPLAY being set to "whatever_host.domain.name:0" Stuart Powell wrote:
Hmmmm, I am also struggling with this.
I have the line commented out in xdm-config.
Running 'X -query host1' works when run from a Linux command prompt, so it looks like XDMCP is working alright. When I try 'Xwin -query host1' on the Windows side, I get the grey screen, but also a couple of error messages on the Linux server:
Date-Time host1 kdm [6498]: server open failed for 0.0.0.0:0, giving up Date-Time host1 kdm [637]: Display 0.0.0.0:0 cannot be opened
This seems to give credence to the theory of setting the DISPLAY variable, but at what point should it be set for the Xwin command to work ? Can it be set in one of the X11 config files on the Cygwin side of things ?
Thanks, Stuart.
![](https://seccdn.libravatar.org/avatar/db552cb0d5a7c3ba3c8a628e6a55a441.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Mar 28 May 2002 12:23, escribiste:
Hmmmm, I am also struggling with this.
I have the line commented out in xdm-config.
Running 'X -query host1' works when run from a Linux command prompt, so it looks like XDMCP is working alright. When I try 'Xwin -query host1' on the Windows side, I get the grey screen, but also a couple of error messages on the Linux server:
Date-Time host1 kdm [6498]: server open failed for 0.0.0.0:0, giving up Date-Time host1 kdm [637]: Display 0.0.0.0:0 cannot be opened
This seems to give credence to the theory of setting the DISPLAY variable, but at what point should it be set for the Xwin command to work ? Can it be set in one of the X11 config files on the Cygwin side of things ?
Thanks, Stuart.
I have it working, but, as the manual says, the server must be running xdm. HTH. - -- Alfredo J. Cole http://www.acyc.com (Accounting Systems) http://www.clshonduras.com (Linux Hardware) PGP Key available from certserver.pgp.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE89Av7u5DxuPWE298RArKYAJsHlomXrXGvGqLA7uSkYMJRJ0Q7EACfeo1s vSJPUHEuIg7OioKXfALaC1k= =PILr -----END PGP SIGNATURE-----
participants (3)
-
Alfredo Cole
-
Mike Grau
-
Stuart Powell