Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Error with ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 15998 of 16269
Post > Topic >>

Re: Error with vncviewer and java

by "John B. Matthews" <nospam@[EMAIL PROTECTED] > Apr 22, 2008 at 06:06 PM

In article 
<03ee6183-17cb-45f2-90ff-0367f17800e1@[EMAIL PROTECTED]
>,
 Alex.From.Ohio.Java@[EMAIL PROTECTED]
 wrote:

> On Apr 21, 7:40 pm, "John B. Matthews" <nos...@[EMAIL PROTECTED]
> wrote:
> > In article <OPadneham6PgmJHVnZ2dnUVZ_qPinZ2d@[EMAIL PROTECTED]
>,
> >  Will <n...@[EMAIL PROTECTED]
> wrote:
> > > I'm running Ubuntu 8.04 and trying to connect via remote desktop and
> > > vncviewer to another Ubuntu computer running 7.10.
> >
> > > When I run vncviewer the following is what I get:
> >
> > > will@[EMAIL PROTECTED]
 vncviewer odin:0
> > > odin 5900
> > > RFB server sup****ts protocol version 3.7
> > > VNC authentication succeeded
> > > sending client init
> > > Desktop name is will@[EMAIL PROTECTED]
> > > Desktop size is 1280 x 1024
> > > java.lang.IllegalStateException: Old input was not completely
processed
> > > [...]
> > > will@[EMAIL PROTECTED]
> > > ***END***
> >
> > > I was wondering if anyone else has come across this problem before.
> >
> > > Thanks
> > > Will
> >
> > This reminds me of problems seen when running an awt app on a server
> > when no one's logged in; the server looks headless to the jvm. Try
> > logging in at the server's console. Also, see
> >
> >
<http://java.sun.com/products/java-media/2D/reference/faqs/index.html#Q_I
_have_an_application_that_rea>
> >
> > <http://www.jfree.org/phpBB2/viewtopic.php?t=1012>
> [...]
> 
> John:
> This is Ubuntu desktop. Because he is trying to connect via remote
> desktop. It's not Ubuntu server. It definitely has XWindows.
> 
> I agree that headless Java (no GUI part) is big problem. But not in
> this case.
> 
> Alex.
> http://www.myjavaserver.com/~alexfromohio/

It's not the presence of XWindows, it's whether it's been initialized to 
a state that the awt can use. Indeed, most vnc servers I've used do this 
satisfactorily, but setting the headless property (when available) takes 
up less memory.

I first encountered this problem in '02 with a chart-generating servlet 
running on a nearby Mac OS server. Each time I invoked the servlet on a 
client, the server would bring an "empty" application to the foreground. 
Spooky! :-)

John
-- 
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews
 




 7 Posts in Topic:
Error with vncviewer and java
Will <not@[EMAIL PROTE  2008-04-20 22:09:49 
Re: Error with vncviewer and java
Roedy Green <see_websi  2008-04-21 07:58:03 
Re: Error with vncviewer and java
Alex.From.Ohio.Java@[EMAI  2008-04-21 06:27:02 
Re: Error with vncviewer and java
"John B. Matthews&qu  2008-04-21 20:40:12 
Re: Error with vncviewer and java
Alex.From.Ohio.Java@[EMAI  2008-04-21 18:07:03 
Re: Error with vncviewer and java
"John B. Matthews&qu  2008-04-22 18:06:22 
Re: Error with vncviewer and java
Will <not@[EMAIL PROTE  2008-04-22 01:35:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:03:30 CDT 2008.