delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/28/22:02:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Giving interact with desktop permission to cyg_server
Date: Wed, 28 Mar 2012 19:02:04 -0700
Lines: 27
Message-ID: <jl0fqv$1ht$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I've set up ssh on some Windows 2003 and 2008 servers. These servers are 
intended to be used to build software and the like driven by using 
Cygwin's OpenSSH. Largely it works well, however...

One process that fails is a Perl process that opens an Excel spreadsheet 
using OLE. Note that it does not actually open a window or at least not 
a visible window, but rather it reads data out of the Excel spreadsheet. 
Excel does run in the background.

So, when we ssh into one of these servers and attempt to run this Perl 
process the open of the Excel spreadsheet fails. I suspect the problem 
is that even though it doesn't show an open window it does interact with 
the desktop (seems dumb to me). So I'd like to bestow interact with 
desktop right to the sshd service. You can do that if you use a Local 
System account but Cygwin requires the setting up of another user, 
cyg_server, to have sshd run as in order for ssh to work properly. How 
then do I bestow on the cyg_server user the right to interact with the 
desktop?

I see this - http://sourceware.org/ml/cygwin/2010-04/msg00728.html - in 
which Larry says "MS removed that feature in Vista so...". Does this 
mean I'm hosed? There still seems to be an Interact with Desktop toggle 
for Local System...
-- 
Andrew DeFaria <http://defaria.com>
One of the great tragedies of life is the murder of a beautiful theory 
by a gang of brutal facts. - Benjamin Franklin


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019