This is the mail archive of the
mailing list for the Cygwin project.
RE: Unable to bring up netscape as any other user
- From: "Menon, Girish (MED, WIPRO-GE MED)" <Girish dot Menon at med dot ge dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Aug 2003 15:00:36 -0500
- Subject: RE: Unable to bring up netscape as any other user
Also, rather than going via command line, is there any other way I can
do the same setting (i.e. going via services and modifying the
properties of inetd)? Any arguments to cygrunsrv or inetd or modifying
From: Menon, Girish (MED, WIPRO-GE MED)
Sent: Wednesday, August 06, 2003 1:06 PM
Subject: RE: Unable to bring up netscape as any other user
Great. It worked.
Now I have a slightly differnt issue. If I try to bring up netscape
manually from the bash window, it comes up. But if I try to bring it up
as a background process, it does not work. In my code, I tried to spawn
a new netscape process, but that failed. When I modified my code to
instead call netscape directly, it comes up.
Here's a snippet of my code:
sprintf(shellExec, "%s/bin/sh.exe", getenv("SYSTEMDRIVE"));
// spawn new service browser
_spawnlp(_P_DETACH, shellExec, shellExec, "netscape.exe", NULL);
From: Igor Pechtchanski [mailto:email@example.com]
Sent: Wednesday, August 06, 2003 12:01 PM
To: Menon, Girish (MED, WIPRO-GE MED)
Subject: Re: Unable to bring up netscape as any other user
On Wed, 6 Aug 2003, Menon, Girish (MED, WIPRO-GE MED) wrote:
> Up until recently, I was using an older version of cygwin (1.3.10).
> the advent of the security patch for telnet, inetutils 1.3.23, I
> to upgrade my cygwin version to the latest (1.3.22) with the inetutils
> Ever since, I have been having some problems. I installed cygwin as
> Administrator. If I become some other user and try to bring up
> (which was also installed as Administrator), netscape does not come
> If I do a ps, I see the netscape task is running, but I am not able to
> see the browser.
> I am attaching the cygcheck output. Any suggestions on where I am
The netscape process would come up as a child process of the inetd
service. Therefore, the service should have interaction with desktop
enabled for you to see the netscape window. I've added an option for
to cygrunsrv, but inetd might not have one, so you'll have to go into
services panel and edit the properties of the inetd service to enable
that. Just check the "Allow service to interact with desktop" checkbox.
Hope this helps,
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html