[Bug 3820] New: Around 5 second delay when starting an X11 application

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu May 1 18:43:25 AEST 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3820

            Bug ID: 3820
           Summary: Around 5 second delay when starting an X11 application
           Product: Portable OpenSSH
           Version: 9.6p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: chsdik at gmail.com

As of OpenSSH 9.6p1, when starting a X11 (ssh -X) application,
it takes around 5 seconds before the window finally appears.

I have seen this on Solaris but I've seen quite a few reports for Linux
and others.

This can be worked around by setting ObscureKeyStrokeTiming to no;
it appears that the code does not distinguish between actual
keys typed in or other data to be send.


In the point where we try to obscure the timing, we no longer
now where the data comes from.

$ ssh -X <host>
...
$ time xterm -e true

real    0m4.89s
user    0m0.05s
sys     0m0.07s

With older version (9.4p1 tried here):
$ time xterm -e true

real    0m0.37s
user    0m0.05s
sys     0m0.05s

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list