1820096 Members
3588 Online
109608 Solutions
New Discussion юеВ

Re: How To Enable XDMCP

 
SOLVED
Go to solution
A P Mohanty
Occasional Contributor

How To Enable XDMCP

I installed Red Hat Linux 7.0 and everything including X-Windows and Network configuration went through. However, when I attempt to connect to my system from a PC, my system does not appear in Display Manager Chooser list. This means possibly XDMCP is not enabled. Other servers line Telnet, FTP etc are working fine.

Can someone tell me how to enable this XDMCP ?
2 REPLIES 2
Kodjo Agbenu
Honored Contributor
Solution

Re: How To Enable XDMCP

Hello,

By default, xdmcp is not allowed, because it is considered by some security specialists as a weak.

To change this, go to /etc/X11/xdm :

-> In xdm-config, make sure that DisplayManager.requestPort is set to 177 (instead of 0).

-> In Xaccess, make sure that the line beginning with a star "*" and with a comment like "any host can get a login window" is not commented out.
If you want to enable "xdmcp indirect", don't forget to uncomment "* CHOOSER BROADCAST" too.

After that, restart xdm. A good way to do this with RedHat, is to exit from the graphical environment, to open a text console as root, and to type :

init 3
sleep 10
init 5

Good luck.

Kodjo

P.S. Don't forget to rate this answer (from 1 to 10).
Learn and explain...

Re: How To Enable XDMCP

To enable things, you need to look in the /etc/X11/gdm/gdm.conf file for the xdmcp section, and change 'Enable=0' to
'Enable=1'.

Now I am able to connect to my Linux box from any HP workstation or PC with X server.