Start monitor on diffrent computer
Posted: Sunday 10 March 2019 22:14
I want to start a monitor on another computer via SSH. I have now created two script for this and it works well if I run these trough the command shell but not via Domoticz script://display.sh do you have any ideas on why?
Filename display.sh
Filename exp
Filename display.sh
Code: Select all
#!/bin/bash
/home/pi/domoticz/scripts/exp sommar2013 ssh -t [email protected] xset -display :0.0 dpms force on
Code: Select all
#!/usr/bin/expect
set timeout 20
set cmd [lrange $argv 1 end]
set password [lindex $argv 0]
eval spawn $cmd
expect "assword:"
send "$password\r";
interact