xserver and xdmcp

1. The startup settings of both are in /etc/gdm/custom.conf

 

2. The xserver listens on port 6000, and the opening method is as follows:

[security]

DisallowTCP=false

 

3. xdmcp listens to udp177 port, open method:

[xdmcp]

Enable=true

 

4. The xclient side can use export DISPLAY=xserverIP:0 to output the graphics to the xserver side,

At this time, only the xserver side needs to be monitored. Of course, the xserver side also needs xhost +xclientIP.

The limitation is that only a certain window is displayed instead of the entire desktop, and there is no login interface.

 

5. The xserver side can use X -query xclientIP :1 to remotely log in to the xclient side,

Similar to Windows Remote Desktop, it has a complete desktop and login interface.

Implementation process:

The xserver side first connects to the xdmcp service on the xclient side, that is, the udp177 port,

Then the xclient side connects to the tcp6000 or 6001, 6002 on the xserver side

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326715548&siteId=291194637