Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-id: Date: Tue, 02 Nov 2004 14:31:00 -0800 Subject: Re: Can I launch a graphical windows app from within a cygwin ssh session X-FC-SERVER-TZ: 6554336 To: cygwin AT cygwin DOT com From: "Mark Stuhr" References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Jason, thanks for the quick answer, unfortunately creates more questions. "DePriest, Jason R." on Tuesday, November 02, 2004 at 3:20 PM -0800 wrote: >On Tuesday, November 02, 2004 4:12 PM, Mark Stuhr wrote >[--cut some stuff--] >> launch a windows app that should run on that remote (or host, can >> never keep that syntax straight) box. (In other words a server runs >> an app most of the time, but not as a service. That app needs >> restarting for whatever reason and I'm on the road. I can dial in >> with my pocketpc and get an ssh session going to that server, at that >> point I'd want to kill that app, easy, then I need to restart that >> app so it will stay running on that server even after I disconnect my >> ssh session. >[--cut some stuff--] >> How do I do that??? > >I am not in a position to test it out right now. > >But what happens if you have the Cygwin SSH service on the remote system >set to interact with the local desktop? Cygrunsrv has a commandline >switch --interactive to set this when you install the service, but you >can also change it by looking at the service properties through the >Windows services applet. > That checkbox is only available when you are running as local system. In order to get the service to start reliably I had to switch the service to run as a particular user (chown wasn't working for some reason, couldn't change ownership of files necessary to get ssh service working, so changed service to run as owner of files (me.) So, if you think that running as local system with interact with desktop will work then I need to go back to the drawing board and get that working. Thanks Mark Stuhr Director of Inf. Tech. Nolo mark AT nolo DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/