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


|