Re: Cygwin/X and Vista and UAC

2010-02-16 Thread Jon TURNEY

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/



Re: Graphics not appearing in Gaussview 3

2010-02-16 Thread Jon TURNEY

On 09/02/2010 16:17, Jon Rhoad wrote:

I have been using the 1.5 version of cygwin/X installed in Windows XP to 
connect to a SLES9 server running Gaussview with little problem.  When I 
upgrade to 1.7 everything works fine except the graphics do not show in the 
Gaussview windows.  The only e-mail from the archive I found related to 
Gaussview is:
___
Dear Sir / Madam,

I need to use GView (a software for molecules visualization
constructed by Gaussian). An error occurs when I use the GView through
cygwin/X. "This error is that the GView appears in my desktop. However,
when I try to display a molecule, no molecule is observed in the window
of GView."

The Gaussian's reply is :

{{{ I see the following line in the setup,


xorg-x11-xwin-gl (761 KiB; optional, the Cygwin/X X Server with
***EXPERIMENTAL*** GLX acceleration)


and the fact that GaussView starts but does not show molecules, which
require GLX while the splash screen and the basic dialog windows to
not, can be the problem. Can you turn off the experimental GLX
acceleration? }}}

How can I do it?

Regards,

Patrick Pang
___
There was no reply to this e-mail that I could find.  I am not a programmer, 
just an end user, so please put any reply in layman's terms.  Thank you.


You are almost certainly not using "experimental GLX acceleration", which is 
the experimental XWin_GL.exe X server, as that hasn't been included in recent 
Cygwin/X releases and never in Cygwin 1.7.


So that is probably not the cause of your problem.

Unless you can reproduce your GLX problem with a free application, your best 
idea is to contact the supplier of the application you have a problem with for 
support.


--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/



Re: 1.7.1 - problem with moving mouse programmatically with xte

2010-02-16 Thread Radu Berinde
It's unfortunate that this problem hasn't been fixed and Cygwin/X 1.7
is now part of the stable distribution.

It's even more unfortunate that there's no way (none I could find
anyway) to install the older version which worked for me.

Radu

On Thu, Dec 17, 2009 at 9:37 AM, Radu Berinde  wrote:
> I am using Cygwin/X 1.7.1 and I am running applications on this X
> server from a Slackware virtual machine.
>
> I am using xte v1.03 to move the mouse using keyboard shortcuts. Using
> ion3 as the window manager.
>
> When running e.g.
> # xte 'mousermove +250 0'
> the mouse cursor should move to the right; indeed, the window manager
> changes focus as if moved to the right, but the cursor doesn't visibly
> move. When mouse is moved, movement continues from the visible
> location (the xte movement is 'forgot').
>
> I am starting the X server with this command (inside startx.bat file
> which is ran with bin/run.exe)
> XWin -ac -clipboard -silent-dup-error
>
> Note that the exact thing works perfectly with the stable 1.5 version.
> Hope this helps identify a problem. Thank you for developing Cygwin/X.
>
> Best,
> Radu
>

--
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/



RE: Cygwin/X and Vista and UAC

2010-02-16 Thread Dr. M. C. Nelson
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.tur...@dronecode.org.uk] 
Sent: Tuesday, February 16, 2010 9:24 AM
To: cygwin-xfree@cygwin.com
Cc: mcnel...@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/



Re: Cygwin/X and Vista and UAC

2010-02-16 Thread Larry Hall (Cygwin X)

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?




--
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/