Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7904016

preserve XAUTHORITY env variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • linux

      jtreg stips most of the env variable, please add the XAUTHORITY to the whitelist.

      More context:

      In client, we usually work around the following error by calling the "xhost +" cmd to allow all connections.

      > Authorization required, but no authorization protocol specified
      >
      > java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable

      But OL10 doesn't have the xhost tool, so I have to specify -e:"XAUTHORITY=$XAUTHORITY" for jtreg directly to allow tests to pass.

      This request is similar to CODETOOLS-7903400.

            Unassigned Unassigned
            azvegint Alexander Zvegintsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: