This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: remotely executing windows applications


When you login to console you get desktop "winsta0\Default". When you login with ssh you get a totally different desktop, something with a numeric name. Programs inherit their parent desktop unless they take special steps to get another desktop. Even if they try to get another desktop permissions may not allow this.

If you mark a service as interactive (Control Panel/.../Services) then it will get the "winsta0\default". You can try setting ssh as an interactive service and winvnc will inherit the main desktop instead of the non-interactive one. 

Important: I have not tried this configuration. It may totally mess up the permissions on the console and you may have to reboot remote (look for psshutdown at http://sysinternals.com). It's better to test this while you are close to the computer running sshd.


----- Original Message ----- 
From: "Uwe Mayer" <merkosh@planet-interkom.de>
To: <cygwin@cygwin.com>
Sent: Thursday, October 10, 2002 12:33 AM
Subject: remotely executing windows applications


> I have sshd installed on my win2k box. Together with cygwin, of
> course. Recently I needed GUI access to my computer and after logging
> in via ssh I run "cygstart winvnc.exe". The application started, but
> did not show up in the system tray. However, it didn't accept
> connections - although it was started (ps -aW). I couldn't kill it
> though ("no such process").
> 
> Back at home I had the test: running "cygstart winvnc.exe" worked if I
> was not logged on vie SSH.
> 
> Why didn't winvnc start up correctly? How do I change that?
> 
> Thanks
> Ciao
> Uwe
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]