LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   XDMCP Fatal Error (https://www.linuxquestions.org/questions/linux-newbie-8/xdmcp-fatal-error-293443/)

John Parsons 02-22-2005 11:28 AM

XDMCP Fatal Error
 
We have been performing remote logins to our test Linux box from two Win2K boxes using XDMCP and XVission software. This morning from one of the two WIN2K boxed we can no longer login. The following message appears (or very similar)
XDMCP FATAL ERROR - Session declined Maximum number of open sessions from your host reached

What is my problem (that leaves me wide open doesn't it :) )

Thanks
John

druuna 02-22-2005 11:43 AM

Hi,

Take a look at your /etc/X11/gdm/gdm.conf file, especially the 'XDCMP Support' options.

This one sets the max amount of session: MaxSessions=16, also check the other options if this is a default gdm.conf file.

Hope this helps.

John Parsons 02-22-2005 12:26 PM

Druuna,

Thanks for the reply. Prior to my original post I did look at the gdm.conf file. I took the Maxsession value to indicate mas sessions open at any one time (which is also what the comment says). We should only have 1 login from that Win2K box by a single user at any given time and I believe that we are logging off correctly when we end the session. How can I check to see if there are open sessions and how would I close any that are inadvertently open?

John

druuna 02-22-2005 12:46 PM

Hi,

lsof -i

Or if that isn't installed

netstat -a

port 177 is normally used for xdmcp

BTW: I'm not sure if this is clear: MaxSessions - Determines the maximum number of remote display connections which will be managed simultaneously. I.e. the total number of remote displays that can use your host.

Hope this helps.

John Parsons 02-22-2005 01:41 PM

druuna, or anyone else who can help,

lsof -a does not seem to show anything out of sorts. Unless I login from my own station I don't see anything that I can associate with our two Win2K boxes in question. The max sessions setting is 16. If this were exceeded I would not be able to open a session from my Win2K box either would I??? I can however! Only one box is giving us the error message

XDMCP FATAL ERROR - Session declined Maximum number of open sessions from your host reached

Any other ideas?

John


All times are GMT -5. The time now is 08:13 AM.