• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

How to view applet from unix box

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I am facing following problem. I have an applet kept in the remote unix server.I am trying to login using putty(telenet session) and trying to view my applet using appletviewer command.

I am getting following error

$ appletviewer A.html
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

----------------------------------

please help me .Thanks in advance
 
Sheriff
Posts: 22854
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
appletviewer opens a window, so you need an active X11 / Xorg display. PuTTy can't provide that for you, you'll need something like Exceed - a program that can connect to the X server and display its contents.

Linux already has this by default mostly, although you might need to set some flags. For example, ssh has the -X flags that enables X11 forwarding.
 
reply
    Bookmark Topic Watch Topic
  • New Topic