1829614 Members
2099 Online
109992 Solutions
New Discussion

XDMCP Connections

 
Daniel Fourie
Frequent Advisor

XDMCP Connections

How can I stop users from making XDMCP connections to the server.
Knowlage is Power
5 REPLIES 5
Alex Glennie
Honored Contributor

Re: XDMCP Connections

if you are using CDE cp /usr/dt/config/Xaccess to /etc/dt/config/Xaccess and edit the file here.

It's mainly a text file/comments and gives you the required syntax
Daniel Fourie
Frequent Advisor

Re: XDMCP Connections

Can you please help me in configuring this file, cause I have added the info but it is not working.

I want to deny access to all
Knowlage is Power
Alex Glennie
Honored Contributor

Re: XDMCP Connections

Did you restart the CDE/Xserver processes => dtlogin -reset may work by itself but I'd advise droppingthe system to init 2 then back to run-level 3 for the changes to take effect !
Alex Glennie
Honored Contributor

Re: XDMCP Connections

e.g If you DO NOT want PC with ip address 15.43.66.10 to access ServerA .
for eg .....
1. cp /usr/dt/config/Xaccess /etc/dt/config

2. vi /etc/dt/config/Xaccess -->

At the last line , put in this :

!15.43.66.10 where this is ip address of host you do not wish to grant access, it should take wildcards so my guess is !* may work but I have not tried it ...

3. Reboot the Server to let Xaccess take effect
jim bidebo
Regular Advisor

Re: XDMCP Connections

hmm.. i would restart dtlogin with.
/sbin/init.d/dtlogin.rc stop
/sbin/init.d/dtlogin.rc start