X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 15 Jun 2010 15:52:19 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: can't execute rundll32 Message-ID: <20100615135219.GW8163@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jun 15 15:33, Tomasz Kuc wrote: > I have problem with execute rundll32.exe user32.dll,LockWorkStation > via ssh connection. After execute command from remote machine (via > ssh) I can't lock workstation, but if execute rundll32 from local > machine (cygwin console) it is working. How to fix this problem? You can't. Your ssh session is not running in the desktop session so you have no permissions to lock the workstation. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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