Kanwar Ranbir Sandhu wrote:
On Wed, 2007-02-28 at 14:55 +0000, Plant, Dean wrote:
I am trying to get XDMCP working over SSH on CentOS 4.4 from a windoze box running Cygwin/Putty
[snip]
Both commands will successfully display a X window and show the X mouse pointer but not the chooser. Can anyone tell me what I am doing wrong?
Perhaps your ssh tunnel isn't configured properly. Let's see how you're setting up the tunnel.
In sshd I have X11 Forwarding set
# cat /etc/ssh/sshd_config | grep X11F X11Forwarding yes
I have Putty configured with X11 forwarding
From Putty connection log:
2007-03-01 10:06:00 Access granted 2007-03-01 10:06:00 Opened channel for session 2007-03-01 10:06:00 Requesting X11 forwarding 2007-03-01 10:06:00 X11 forwarding enabled 2007-03-01 10:06:00 Allocated pty (ospeed 38400bps, ispeed 38400bps) 2007-03-01 10:06:00 Started a shell/command
I have a Cygwin X server loaded and I can run an Xterm with no problems.
I have used the System Settings control panel to enable XDMCP and UDP 177 is listening
# netstat -l | grep xdmcp udp 0 0 *:xdmcp *:*
I then log into the host machine and run:
# Xnest :1 -query localhost Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
After a while I get: XDM: too many retransmissions, declaring session dead Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
And in the putty logs I see
2007-03-01 10:20:07 Received X11 connect request from 127.0.0.1:33368 2007-03-01 10:20:07 Opening X11 forward connection succeeded
A Xwindow is displayed but all I see is a black background with the X mouse pointer.
Thanks
Dean