Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6388137

REGRESSION: ALT+<mnemonic> key not working on remote display in rhel4 for all tiger JDKS

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_redhat_4.0

      Description

      Synopsis: ALT+<mnemonic> key not working on remote display in rhel4 for all tiger JDKS.

      Note :
      ======
       Test case Working fine for JDS-QuickSilver.

      more /etc/redhat-release :
      ==========================
      Red Hat Enterprise Linux AS release 4 (Nahant)
      It even failing for SUSE10 prof as well.

      Java -version:
      ==============
      java version "1.5.0_07-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-ea-b01)
      Java HotSpot(TM) Client VM (build 1.5.0_07-ea-b01, mixed mode)

      How to reproduce:
      =================
      1. Open a terminal window and run 'xhost +' command
      2. Open another terminal window and rlogin to any solaris machine with any user
      id
      3. set the DISPLAY to hostname(give the host name which test is running):0.0
         Make sure that the DISPLAY env variable is properly set.
      4. Goto any directory on solaris machine and copy the following file
          from The test machine TestMnemonic.class (which is attached to the bugster).
      5. Run the following command
         <location of tested java for solaris machine> TestMnemonic
      6. A small test window will appear with 'Click Here' text in the middle
      7. Click in that text
      8. Press 'ALT + f' or 'ALT + e' at the same time
       
      Check:
      If the 'File' or 'Edit' drop down menu appears - test PASSED
      If the drop down menu does not appear - test FAILED

      ERROR:
      =====
      Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '10.12.152.147:0.0' as the value of the DISPLAY variable.
              at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
              at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
              at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:164)
              at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
              at java.awt.Window.init(Window.java:263)
              at java.awt.Window.<init>(Window.java:311)
              at java.awt.Frame.<init>(Frame.java:419)
              at java.awt.Frame.<init>(Frame.java:384)
              at javax.swing.JFrame.<init>(JFrame.java:150)
              at TestMnemonic.<init>(TestMnemonic.java:15)
              at TestMnemonic.main(TestMnemonic.java:9)
      New Note:
      =========
      1) if export DISPLAY=:0.0 then ALT+<mnemonic> works but export DISPLAY=hostname:0.0 it is throwing the same exception in rhel.
      2)But in solaris-spac the above test case works fine.
      Do mnemonics work on your local Linux display ? yes it works.
      Can you reproduce it on the local Solaris ? Yes it is working.

      Yes my DISPLAY set properly, with xhost+ done on the machine.

      Full Path of the test case:
      ---------------------------
      /net/urts071.india/export6/testSuites/Regression/workspace_150/test/CTE_REGTEST/Generic/4652023/

        Attachments

          Activity

            People

            Assignee:
            alexp Alexander Potochkin (Inactive)
            Reporter:
            bjuttiyasunw Basavaraj Juttiyavar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: