-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
server-accesstest-plan-problemIssues which have been surfaced by running the manual release test planIssues which have been surfaced by running the manual release test plan
Description
Expected behavior:
tsh ssh -X root@node xclock succeeds and opens the xclock GUI app
Current behavior:
tsh hangs until the X11 request eventually fails
Bug details:
- Teleport version
master - Recreation steps
Enable X11 forwarding on an SSH node and attempt to ssh as root with X11 forwarding. Tested on RHEL 9. - Debug logs
Mar 25 10:44:09 localhost.localdomain teleport[7549]: 2026-03-25T10:44:09.470-04:00 DEBU Sending networking request to child process request:{Operation:listen-x11 Network: Address: X11Request:{ForwardRequestPayload:{SingleConnection:false AuthProtocol:MIT-MAGIC-COOKIE-1 AuthCookie:bca3fc9d6a65cfc7420212bfa7387d5e ScreenNumber:0} DisplayOffset:10 MaxDisplay:1010 XauthFile:}} trace_id:fa8e71aa2a7205c566ea4462e3107142 span_id:212da612f17d34b8 networking/networking.go:251
Mar 25 10:44:29 localhost.localdomain teleport[7549]: 2026-03-25T10:44:29.620-04:00 ERRO [NODE] failure handling SSH request request_type:x11-req error:[
Mar 25 10:44:29 localhost.localdomain teleport[7549]: ERROR REPORT:
Mar 25 10:44:29 localhost.localdomain teleport[7549]: Original Error: *errors.errorString error returned by networking process: failed to create networking file
Mar 25 10:44:29 localhost.localdomain teleport[7549]: command "xauth remove :10.0" failed with stderr: "xauth: timeout in locking authority file /root/.Xauthority
Mar 25 10:44:29 localhost.localdomain teleport[7549]: "
Mar 25 10:44:29 localhost.localdomain teleport[7549]: exit status 1
Mar 25 10:44:29 localhost.localdomain teleport[7549]: Stack Trace:
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/sshutils/networking/networking.go:311 github.com/gravitational/teleport/lib/sshutils/networking.readResponse
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/sshutils/networking/networking.go:287 github.com/gravitational/teleport/lib/sshutils/networking.(*Process).sendRequest
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/sshutils/networking/networking.go:232 github.com/gravitational/teleport/lib/sshutils/networking.(*Process).ListenX11
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/srv/regular/sshserver.go:2083 github.com/gravitational/teleport/lib/srv/regular.(*Server).handleX11Forward
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/srv/regular/sshserver.go:1926 github.com/gravitational/teleport/lib/srv/regular.(*Server).dispatch
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/srv/regular/sshserver.go:1786 github.com/gravitational/teleport/lib/srv/regular.(*Server).handleSessionRequests
Mar 25 10:44:29 localhost.localdomain teleport[7549]: github.com/gravitational/teleport/lib/srv/regular/sshserver.go:1562 github.com/gravitational/teleport/lib/srv/regular.(*Server).HandleNewChan.func1
Mar 25 10:44:29 localhost.localdomain teleport[7549]: runtime/asm_amd64.s:1693 runtime.goexit
Mar 25 10:44:29 localhost.localdomain teleport[7549]: User Message: error returned by networking process: failed to create networking file
Mar 25 10:44:29 localhost.localdomain teleport[7549]: command "xauth remove :10.0" failed with stderr: "xauth: timeout in locking authority file /root/.Xauthority
Mar 25 10:44:29 localhost.localdomain teleport[7549]: "
Mar 25 10:44:29 localhost.localdomain teleport[7549]: exit status 1] trace_id:fa8e71aa2a7205c566ea4462e3107142 span_id:212da612f17d34b8 regular/sshserver.go:2512
Mar 25 10:44:29 localhost.localdomain teleport[7549]: 2026-03-25T10:44:29.620-04:00 INFO emitting audit event event_type:x11-forward fields:"map[addr.local:127.0.0.1:3080 addr.remote:127.0.0.1:40674 code:T3008W ei:0 error:error returned by networking process: failed to create networking file\n\tcommand \"xauth remove :10.0\" failed with stderr: \"xauth: timeout in locking authority file /root/.Xauthority\n\"\n\t\texit status 1 event:x11-forward login:root success:false time:2026-03-25T14:44:29.621Z trace.component:audit uid:ec8e7f85-804a-499a-8be2-1a0a9e717533 user:admin user_cluster_name:vbox user_kind:1 user_roles:[auditor editor access] user_traits:map[logins:[user andrewlefevre root]]]" events/emitter.go:287
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
server-accesstest-plan-problemIssues which have been surfaced by running the manual release test planIssues which have been surfaced by running the manual release test plan