How to set IP range in Xservers file configuration ?

Alan Coopersmith alan.coopersmith at oracle.com
Sun Dec 29 17:09:03 UTC 2024


On 12/29/24 06:52, intmail01 wrote:
> Hello,
> 
> Are there any methods to list IP address in Xservers file configuration by using 
> wildcard or any form of address range ? Because IP can not be known in advance 
> for terminal and they can be set randomly by the dhcp.
> I try to set an wildcard like 172.168.0.*:0 but it doesnt work.

Do you mean the /etc/X11/xdm/Xservers file used by the xdm display manager?
If so, then no, because each entry is a display to be managed, so something
like 172.168.0.*:0 would start up 256 display managers, each trying to
contact one of those IP addreesses to run an X session on.

If you can't configure the DHCP server to give stable addresses to the X
terminals, then you'll need to configure the X terminals to use XDMCP to
let the xdm server know what IP address they're running on.

-- 
         -Alan Coopersmith-                 alan.coopersmith at oracle.com
          Oracle Solaris Engineering - https://blogs.oracle.com/solaris


More information about the xorg mailing list