can't connect to xdmcp server
I am using Knoppix 3.4 with KDE 3.2.2.
I want to be able to run multiple Xservers on my machine. I don't know a great deal about X but have been trying to figure it out and have gotten part way there.
I added some lines to my /etc/kde3/kdm/Xservers file:
:0 local@tty1 /etc/X11/X -dpi 75 -nolisten tcp vt7
:1 local@tty2 /etc/X11/X -dpi 75 -nolisten tcp :1 vt8
:3 local@tty4 /etc/X11/X -dpi 100 -nolisten tcp :3 vt10
This works OK. When I hit Ctrl+Alt+F8, I get a kdm login screen on the new console.
However, if, as root, I type
X :2 -query laptop &
... it doesn't seem to work correctly. It does start an X session, with a grey background and an "X" mouse cursor that I can move around, but it never connects to kdm. It just sits there until I Ctrl+Alt+Backspace to kill it.
If I type, as root..
startx -- :2
...this starts an X session correctly, but one that is already logged in and starts KDE, not conected to kdm so I can login (which is what I want).
Why can't I connect to kdm using the "X" command? How can I do this?
I would also like to be able to have other machines on my network connect to kdm via XDMCP on my local machine... how can I do this?
Note that in additon to the changes to my /etc/kde3/kdm/Xservers file, I have changed the following files from their defaults, to no avail:
#uncommented the following line:
* #any host can get a login window
#changed "Enable=false" to true in [Xdmcp] section
!commented out the following lines:
Any help that you can provide will be greatly appreciated!