Closed iandobbie closed 1 year ago
Possibly, but Windows doesn't come with an ssh server, so we'd need to install one and figure out what permissions to give it. (This is why I wrapped the old device remotes in a Windows service.)
Are you suggesting this as a solution for CryoSIM only? Or are you suggesting we create something general enough for all cases of microscope users?
It was pretty obvious that the startup from scratch process is hard and it would be nice to have a mechanism that could start all the remote deviceservers from one command. This would be useful on Cryosim, but also any other system which requires servers on multiple computers. In the mean time the solution is I guess rdp and batch files on the desktops.
To start all the servers, there's systemd and sysinitv on linux and windows services on windows. deviceserver works with all of those. I guess we should write documentation for that though, even though that's not technically microscope documentation.
Our Abberior STED uses a Ethernet remotely controlled power supply. It is a beauty!!
Upon quiting the software is asking if you also want to shut down the hardware. If you star again devices that are on are showing that they are on.
I believe it is something like this: https://www.apc.com/shop/us/en/products/Rack-PDU-Switched-2U-30A-208V-16-C13/P-AP7911B
Great idea but slightly different from the original issue. I think we should close this as the rdp solution kind of works and I cant think of any other cross platform solution. Maybe future windows system for linux will give us SSH but I dont hold out much hope
On CryoSIM yesterday it was pretty clear we need a better startup process. I haven't been on the system in a while and needed to work out what was where and start individual deviceservers.
Could we knock up a basic ssh script which would do
ssh host1 screen -d -m ' deviceserver config1.py' ssh host2 screen -d -m 'deviceserver config2.py' etc....
then we could have it as a batch file, or shell script on the master computer.