RE: Newbie help
> 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: Newbie help
> 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
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
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
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. 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? You're trying to start the X server as a Windows service. Don't do that. Just run "startxwin". -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (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/
RE: Newbie help
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. 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? Thanks for the help btw... -- 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
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. 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) Type startx in a Cygwin window. -- René Berber -- 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/