Re: How to set IP range in Xservers file configuration ?

2024-12-30 Thread Alan Coopersmith

On 12/30/24 00:29, intmail01 wrote:

What are methods to let xdm to know the IP of terminals through XDMCP ?


When the X terminal uses XDMCP to contact the xdm server, it uses the IP
address the connection came from as the IP of the terminal.  You may need
to edit the Xaccess configuration file to allow connections from the
given IP addresses.

--
-Alan Coopersmith- alan.coopersm...@oracle.com
 Oracle Solaris Engineering - https://blogs.oracle.com/solaris


How to specify a keyboard for Xephyr

2024-12-30 Thread Zhanbang He
I used the following command to create xserver, but it gave an error
"Couldn't find keyboard driver path=/dev/input/event2".

command: Xephyr :1 -ac -screen 640x320+0+0 -retro -keybd
path=/dev/input/event2

[image: image.png]


Re: How to set IP range in Xservers file configuration ?

2024-12-30 Thread intmail01
What are methods to let xdm to know the IP of terminals through XDMCP ?

On Sun, Dec 29, 2024 at 8:09 PM Alan Coopersmith <
alan.coopersm...@oracle.com> wrote:

> 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.coopersm...@oracle.com
>   Oracle Solaris Engineering - https://blogs.oracle.com/solaris
>