• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to view applet from unix box

 
raka sinha
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic