RE: XWindows version of Java?

2006-07-27 Thread Benton, Kevin
Remote X-Windows from Cygwin apps has worked fine for me including
Emacs.  I haven't tried it with javaw, but I don't see any reason why it
shouldn't.

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
AMD - ECSD Software Validation and Tools
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.

 -Original Message-
 From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
 On Behalf Of Larry Hall (Cygwin X)
 Sent: Thursday, July 27, 2006 12:54 PM
 To: cygwin-xfree@cygwin.com
 Subject: Re: XWindows version of Java?
 
 siegfried wrote:
  I notice the cygwin version of emacs runs in XWindows and is one of
the
 few
  XWindows programs I run frequently on windows.
 
  I assume (I have not tried it yet) I can run the cygwin version of
emacs
 on
  my home windows machine from a remote machine with the xhost and
ssh -
 X
  commands. Is this correct?
 
 
 Should be.  I haven't tried it either.  Give it a shot if you're
 interested.
 
 
  Sun's javaw runs native windows, not xwindows. Is there a way I can
run
 GUI
  java programs on windows using xwindows so they are compatible with
 xhost
  and ssh -X?
 
 
 Not without a java built to use Cygwin-X, no.
 
 
  I've been reading about gcj and that might work but it looks like
I'd
 have
  to recompile everything myself. I want to run eclipse on windows
from a
  remote machine and I see in fedora core 4 they have recompiled
eclipse
 with
  gcj. But I was hoping I would not have to recompile eclipse from the
 source.
 
  Does cygwin have a javax program that runs GUI java programs under
 xwindows?
 
 Generic answer:
 http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages
 
 Specific answer:
 http://cygwin.com/cgi-bin2/package-cat.cgi?file=gcc-java%2Fgcc-java-
 3.4.4-2grep=javax
 
 
 --
 Larry Hall  http://www.rfk.com
 RFK Partners, Inc.  (508) 893-9779 - RFK Office
 216 Dalton Rd.  (508) 893-9889 - FAX
 Holliston, MA 01746
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 
 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



X root window resize problem

2006-06-06 Thread Benton, Kevin
I don't know if anyone has reported this yet, however, I noticed that
when I start X at 1280x768, then switch to my off-laptop monitor that's
set to 1280x1024, X doesn't seem to want to display xterm terminal
output outside the 1024x768 range.  I know that if I restart X at this
larger window size, everything works fine, but it's really annoying to
have to do this.  I'm running Cygwin-X dated 2004/03/25, though I know I
downloaded it about 5 months ago.

Does anyone have any suggestions on how to fix this so I don't have to
restart X every time I increase my display resolution from initial
startup?

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
AMD - ECSD Software Validation and Tools
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Newbie help

2006-04-04 Thread Benton, Kevin
 Hey guys,
 
 Total newbie here in relation to not only cygwin  cygwin/X but also
to
 UNIX... I'm a total windows slave.
 
 Anyway I've been given the delightful task of trying to configure
cygwin
 and
 cygwin/X server for use on our systems.  But I've run into a wall.
Well
 actually quite a few really but I'll get to the point of the first
one...
 
 How do I enable cygwin/X server as a service on Windows 2k  XP?  I've
 read
 the help files and FAQ but although it said to use the
cygserver-config
 script I'm at a lost as to how to do that.
 
 All I need for the moment is the ability to start the server first.
The
 rest I'll ask about later (if people are kind)

You may want to be a bit more specific about what you're trying to do.
As others have said, if you want to run X-based applications in Windows,
you need to use startxwin to start X.  I've created an entry in my
Startup folder that runs X for me.  From there, I can run X-based
applications.

X runs in user space rather than as a server application.  The way
typical X-windows users see things is that program that runs under
startxwin is the client application, not the server.  Server
applications for X-Windows are running programs (like xterm, emacs,
etc.).  This may seem like a role reversal, but there's a reason for
that - the program producing the information is the server and the
program displaying it is the client.  So, if I want to display an xterm
on my.host.com, I can do that by telling xterm -display my.host.com:0.
That will cause xterm to serve itself to the X client on my.host.com
instance 0.  If the client allows the server to display information, the
window will appear.  If not, the server will get a rejection notice.  If
the client rejects, the user can tell the client to accept connections
by using xhost +my.other.host.com.

For more information, see...

man xterm
man xhost

I hope this helps.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Newbie help

2006-04-04 Thread Benton, Kevin
 X runs in user space rather than as a server application.  The way
typical
 X-windows users see things is that program that runs under startxwin
is
 the client application, not the server.  Server applications for
X-Windows
 are running programs (like xterm, emacs, etc.).  This may seem like a
role
 reversal, but there's a reason for that - the program producing the
 information is the server and the program displaying it is the client.
 So, if I want to display an xterm on my.host.com, I can do that by
telling
 xterm -display my.host.com:0.  That will cause xterm to serve itself
to
 the X client on my.host.com instance 0.  If the client allows the
server
 to display information, the window will appear.  If not, the server
will
 get a rejection notice.  If the client rejects, the user can tell the
 client to accept connections by using xhost +my.other.host.com.
 
 For more information, see...
 
 man xterm
 man xhost
 
 I hope this helps.

ARRG!  I got my server and client relationships backwards.  Regardless,
the rest of the info is still useful.  :)

---
Kevin Benton
Perl/Bugzilla Developer/Administrator, Perforce SCM Administrator
Digital Media Pervasive Computing Solutions Group
Advanced Micro Devices
 
The opinions stated in this communication do not necessarily reflect the
view of Advanced Micro Devices and have not been reviewed by management.
This communication may contain sensitive and/or confidential and/or
proprietary information.  Distribution of such information is strictly
prohibited without prior consent of Advanced Micro Devices.  This
communication is for the intended recipient(s) only.  If you have
received this communication in error, please notify the sender, then
destroy any remaining copies of this communication.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/