RE: Newbie help

2006-04-04 Thread Igor Peshansky
Indenting slightly reformatted below.  Now, doesn't that look better?

On Tue, 4 Apr 2006, John Rehill wrote:

 John Rehill wrote:

   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.

 René Berber replied

  Uh? where exactly did you read 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)

 René Berber replied

  Type startx in a Cygwin window.

 Oops sorry my mistake I was reading that in the cgywin user guide, about
 cgyserver and not in the cgywin/x server user guide.

FYI, the Cygwin/X guide may also mention cygserver, as XWin is compiled
with the SHM extension which won't work without it, but that is purely
optional.  Just so you don't get confused reading about cygserver there.
You do not *need* cygserver to run Cygwin/X.

 Since realising my mistake I've tried adding xwin.exe as a service,
 which worked but when I try to run a terminal window nothing happens.

 What am I doing wrong?

While it is possible to run XWin as a service (using a service wrapper
like cygrunsrv or srvany), it is not recommended, and will not do what you
want anyway.  XWin needs to run separately for each user, while the
service will be global to the machine.  You'll also have to allow
interaction with the desktop, and make sure the X server is started with
the right parameters.

If you simply want to start the X server before other programs, put a
shortcut to startxwin.bat (or bash startxwin.sh) into the user's Startup
folder.

 Thanks for the help btw...

You're welcome,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte.
But no -- you are no fool; you call yourself a fool, there's proof enough in
that! -- Rostand, Cyrano de Bergerac
--
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 Jim Drash
I think you are confused about the use of the word server as it
applies to X-Windows type applications.  In X windows, the client is
the program such as emacs. The X-Windows server manages the display
for the client program.  A client program will ask the X-Windows
server to draw something on the display.  The X-Windows Server does
the work and we users get to see the result.

The Cygwin X-Windows server is NOT a Windows Service.  It is just a
program, like any other.  Once you have lauched it, you can lauch a
terminal program like xterm (A X-Windows Client program) to start up
other X-Window client programs.




On 4/3/06, John Rehill [EMAIL PROTECTED] wrote:
 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)



 --
 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/



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/



RE: windows XP : cygwin -X server not opening

2006-04-04 Thread Soong, SylokeJ
Returning from three weeks of vacation (one week in Montana  then getting 
married in Israel), I am clearing my emails and I cannot resist but to defend 
Avinash. Or inadvertently, further add insult to injury.

Imo - a Senior with amazing two years of experience should be able to 
get a feel how wide a field unix involves,
accept there are things unix one does not know,
argue there are things unix that are now beyond unix,
get help rather than brooding silently,
laugh away at a we-were-once-like-that-too comment.
I meant, a comment from someone we-were-once-like-that-too.

Im(extravagant)o - someone with good years' of experience (perhaps, 
interviewing for a job) should be able to 
tell boundaries of his/her knowledge by discussing things he/she does not know 
beyond things he/she knows.

oops, did I mean with years of interviewing for the same job experience
or, did I mean with years of working experience and if he/she had to interview 
for a job?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alexander
Sent: Tue, March 14, 2006 11:19 PM
To: cygwin-xfree@cygwin.com
Subject: Re: windows XP : cygwin -X server not opening


Dear Avinash,
from your CV:
Senior software engineer with two years of experience on various 
platforms like UNIX, ..
Imo - a Senior with amazing two years of experience should be able to 
read the messages on his screen, look into a logfile and solve the 
problem within 5 minutes maybe while also taking a look into the 
documentation.
Thanks for the funny post, it made me laugh a lot.
Ask the people where you bought your master. They may also sell you the 
solution to this.
Alex
http://www.aiengine.org
Avinash Sridhar wrote:

On 3/14/06, Avinash Sridhar [EMAIL PROTECTED] wrote:
  

Many thanks to all the kind souls who have contributed to Cygwin.




Regards

Avinash Sridhar
_
713-471-8605(c)
http://nas.cl.uh.edu/sridhara

--
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/



6000 euro- all'anno!!!

2006-04-04 Thread Donnie Rojas
Greetings Cygwin-xfree!!.



International company looking for regional  manager, serious person, 21-60
years in  Italy, the best in Rome and other big cities, finance  operations.


Send your profiles,
CV according  this e-mail address: [EMAIL PROTECTED]




Tue, 4 Apr 2006 22:59:42 +



--
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/