LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   can't connect to xdmcp server (https://www.linuxquestions.org/questions/debian-26/cant-connect-to-xdmcp-server-228286/)

monkeyman2000 09-08-2004 04:00 PM

can't connect to xdmcp server
 
Hi,

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:


/etc/kde3/kdm/Xaccess:
#uncommented the following line:
* #any host can get a login window


/etc/kde3/kdm/kdmrc:
#changed "Enable=false" to true in [Xdmcp] section


/etc/X11/xdm/xdm-config:
!commented out the following lines:

DisplayManager*authorize: true
DisplayManager.requestPort: 0




Any help that you can provide will be greatly appreciated!

monkeyman2000 09-11-2004 02:57 PM

xdmcp problem solved
 
Hi,

I was able to solv this problem thanks to the documentation provided by the good people of the Linux Terminal Server Project:

http://204.182.52.180/cgi-bin/fom?_r...file=1#file_3e


All times are GMT -5. The time now is 04:49 PM.