This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cygwin/X and Vista and UAC


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]