Starting from version 8.2, the Gravitational Teleport supports X11 forwarding in any configuration. There are a few additional config options that need to be set to achieve that:
1. On a server node:
ssh_service:
enabled: "yes"
x11:
enabled: "yes"
2. For a role:
....
deny: {}
options:
cert_format: standard
enhanced_recording:
- command
- network
forward_agent: true
max_session_ttl: 30h0m0s
permit_x11_forwarding: true
port_forwarding: true
version: v4
3. Run with -X option: