Announcement

Collapse
No announcement yet.

VPN and exporting display

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VPN and exporting display

    I'm trying to VPN into my office and run an X Window app here at home on my Kubuntu box. The VPN works fine, but I can't get my X app to run. I keep getting:

    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'xx.xx.xx.xx:0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(Unknown Source)
    at java.awt.Font.initializeFont(Unknown Source)
    at java.awt.Font.<init>(Unknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme$FontDeleg ate.getFont(Unknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme.getFont(U nknown Source)
    at javax.swing.plaf.metal.DefaultMetalTheme.getContro lTextFont(Unknown Source)
    at javax.swing.plaf.metal.MetalLookAndFeel$FontActive Value.createValue(Unknown Source)
    at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    at javax.swing.UIDefaults.get(Unknown Source)
    at javax.swing.MultiUIDefaults.get(Unknown Source)
    at javax.swing.UIDefaults.getFont(Unknown Source)
    at javax.swing.UIManager.getFont(Unknown Source)
    at javax.swing.LookAndFeel.installColorsAndFont(Unkno wn Source)
    at javax.swing.plaf.basic.BasicLabelUI.installDefault s(Unknown Source)
    at javax.swing.plaf.basic.BasicLabelUI.installUI(Unkn own Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JLabel.setUI(Unknown Source)
    at javax.swing.JLabel.updateUI(Unknown Source)
    at javax.swing.JLabel.<init>(Unknown Source)
    at javax.swing.JLabel.<init>(Unknown Source)
    at com.trinagy.ui.util.LoginDialog.<clinit>(LoginDial og.java:68)
    at com.trinagy.apps.Trend.<init>(Trend.java:66)
    at com.trinagy.apps.Trend.main(Trend.java:198)

    I did xhost + before starting the ssh session. Then I did 'setenv DISPLAY <tunnel IP address>'. Is there a security setting I need to change? BTW, I'm trying to connect to a Solaris 8 server.

    I have no problem connecting from my Linux or SUN workstation at the office to the same server I'm trying from home, so I know the server is running ok.


    #2
    Re: VPN and exporting display

    I noticed this now when I try to ssh in:

    Tunnel device open failed.
    Could not request tunnel forwarding.

    Comment

    Working...
    X