Re: Problem with running remote Linux Java GUI

2005-04-28 Thread Ming George
Thanks for Christopher and Levent for valuable the
comments. However, these solutions do not work for me.
-Y was rejected by my remote linux system.

A weird thing I observed is that in a remote linux
Xterm (using ssh) being connected to Cygwin for longer
than a certain period of time (more than a half hour),
the GUI of remote Java program can be properly
displayed. But for a newly connected Xterm, it still
does not work. At least, it can be used as a temporal
solution.  

Does anyone have clue about it? Does it related to the
X authority setting? 


Thanks

George

--- Levent Yilmaz <[EMAIL PROTECTED]> wrote:
> I also had some problems with certain programs (not
> necessarily with 
> java). And find a simple solution which I do not
> know it works:
> 
> If you are using ssh with X11 forwarding for
> connections, maybe -Y 
> (instead of -X) may work for you.
> 
> -L.
> 
> 
> Ming George wrote:
> 
> > Hi friends,
> > 
> > I use Cygwin/X to run remote X window programs. It
> > works perfect for normal Linux X applications; but
> not
> > for any Java GUI. In a Cygwin xterm, when I run a
> Java
> > GUI in a remote linux machine, I only get an empty
> > window which does not show all the interface
> elements,
> > e.g., button, menu, and others. 
> > 
> > In the mail achieve, I found some one posted the
> > similar issues when executing a Java GUI in a
> remote
> > Solaris system. But the solution is not applicable
> to
> > my case. Does any one meet the same problem, or
> have
> > any clue about it?
> > 
> > Thanks
> > 
> > George
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> 
> 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Problem with running remote Linux Java GUI

2005-04-26 Thread Levent Yilmaz
I also had some problems with certain programs (not necessarily with 
java). And find a simple solution which I do not know it works:

If you are using ssh with X11 forwarding for connections, maybe -Y 
(instead of -X) may work for you.

-L.
Ming George wrote:
Hi friends,
I use Cygwin/X to run remote X window programs. It
works perfect for normal Linux X applications; but not
for any Java GUI. In a Cygwin xterm, when I run a Java
GUI in a remote linux machine, I only get an empty
window which does not show all the interface elements,
e.g., button, menu, and others. 

In the mail achieve, I found some one posted the
similar issues when executing a Java GUI in a remote
Solaris system. But the solution is not applicable to
my case. Does any one meet the same problem, or have
any clue about it?
Thanks
George
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




Re: Problem with running remote Linux Java GUI

2005-04-26 Thread Christopher Mark Conn
George Ming writes:

> I use Cygwin/X to run remote X window programs. It
> works perfect for normal Linux X applications; but not
> for any Java GUI. In a Cygwin xterm, when I run a Java
> GUI in a remote linux machine, I only get an empty
> window which does not show all the interface elements,
> e.g., button, menu, and others. 
>
> In the mail achieve, I found some one posted the
> similar issues when executing a Java GUI in a remote
> Solaris system. But the solution is not applicable to
> my case. Does any one meet the same problem, or have
> any clue about it?

Hi George 

I think I can help on this one, although I'm new to
Cygwin. I work in AIX support and we have a lot of
customers who use Hummingbird Exceed to connect to
AIX boxes running CDE. This works fine as long as the
AIX box is running dtlogin which sends information 
back to Exceed.

But if they want to run more complicated apps like
the Oracle installer (which I suspect is java-based)
they have to use XVFB, the Virtual Frame Buffer which
emulates a graphics card. I am not sure what else
Cygwin needs to give Java what it needs, will be
interesting to hear what others say.

Hope this helps a little :-).

I installed Cygwin last weekend because I wanted to
connect to my FreeBSD box from my Win2K laptop and
run Emacs in full graphics mode. I'm doing that now
and it's flawless!

--
Chris Conn 
http://storm.cadcam.iupui.edu/~cmcgoat
Austin, Texas, USA