This is a beginners question, I know... but I have searched and I'm getting frustrated. I know my way around Lunux pretty well, but I have never had to deal with XServer.
I SSH from OSX into a UBUNTU 14.04 desktop machine as user alpha.
User alpha is also logged in locally on that desktop.
I want to run (via my terminal) an application that should show on the UBUNTU machine (so that its visible on the locally display of the locally logged in user).
Today I get this error when I do this from the OSX terminal:
15:21:20:157 AWT-EventQueue-0: Error java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207) at java.awt.Window.<init>(Window.java:535) at java.awt.Frame.<init>(Frame.java:420) <etc>
NOTE: When I do it from the local terminal (on UBUNTU) it works as it should, so theres nothing wrong with the program.
In case the UBUNTU machine was headless, how would I divert the windows to another machine, for example my Mac?