Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running Swing/GUI apps from a tty

Bob Ruth
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At my current job I am working with an engineer that is non-sighted. He is a brilliant guy and I am trying to help him along the trail towards Java-land.

Some work we have done here has caused us to want to do some heap dump analysis and one of the tools that we are trying to use actually adds command line options to the JVM to start it up. So you actually bring the app up on the command line WHILE including the tools startup options.

The problem we have is that he is using a braille reader and it can not read anything on a graphics screen. What I had in mind is that we could use a tty console to start the GUI application and have it display on localhost:0 but when we try that the JVM squawks that it is unable to make a connection with localhost:0, gives me a stack trace, and exits.

Can we just not do that? I mean... you can run remote X apps from one system to another I would think that, as long as you had the display specified correctly, you would be able to start a graphics app up from a TTY so that his braille reader will work.... but so far no joy.

So the basic question is....can I do this or not?

I'd appreciate any word from anyone. This guy really wants in to this part of the world.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic