Thanks to visit codestin.com
Credit goes to github.com

Skip to content

X11 not work on Java App with SpalshScreen #1668

@roccog99

Description

@roccog99

Hi,
First of all thanks a lot, this project is amazing!
I think warpgate has some issues with Java application with splash screen, more precisely: when i connect to a target (via warpgate) with "-X" and i start the application, the splash screen appear and the app works fine. Then i close the app with "x" icon on top right, restart the app, the spalshscreen and app's GUI does not appears. Console seems dead and ctrl+c seems to has no effect, so i need to reboot warpgate and target host (reboot warpgate only should work).
Apps without spalshscreen (i tried jdiskreport - https://www.jgoodies.com/freeware/jdiskreport/) works fine, i can start and close with no problem.

Info about my environment:

  • Warpgate 0.19.1 (OS: Almalinux 10)
  • Target host (OS: Rocky linux 9)
  • command use to connect: ssh '_user_:_target_@_warpgateIp_' -p 2222 -X

Step to reproduce

  1. I create a simple java app with splashscreen using this oracle tutorial https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html (see section: How to Use the Command-Line Argument to Display a Splash Screen)
  2. Start the app with command:
    java -splash:images/splash.gif misc.SplashDemo
    (as shown in the tutorial)
  3. When app started, close it with "x" icon
  4. Re-use command in step 2
  5. Nothing happens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions