Cygwin/X and Vista and UAC

Jon TURNEY jon.turney@dronecode.org.uk
Tue Feb 16 14:24:00 GMT 2010


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/



More information about the Cygwin-xfree mailing list