public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Cygwin/X and Vista and UAC
@ 2010-02-10 17:01 Dr. M. C. Nelson
2010-02-16 14:24 ` Jon TURNEY
0 siblings, 1 reply; 6+ messages in thread
From: Dr. M. C. Nelson @ 2010-02-10 17:01 UTC (permalink / raw)
To: cygwin-xfree
I am trying to setup Cygwin/X for a Vista machine
After setting some executables to run as administrator, and then after
cleaning up some lock files and log files, the x server and applications can
be run by a user with administrator privileges.
BUT,
1) The x startup (by any method) throws a UAC prompt
2) A non-privileged user cannot get past the UAC prompt without the
administrator password
Perhaps some .manifest files would cure this?
Are there any other ways to allow a non-privileged user to run cygwin in
vista?
Thank you
M. C. Nelson
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin/X and Vista and UAC
2010-02-10 17:01 Cygwin/X and Vista and UAC Dr. M. C. Nelson
@ 2010-02-16 14:24 ` Jon TURNEY
2010-02-16 22:55 ` Dr. M. C. Nelson
0 siblings, 1 reply; 6+ messages in thread
From: Jon TURNEY @ 2010-02-16 14:24 UTC (permalink / raw)
To: cygwin-xfree; +Cc: mcnelson
On 10/02/2010 17:01, Dr. M. C. Nelson wrote:
> I am trying to setup Cygwin/X for a Vista machine
>
> After setting some executables to run as administrator
You shouldn't need to do this.
Isn't this the reason for your UAC prompt?
> and then after
> cleaning up some lock files and log files, the x server and applications can
> be run by a user with administrator privileges.
I think I understand the problem with the log file in this situation, and have
a patch (see [1]).
But the lock files should be removed when the X server is cleanly shutdown, so
there's some bit of information I'm missing here.
> BUT,
>
> 1) The x startup (by any method) throws a UAC prompt
> 2) A non-privileged user cannot get past the UAC prompt without the
> administrator password
>
> Perhaps some .manifest files would cure this?
I wasn't able to reproduce this problem doing some brief testing on W7 (I
don't have access to a Vista system right now)
There is a manifest embedded in the XWin application [2], but it doesn't do
anything to affect UAC at the moment.
Do you have some suggestion as to what you think it should contain?
> Are there any other ways to allow a non-privileged user to run cygwin in
> vista?
[1] http://sourceware.org/bugzilla/show_bug.cgi?id=9778
[2] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xwin/XWin.exe.manifest
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Cygwin/X and Vista and UAC
2010-02-16 14:24 ` Jon TURNEY
@ 2010-02-16 22:55 ` Dr. M. C. Nelson
2010-02-16 22:59 ` Larry Hall (Cygwin X)
0 siblings, 1 reply; 6+ messages in thread
From: Dr. M. C. Nelson @ 2010-02-16 22:55 UTC (permalink / raw)
To: cygwin-xfree
Okay, I agree we need better information. So, I think I want to start again
with a clean install. I understand that the procedure for removing cygwin is
to just delete everything. Does it create any registry entries that should
be deleted?
Thank you
-----Original Message-----
From: Jon TURNEY [mailto:jon.turney@dronecode.org.uk]
Sent: Tuesday, February 16, 2010 9:24 AM
To: cygwin-xfree@cygwin.com
Cc: mcnelson@mindspring.com
Subject: Re: Cygwin/X and Vista and UAC
On 10/02/2010 17:01, Dr. M. C. Nelson wrote:
> I am trying to setup Cygwin/X for a Vista machine
>
> After setting some executables to run as administrator
You shouldn't need to do this.
Isn't this the reason for your UAC prompt?
> and then after
> cleaning up some lock files and log files, the x server and applications
can
> be run by a user with administrator privileges.
I think I understand the problem with the log file in this situation, and
have
a patch (see [1]).
But the lock files should be removed when the X server is cleanly shutdown,
so
there's some bit of information I'm missing here.
> BUT,
>
> 1) The x startup (by any method) throws a UAC prompt
> 2) A non-privileged user cannot get past the UAC prompt without the
> administrator password
>
> Perhaps some .manifest files would cure this?
I wasn't able to reproduce this problem doing some brief testing on W7 (I
don't have access to a Vista system right now)
There is a manifest embedded in the XWin application [2], but it doesn't do
anything to affect UAC at the moment.
Do you have some suggestion as to what you think it should contain?
> Are there any other ways to allow a non-privileged user to run cygwin in
> vista?
[1] http://sourceware.org/bugzilla/show_bug.cgi?id=9778
[2] http://cgit.freedesktop.org/xorg/xserver/tree/hw/xwin/XWin.exe.manifest
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin/X and Vista and UAC
2010-02-16 22:55 ` Dr. M. C. Nelson
@ 2010-02-16 22:59 ` Larry Hall (Cygwin X)
2010-02-17 14:47 ` Dr. M. C. Nelson
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (Cygwin X) @ 2010-02-16 22:59 UTC (permalink / raw)
To: cygwin-xfree
On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:
> Okay, I agree we need better information. So, I think I want to start again
> with a clean install. I understand that the procedure for removing cygwin is
> to just delete everything. Does it create any registry entries that should
> be deleted?
<http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Cygwin/X and Vista and UAC
2010-02-16 22:59 ` Larry Hall (Cygwin X)
@ 2010-02-17 14:47 ` Dr. M. C. Nelson
2010-02-17 18:08 ` Larry Hall (Cygwin X)
0 siblings, 1 reply; 6+ messages in thread
From: Dr. M. C. Nelson @ 2010-02-17 14:47 UTC (permalink / raw)
To: cygwin-xfree, cygwin-xfree
There might be a very destructive error in the uninstall instructions:
3. Delete the Cygwin root folder and all subfolders. ....
The subfolders include /cygdrive/c/, etc.
-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Larry Hall (Cygwin X)
Sent: Tuesday, February 16, 2010 6:00 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Cygwin/X and Vista and UAC
On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:
> Okay, I agree we need better information. So, I think I want to start again
> with a clean install. I understand that the procedure for removing cygwin is
> to just delete everything. Does it create any registry entries that should
> be deleted?
<http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Cygwin/X and Vista and UAC
2010-02-17 14:47 ` Dr. M. C. Nelson
@ 2010-02-17 18:08 ` Larry Hall (Cygwin X)
0 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (Cygwin X) @ 2010-02-17 18:08 UTC (permalink / raw)
To: cygwin-xfree
<http://cygwin.com/acronyms/#TOFU> - Reformatted.
On 02/17/2010 09:46 AM, Dr. M. C. Nelson wrote:
> -----Original Message-----
> From: cygwin-xfree-owner at cygwin dot com [mailto:cygwin-xfree-owner at cygwin dot com] On Behalf Of Larry Hall (Cygwin X)
^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
> Sent: Tuesday, February 16, 2010 6:00 PM
> To: cygwin-xfree at cygwin dot com
^^^^^^^^^^^^^^^^^^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR> - Thanks.
> Subject: Re: Cygwin/X and Vista and UAC
>
> On 02/16/2010 05:54 PM, Dr. M. C. Nelson wrote:
>> Okay, I agree we need better information. So, I think I want to start again
>> with a clean install. I understand that the procedure for removing cygwin is
>> to just delete everything. Does it create any registry entries that should
>> be deleted?
>
> <http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all>
>
> There might be a very destructive error in the uninstall instructions:
>
> 3. Delete the Cygwin root folder and all subfolders. ....
>
> The subfolders include /cygdrive/c/, etc.
I suppose it's possible to try to delete everything in Cygwin with Cygwin via
'rm -rf /' but it wouldn't be a success even if your observation wasn't an
issue. But I agree if someone tried to do just that, then this is a potential
danger. So the FAQ could be more clear/instructive on this count. Care to
offer a patch for the documentation?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-02-17 18:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-10 17:01 Cygwin/X and Vista and UAC Dr. M. C. Nelson
2010-02-16 14:24 ` Jon TURNEY
2010-02-16 22:55 ` Dr. M. C. Nelson
2010-02-16 22:59 ` Larry Hall (Cygwin X)
2010-02-17 14:47 ` Dr. M. C. Nelson
2010-02-17 18:08 ` Larry Hall (Cygwin X)
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).