public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Cygwin newbie needs help
@ 2002-04-24  5:08 Craveiro, Marco
  2002-04-24  8:50 ` Marcos Lorenzo de Santiago
  0 siblings, 1 reply; 17+ messages in thread
From: Craveiro, Marco @ 2002-04-24  5:08 UTC (permalink / raw)
  To: 'B. Joshua Rosen'; +Cc: cygwin

hiyah Joshua,

I think I can help you with 1) and 2)...

	1) How do I get X forwarding to work? 

X forwarding should work just fine for me (both from and to windows),
setting the display and enabling all hosts on the server is all i've done
and it works. but I don't think you will be able to build xemacs with x
support on windows; at least you cant do that with gnu emacs IIRC. at any
rate try the xfree-cygwin mailing list.

	2) Is there a way to rlogin or ssh into the Win2K box? 

	make a search on the mailinglist on how to start the ssh daemon. it
works fine, we have it here at the office. 

	all&all, make a search on the archives; i found that 90% of the my
questions have been asked before...

	hope it helps.

	marco



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <229D7C0FE0BED311A0E800805F0DD471010D2DB8@wn01ex.wn.gb.solv ay.com>]
* RE: Cygwin newbie needs help
@ 2002-04-24  9:00 Robinow, David
  2002-04-24  9:46 ` Marcos Lorenzo de Santiago
  2002-04-24 10:17 ` B. Joshua Rosen
  0 siblings, 2 replies; 17+ messages in thread
From: Robinow, David @ 2002-04-24  9:00 UTC (permalink / raw)
  To: cygwin

> From: Craveiro, Marco [mailto:Marco.Craveiro@solvay.com]
> Subject: RE: Cygwin newbie needs help
> huh people, maybe i'm really confused here... but i think 
> Joshua wants a build of xemacs that allows him to redirect
> the display to another xserver. am i wrong in saying that,
> if at all possible, you need to build it yourself to get
> it to compile using cygwin's xfree libs? 
  Unless one wants an ancient version compiled for cygwin B20.1,  you are
correct.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: Cygwin newbie needs help
@ 2002-04-24  8:56 Craveiro, Marco
  0 siblings, 0 replies; 17+ messages in thread
From: Craveiro, Marco @ 2002-04-24  8:56 UTC (permalink / raw)
  To: 'Larry Hall (RFK Partners, Inc)', Marcos Lorenzo de Santiago
  Cc: 'B. Joshua Rosen', cygwin

huh people, maybe i'm really confused here... but i think Joshua wants a
build of xemacs
that allows him to redirect the display to another xserver. am i wrong in
saying that, if at all possible, you need to build it yourself to get it to
compile using cygwin's xfree libs? 

> -----Original Message-----
> From:	Larry Hall (RFK Partners, Inc) [SMTP:lhall@rfk.com]
> Sent:	24 April 2002 08:43
> To:	Marcos Lorenzo de Santiago; Craveiro, Marco
> Cc:	'B. Joshua Rosen'; cygwin@cygwin.com
> Subject:	RE: Cygwin newbie needs help
> 
> At 11:13 AM 4/24/2002, Marcos Lorenzo de Santiago wrote:
> >On Wed, 24 Apr 2002, Craveiro, Marco wrote:
> >
> >      > hiyah Joshua,
> >      >
> >      > I think I can help you with 1) and 2)...
> >      >
> >      >  1) How do I get X forwarding to work?
> >      >
> >      > X forwarding should work just fine for me (both from and to
> windows),
> >      > setting the display and enabling all hosts on the server is all
> i've done
> >      > and it works. but I don't think you will be able to build xemacs
> with x
> >      > support on windows; at least you cant do that with gnu emacs
> IIRC. at any
> >
> >There's no need to build xemacs for windows! You con download it from
> >their homepage for win32! :)
> 
> 
> Pick "Cygwin" for the "Installation Type" when running setup from 
> www.xemacs.org.  This will get you a Cygwin-compatible version of 
> XEmacs, which will understand Cygwin mounts, symlinks, etc.
> 
> 
> 
> Larry Hall                              lhall@rfk.com
> RFK Partners, Inc.                      http://www.rfk.com
> 838 Washington Street                   (508) 893-9779 - RFK Office
> Holliston, MA 01746                     (508) 893-9889 - FAX

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE:  The Cygwin Server Daemon - VERY LONG
@ 2002-04-23  4:33 Robert Collins
  2002-04-23  9:52 ` The Cygwin Server Daemon Richard Troy
  0 siblings, 1 reply; 17+ messages in thread
From: Robert Collins @ 2002-04-23  4:33 UTC (permalink / raw)
  To: Richard Troy, cygwin



> -----Original Message-----
> From: Richard Troy [mailto:rtroy@sciencetools.com] 
> Sent: Tuesday, April 23, 2002 6:25 AM

> In doing this compliation and write up a lot of questions yet 
> remain for
> me. There are just a whole lot of loose ends. It's my casual 
> observation
> that the emails in the archive weren't as helpful and clear 
> to me as they
> might have been because the original email audience knows 
> each other and
> come from similar backgrounds so they don't need as many words to
> communicate an idea. Frankly, the code moved from losely 
> sketched concept
> to running code without much discussion of the architecture. I, on the
> other hand, need a little more detail to really get it.

That's a usual corollary of a single developer creating something. 
 
> The normal install with setup.exe didn't provide cygserver. 

Correct. This was stated in the development list: the source for
cygserver was only merged in post 1.3.10 being released, so no release
of cygwin has occurred with the cygserver built.

> When you say it
> does very little, I'm still left with the question, "Well, 
> what _does_ it
> do?" 

I already answered this.

> And, the new cygwin1.dll was _huge_ in comparison to the 
> previous 
> one. Is that because of debugging info?

Yes.
 
> Other important open questions include:
> 
> + Why doesn't the cygserver run, itself, as a server under NT 
> much as sshd 
> does?

Use cygrunsrv if you want this to happen.
 
> + If it's run by a normal user, how does this impart any 
> ability to change 
> user contexts? (When I asked about assigning privileges, I 
> got the short 
> answer, "What?")

Ah, that sort of privilege. Well as it isn't slated to perform user
context changes, that hasn't come up. It certainly could if it ran as a
user with the appropriate access, and the appropriate additional code
was added. 
 
> + Regarding my own hopeful use someday: What is a reasonable 
> approach to 
>   adding the honoring of the setuid (and guid) bit(s) in 
> image execution?

Review the _execve code. Create a cygserver message class for use in
that code, and use cygserver to create processes when the set[u|g]id bit
is set. Once the process is created cygserver should return the handle
that CreateProcess returns, and then the _execve code continues as
normal.
 
>   the file access occurrs to bring in the executable image, there's a 

Too low level - we don't directly map in the image ourself - we use
CreateProcess.


...
cygrunsrv doco - you should just reference the cygrunsrv man page IMO -
rather than recapitulating it in the cygserver doco.

> Server Children:
>  
> Regarding the question: Doesn't the implementation imply that 
> the server
> must spawn every process? Or at least be the caller of the 
> win32 to start
> the process and setup the process<->server communication channel? The
> answer is yes.

No. The answer is no. Any cygwin process can attach to the server. It
uses standard NT calls to identify the uid and gid of the process. 
  

Good work on the collation to date, keep it coming :}.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-04-25 12:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-24  5:08 Cygwin newbie needs help Craveiro, Marco
2002-04-24  8:50 ` Marcos Lorenzo de Santiago
2002-04-24  8:52   ` Larry Hall (RFK Partners, Inc)
     [not found] <229D7C0FE0BED311A0E800805F0DD471010D2DB8@wn01ex.wn.gb.solv ay.com>
2002-04-24  9:41 ` Larry Hall (RFK Partners, Inc)
  -- strict thread matches above, loose matches on Subject: below --
2002-04-24  9:00 Robinow, David
2002-04-24  9:46 ` Marcos Lorenzo de Santiago
2002-04-24 11:54   ` Andrew Markebo
2002-04-24 12:17     ` B. Joshua Rosen
2002-04-24 12:30       ` Andrew Markebo
2002-04-24 13:09         ` Larry Hall (RFK Partners, Inc)
2002-04-24 13:40           ` Andrew Markebo
     [not found]             ` <1019673838.11719.144.camel@saratoga>
     [not found]               ` <m3d6woop7b.fsf@flognat.myip.org>
2002-04-24 19:25                 ` B. Joshua Rosen
2002-04-24 10:17 ` B. Joshua Rosen
2002-04-24 10:54   ` Charles Wilson
2002-04-25  5:12     ` Dr. Volker Zell
2002-04-24  8:56 Craveiro, Marco
2002-04-23  4:33 The Cygwin Server Daemon - VERY LONG Robert Collins
2002-04-23  9:52 ` The Cygwin Server Daemon Richard Troy
2002-04-23  9:58   ` The cygwin " Christopher Faylor
2002-04-23 13:43     ` Cygwin newbie needs help B. Joshua Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).