X11

The current server implementation does not support session hijacking. For such purposes, use a dedicated MITM proxy tool instead.

See also

Refer to the X Window System Protocol documentation for a detailed description of protocol behavior.

Section [X11]

X11.PortRange: str | dict = range(6000, 6005)

Maps to x11.X11Config.x11_ports

Defines the port range the server will listen on. By default, five ports are opened (for displays 0 through 4).

Supported formats:

  • START-END (string): A hyphen-separated range, inclusive start and exclusive end

  • Dictionary with start and/or end keys

Example:

Port range specification
PortRange = { start = 6000, end = 6010 }
X11.ErrorMessage: str = "Access denied"

Maps to x11.X11Config.x11_error_reason

Custom message returned to the client after authentication completes.

Default Configuration

X11 configuration (default values)
1[X11]
2PortRange = { start = 6000, end = 6005 }
3ErrorMessage = "Access denied"